Versions Compared

Key

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


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

This routine is available for Jira server and cloud deployment options.
Info
titleAvailability
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getScheduledJobKeysByScript(path[, args])

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
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
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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)
showLabelsfalse
max25
showSpacefalse
cqllabel = "schedulerschedule_routines"routine" and space = currentSpace ( )
labelsschedulerarray_routines