unscheduleJob

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 !

Availability

This routine is available starting with Power Scripts™ for Jira 3.0.8.

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

Syntax

unscheduleJob(jobKey)

Description

Un-schedules a job.

Parameters

Parameter name

Type

Required

Description

jobKey

string

Yes

The job key.

Return type

none

The returned value has no meaning.


Example

for(string jobKey in getScheduledJobKeys()){
    unscheduleJob(jobKey);
}

The SIL™ script above deletes all the scheduled jobs.


See also