Overview
The Conditional Rules Administration screen looks like as follows:
The Conditional Rules Administration screen allows you to add, edit, delete and review your Conditional Rule configurations.
Furthermore, when moving the mouse upon the data under the Assigned Template, Assigned Mapping, Assigned Issues columns , a window, detailing when the Conditional Rule is applied, shows up.
Preliminary setup
Before you can create Conditional Rules, you must set up Conditional Rule Main Settings.
- Click Main Settings on the top of the Conditional Rules Administration screen.
On the Conditional Rule Settings screen, fill the User field with an username that the add-on can use to evaluate the conditional rule.
When updating the selected user, the add-on remove the update the permissions accordingly.
The add-on will grant the selected user browsing privileges on any project.
How to create a Conditional Rule
Click Add Conditional Rule to create a new Conditional Rule
- Fill the fields showing up on the Conditional Rule Configuration screen
- Rule Name (Required, Not editable)
- Conditional Rule (Required), the fields expects a valid structured queries using the JIRA Query Language (JQL)
- User used to evaluate the conditional rule
choose the option Super User, if you want that the Conditional Rule is evaluated via the credential of the user selected on the Conditional Rule Settings (Default)
choose the option Current User, if you want that the Conditional Rule is evaluated via the logged user credentials
- choose the option Reporter, if you want that the Conditional Rule is evaluated via the reporter credentials
- choose the option Assignee, if you want that the Conditional Rule is evaluated via the assignee credentials
- choose the option Project Lead, if you want that the Conditional Rule is evaluated via the project lead credentials
select a single user picker custom field, if you want that the Conditional Rule is evaluated via the user selected on the selected user picker Custom Field.
If the selected User used to evaluate the conditional rule is null (e.g. reporter= Anonymous, assignee=Unassigned, current user =null, user selected on the user picker Custom Field=null) the condition will return false.
- Click the hand lens to to validate JQL syntax. A window let you know if the Conditional Rule is valid.
- Click Save.
Editing a Conditional Rule
You are able to update an existing Conditional Rule.
The majority of the filled fields can be updated, exception made for the Rule Name.
Deleting a Conditional Rule
When deleting a Conditional Rule not yet associated to any Approval Mapping, Single Issue Approval configuration or email Template, the application doesn't ask to confirm.
If it exists any configuration requiring the Conditional Rule , the application asks to confirm.