Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !


Info
titleAvailability

This routine is available since jjupin 4starting with Power Scripts for Jira 4.0.0.

This routine is available for Jira server and cloud deployment options.

Syntax

...

getScheduledJobKeysByScript(path[, args])

Description

...

Excerpt
Returns the list of scheduled jobs keys by the path of the script they use and the optional parameter args.

 

Parameters

...

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

...

string[]

Returns the list of the scheduled jobs 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)
showLabelsfalse
showSpacefalse
cqllabel = "scheduler_routines"
labelsscheduler_routines