(8.15.X) Using Projectrak in Jira workflows
To give Projectrak more functionality and expand its scope, we have included the possibility of adding conditions (Projectrak value condition) and validations (Projectrak value validator) to Jira workflows.
Adding Projectrak value condition to Jira workflows.
To add a Projectrak value condition to a Jira workflow:
1. Log in as a user with Jira administrator permissions.
2. Go to: 'Administration' > 'Issues' > 'Workflows'.
3. Follow Atlassian's instructions to add a new condition.
4. In the Add new condition to transition window, select Projectrak value condition from the list and click on Add.
5. In the Add parameters to condition window, add the parameters to the condition, specifying the:
- Name of the Projectrak field.
- Operator (= or !=)
- Value to be validated based on the operator. (The text is case sensitive)
In the example shown, the transition will only be executable if the 'Projectrak status' is 'Open'.
6. Click on Add to save the changes and return to the previous screen. The new condition will now be shown on the list of conditions
Adding Projectrak value validator to Jira workflows.
To add a Projectrak value validator to a workflow:
1. Log in as a user with Jira administrator permissions.
2. Go to: 'Administrator' > 'Issues' > 'Workflows'.
3. Follow Atlassian's instructions for adding a validation to a workflow.
4. In the Add validator to transition window, select Projectrak value validator from the list and click on Add.
5. In the Add parameters to validator window, add the parameters to the validation, specifying the:
- Name of the Projectrak field.
- Operator (= or !=)
- Value to be validated based on the operator. (The text is case sensitive)
In the example shown, the transition will only be executable if the 'Projectrak status' is 'Open'.
6. Click on Add to save the changes and return to the previous screen. The new validation will now be shown on the list of validations.
Adding Projectrak script to Jira workflows
For conditions, validations and post-functions you can use a script whenever you need to do advanced configuration:
Condition
Validation
Post-function
In all cases run your own groovy script from a file o entered into Jira: