This function filters the given issue list by the provided statuses.
Bash
filterByStatus(issueList, statuses) #Output: Issue list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns the issue list of blocking issues in statuses Open, Reopened or In Progress. To achieve this, the following functions are used: |
|
Bash
|
This example returns an issue list with all sub-tasks that are in status Done. To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
issue list |
Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()). |
|
|
text |
Any given status name. Several statuses can be provided as comma separated list. |
Output
This function returns an issue list
(books) Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|---|---|---|---|---|
| Transition parent issue to another status |
|
Transition issue | filterByStatus() subtasks() |