This function filters a given issue list by the provided status categories.


filterByStatusCategory(issueList, statusCategories) #Output: Issue list



Parser expressionDescription


filterByStatusCategory(linkedIssues("is blocked by"), "New, In Progress")


This example returns the issue list of blocking issues in statuses with categories New or In Progress.

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()).
statusCategories

A text with a status category name. Several status categories 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=>["To Do"].includes(i.status.category.name))







Status
Tech review

Style guide




Short description

Filters a given issue list by status category.

Output

Available since

Label