...
Write your required JQL expression and choose one option for the number of issues found. For example:
...
, Number of issues must > 2.
...
For information on how to configure a check for a workflow transition in Jira, see the Jira documentation.
...