This function filters a given issue list by the provided status categories.
filterByStatusCategory(issueList, statusCategories) #Output: Issue list
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
issueList
statusCategories
This function returns an
let list = issue.links.map(l=>l.linkedIssue); list.filter(i=>["To Do"].includes(i.status.category.name))
Filters a given issue list by status category.