Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
PanelbgColor#f5f5f5titleColor#ffffffborderWidth0titleBGColor#000000titleJSU for Jira Cloud
Info

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 Query' 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.

Tip

Check out our tips below.



Configuration

You must write the 'JQL Query' and choose one option about the number of issues found. For example:

With this precondition, the post function will only be executed for bugs.
You won’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 information on how to configure workflows in Jira, see the Jira documentation.

Examples

See the JQL Use Cases for several examples.

How to write JQL Query

Include Page
JQL Reference
JQL Reference

Supported Field Types

Include Page
Supported Field Types
Supported Field Types