Skip to end of banner
Go to start of banner

runJobAt

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Availability

This routine is available since Power Scripts for JIRA (formerly known as JJUPIN) 3.0.8 .

Syntax:

runJobAt(silFile, args, date)

Description:

Runs a job at the specified date.

Parameters:

Parameter name

Type

Required

Description

silFile

string

Yes

The sil file name.

args

array string

Yes

The list of the arguments of the job.
date

date

Yes

The date-time you wish the job to run. Must be in the future

Return type:

none

The returned value has no meaning.

Example:

date varDate = "2015-08-20T18:30:55";
runJobAt("script.sil", {project, key}, varDate);

The example above will create a job that will run the sil script at the date specified.


In "script.sil" you can access the args using the next syntax:

string issueKey = argv[1];

 

See Also:

 

  • No labels