Enter a JQL query, if the current issue would be returned by the query, the condition is allowed. This is less flexible but possibly simpler to use than the simple scripted condition if you don’t have a programming background.

Before adding the query to your workflow you can test it by going to Admin → Built-In Scripts → Allows the transition if this query matches a JQL query. Enter the query and a sample issue key.

This is reasonably efficient even if the query would return millions of issues, as the query will be modified to something like:

{issue = 15130} AND {issuetype = "Task"}
GROOVY