filterByStatus()

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

Bash
filterByStatus(issueList, statuses) #Output: Issue list

Examples

Parser expression

Description

Bash
%{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:

Bash
%{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:

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

issueList

issue list

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

statuses

text

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

Output

This function returns an issue list


📚 Use cases and examples