This function filters the given issue list by the provided statuses.


filterByStatus(issueList, statuses) #Output: Issue list



Parser expressionDescription


filterByStatus(linkedIssues("is blocked by"), "Open, Reopened, In Progress")


This example returns the issue list of blocking issues in statuses Open, Reopened or In Progress.

To achieve this, the following functions are used:


filterByStatus(subtasks(), "Done")


This example returns an issue list with all sub-tasks that are in status Done.

To achieve this, the following functions are used:



Parameters used in this function

ParameterInput (data type)Description
issueList

Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()).
statuses

Any given status name. Several statuses can be provided as comma separated list.



This function returns an



Use cases and examples



Parser function cloud
Map(question)
Notes

Workaround

let list = issue.links.map(l=>l.linkedIssue);
list.filter(i=>["Backlog", "Selected for Development"].includes(i.status.name))







Status
Tech review

Style guide




Short description

Filters a given issue list by issue status.

Output

Available since

Label