...
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This is the documentation of JSU for Jira Cloud. If you are using JSU on Jira Server or on Jira Data Center, see the Server/Data Center documentation. |
Configuration of
...
preconditions
Preconditions allow you to execute a post function under certain circumstances only; essentially they are conditions for the post function component of your rule. This allows you to create complex behaviour behavior on your post functions, enabling Jira to work harder for you.
JSU for Jira Cloud 's preconditions are a part of the post function section in Jira's workflow configuration. In the example below, a precondition is added to the Clear Field Value post function.
Choose your
...
precondition
Click the "Add Precondition" button and insert the precondition In the post function configuration page, select Add Precondition then select Add for the precondition that you want to evaluate.
The following Preconditions preconditions are available:
Child pages (Children Display) |
---|
Combine
...
multiple preconditions
You can insert multiple preconditions and combine them using the following operators:
- AND: Previous result and current result must be true
- OR: Either the previous result or current result must be true, or both
- AND NOT: Previous result must be true, the current result must be false
- OR NOT: Either the previous result must be true or current result must be false, or both
They are evaluated sequentially, combining the result of the previous precondition with the result from the current one. Parentheses to configure define precedence are not supported.
...
You can also disable the precondition by unchecking the enabled flag next to the delete button. This will leave the precondition in your configuration, but it will be ignored.
The
...
post function setting
Your post function is always aware of the preconditions you configured. However, however, you still need to select whether you want the precondition to be true
or false
for the function to be executed.
...