Status
Tech review

Style guide




Short description

Filters a given issue list by issue types.

Output

Available since




This function filters a given issue list by the provided issue types.


filterByIssueType(issueList, issueTypes) #Output: Issue list



Parser expressionDescription


filterByIssueType(subtasks(), "Bug, Improvement, New Feature")


This example returns the list of sub-tasks with issue types Bug, Improvement or New Feature.

To achieve this, the following functions are used:


filterByIssueType(linkedIssues(), "Task")


This example returns a list of linked issues with issue type Task.

To achieve this, the following functions are used:


filterByIssueType(linkedIssues(), issueType(10001))


This example returns a list of linked issues with the issue type id 10001.

The function issueType() resolves the provided ID and parses the issue type name.

This way the function will still work even if the issue type name might change at some point.




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

A text with an issue type. Several issue types can be provided as comma separated list.



This function returns an .

If the provided issue list is empty or there is no issue with the given issue type, the function returns an empty .