On this page
Use case
In the following use case we use a JWT JQL function in order to retrieve all issues which belongs to the projects PLAT and TIS, which are in status "Waiting Review" and whose "Needed testing" field is "Integration", not that it contains it.
Configuration
Use the following JQL:
issue in issueSelection("project in (TIS, PLAT) AND status = 'Waiting Review' ORDER BY key DESC", "%{issue.cf13900}=\"Integration\"")
Details to keep in mind
To set the subquery, it is recommendable to test it before in the Issue Navigator to make sure that it is correctly written and that it returns the expected.
The less issues returned by the subquery, the faster the function will be executed, so the more precise with the subquery, the better.
Both the subquery and the logical expression cannot include double quotations, they should include the following instead:
- In the subquery include ' instead of ".
- In the logical expression there should be written \" instead of ". Logical mode
Screenshots
Related use cases
If you still have questions, feel free to refer to our support team.