This is the JSU for Jira Cloud documentation. If you are using JSU on Jira Server or Data Center, see our Server/Data Center documentation.
Description
The 'JQL' precondition compares the number of issues returned from the JQL query against predefined conditions like:
Find at least one issue
Must not find any issue
Compare with a particular number
Some of the simple things you would do with the JQL Precondition, you might also achieve with the Value Field Precondition. Choose the approach that is the simplest for you and your Jira admin colleagues.
Configuration
You must write the JQL query and choose one option for the number of issues found. In the example below, the post function will only be executed for bugs. You don’t need a separate workflow (and special workflow scheme configuration) when you only want one post function to perform differently for a particular issue type.
For tips on using JQL with JSU, see JQL Reference.
Examples
See the JQL Use Cases for several examples.
Supported field types
JSU supports many different field types; system fields, as well as custom fields.
You should be aware, however, that not all field types or all combinations are supported. We have tried to cover the most important field types but we are continuously adding more and improving how different field types are supported. We recommend you test JSU with fields to see if it is compatible with your system. Our evaluation license provides you with a 30-day free trial.