filterByProject()

This function filters a given issue list by the provided project keys.


Bash
filterByProject(issueList, projectKeys) #Output: Issue list


Examples

Parser expression

Description

Bash
filterByProject(linkedIssues(), "CRM, HR")

This example returns a list of linked issues belonging to projects with keys CRM or HR.

To achieve this, the following functions are used:

Bash
filterByProject(linkedIssues("blocks"), "SUPPORT")

This example returns a list of blocked issues in project SUPPORT.

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

).

projectKeys

text

A text with project keys. If several project keys should be checked, they have to be provided as a comma separated list.

Output

This function returns an issue list


📚 Use cases and examples