Versions Compared

Key

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

...

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

The You can access the SIL Scheduler page can be accessed from Administration → Administration > SIL Scheduler.

Image Removed

The first column contains the full

Image Added

Scheduler page columns

ColumnDescription
ScriptFull path to the script and the arguments

...

if they exist

...

ScheduleEither the interval on which the script should run or the

...

CRON expression interpreted

...

Next RunDate and time of the next run

...

Runs asUser to impersonate when running the script

...

OperationsPossible operations to do with a scheduler (delete, in our case)

...

Managing

...

SIL™ Scheduler

The SIL SIL™ Scheduler feature allows users enables you to run SIL SIL™ scripts after a valid JIRA Jira interval or using a CRON expression.

Since Power Scripts for JIRA (formerly known as JJUPIN) 4Starting with version 4.0.0 of Power Scripts™, the jobs are persistent (that is they are kept alive towards JIRA Jira restarts). Please You can read about scheduling jobs here: Scheduling Routinesroutines. Since this This mechanism uses the same scheduling engine, thus the same notes apply.


Each scheduled job has the following properties:

  • Scheduler type - either interval or CRON expression
  • Schedule - a valid JIRA Jira interval or a CRON expression
  • Repeatable - if you use a JIRA Jira interval, you can choose if define whether the job repeats should repeat at the specified interval
  • Script - the SIL Script that will run using the schedule defined by the userthat you define
  • Arguments - the job arguments of the job
  • Run script as - the user assumed to run the script (if any)

...

  • if specified, the script will run as if by this user


Image Added


To schedule a CRON job, change the type to '"CRON' " and enter a valid schedule (Quarts CRON expression)Image Removed.

Note

The Quarts Cron expressions also considers the seconds, unlike the traditional Cron expressions:


SIL Scheduler: Sec Min Hour Day Month Day of Week

Traditional Cron: Min Hour Day Month Day of Week


Image Added

Info
titleInfo

To edit the actual scripts, please use the SIL SIL™ Manager.

After saving the added job, a new entry is added to the table from on the administration page.Administration page.

Warning
titleNo user provided

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 4Jira v4.0 - all your scripts will be migrated to the scheduler, since because it provides a more flexible mechanism. 

See also