Warning |
---|
Looking for the documentation on the newest versions of Power Scripts for Jira 8 for Server/Data Center? Click here ! |
Contents
Table of Contents |
---|
...
SIL Scheduler Page
You can access the SIL™ Scheduler page from Administration > SIL Scheduler.
Scheduler page columns
Column | Description |
---|---|
Script | Full path to the script and the arguments if they exist |
Schedule | Either the interval on which the script should run or the CRON expression interpreted |
Next Run | Date and time of the next run |
Runs as | User to impersonate when running the script |
Operations | Possible operations to do with a scheduler (delete, in our case) |
Managing
...
SIL™ Scheduler
The SIL SIL™ Scheduler feature enables you to run SIL SIL™ scripts after a valid Jira interval or using a CRON expression.
Starting with version 4.0.0 of Power ScriptsScripts™, the jobs are persistent that is they are kept alive towards Jira restarts. You can read about scheduling jobs here: Scheduling routines. This mechanism uses the same scheduling engine, thus the same notes apply.
...
To schedule a CRON job, change the type to "CRON" and enter a valid schedule (Quarts CRON expression).
Note |
---|
The Quarts Cron expressions also considers the seconds, unlike the traditional Cron expressions:
Traditional Cron: Min Hour Day Month Day of Week |
Info | ||
---|---|---|
| ||
To edit the actual scripts, please use the SIL™ Manager. |
After saving the added job, a new entry is added to the table on the Administration page.
Warning | ||
---|---|---|
| ||
Please keep in mind that if no value is provided in the Run this script as textfield, the script will run with no user. Therefore, the script will NOT have the required permissions to interact with Jira tickets, unless the project allows for anonymous access or the script explicitly calls out the user to use within in the script using the runAs routine. It is highly recommended to provide a user to the scheduled job when interacting with Jira tickets. |
Note |
---|
We have removed standard services from Power Scripts Scripts™ for Jira 4v4.0 - all your scripts will be migrated to the scheduler, since because it provides a more flexible mechanism. |