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

Syntax
filterByIssueType(issueList, issueTypes) #Output: Issue list
Examples
Parser expressionDescription
filterByIssueType(subtasks(), "Sub-task")

This example returns the list of sub-tasks with  issue type Sub-task.

To achieve this, the following functions are used:

filterByIssueType(linkedIssues(), "Task, New Feature")

This example returns a list of linked issues with issue types Task and New feature.

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.

Additional information

Parameters used in this function

ParameterInput (data type)Description
issueList

ISSUE LIST

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

TEXT

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

This function returns an ISSUE LIST

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


Use cases and examples