Info |
---|
|
This routine is available starting with Power Scripts for Jira 4.0.0.
This routine is available for Jira server and cloud deployment options. Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | getScheduledJobKeysByScript(path[, args]) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns the list of scheduled jobs keys by the path of the script they use and the optional parameter args. |
Parameters
Returns the list of scheduled jobs keys by the path of the script they use and the optional parameter args.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
path | |
...
String | Yes | The path of SIL file used by job. | args | array string | No | The list of the arguments of the job. |
|
...
Return
...
Type
stringString []
Returns the list of the scheduled jobs keys keys by the path of the script they use and the optional parameter args.
Example
Code Block |
---|
string[] args = {issueType, project};
runnerLog("The jobs keys are : " + getScheduledJobKeys("test.sil", args));
|
The example above will return the list of all scheduled jobs keys that match the path and arguments provided.
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "schedulerschedule_routines"routine" and space = currentSpace ( ) |
---|
labels | schedulerarray_routines |
---|
|