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
maxLevel3
excludeSee also

One of the best features in Power Scripts is customizing workflows. Using the power of SIL, you can add conditions, validators, and post functions on any transition from your workflow.

Writing validators, post functions, and conditions

...

titleNote

...

After you install Power Scripts for Jira, go to the Administration > Workflows page and create a workflow, associated with a project.

...

An important consequence of the above model is that conditions and validators should not have side-effects. In fact, Power Scripts for Jira is discarding modifications of the issues, allowing them to occur in the post function only but it cannot discard modifications made on another database, for instance, applied using the sql routine (see sql() routine for details).

To create conditions, validators and post functions, click the corresponding Add link at the top of the workflow management tab.

Note
titleNote

For the cloud version for conditions and validators see Cloud Conditions and Validators

The following image shows the creation of a test post function.

...

Info
titleInfo

Starting with Power Scripts for Jira 4.0, your SIL program will be saved either on the disk in the folder specified in the configuration or in the database. The filename is obtained by removing any invalid characters from the program name you entered and appending a number to help you browse through different versions of the same file.

...