This function returns the issue list of issues returned by the specified JQL query. Visibility restrictions (permissions and issue security) might apply. By default this query will be run as the current user.
We suggest using this function for performance reasons when the number of issues to be retrieved or filtered is very high (e.g. all issues in a project or in status) instead of functions like:
Bash
issuesFromJQL(jqlQuery) #Output: Issue list
Variant where you additionally can specify a user which will execute the JQL query.
Bash
issuesFromJQL(jqlQuery, userName) #Output: Issue list
📚 Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|---|---|---|---|---|
| Sum of field value from issues in JQL query |
|
Number | sum()
issuesFromJQL() |
||
| Number of issues in the same version |
|
Number | |||
| Create issue link when issue is created |
|
Create issue link action | issuesFromJQL() | ||
| Prioritize the issues globally |
|
indexOf() previousValue() issuesFromJQL() | |||
| Prevent issue creation with the same field value (Boolean) |
|