Skip to end of banner
Go to start of banner

JQL Precondition

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 31 Next »

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.

Example of the JQL precondition as described on this page.

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. 

  • No labels