You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

This function filters a given issue list by the provided project categories.
Syntax
filterByProjectCategory(issueList, projectCategories) #Output: Issue list 
Examples
Parser expressionDescription
filterByProjectCategory(linkedIssues(), "Development, Production") 

This example returns the issue list of linked issues belonging to projects in categories Development or Production.

To achieve this, the following functions are used:

filterByProjectCategory(linkedIssues("blocks"), "Customer support") 

This example returns an issue list of blocked issues belonging to projects in category Customer support.

To achieve this, the following functions are used:

filterByProjectCategory(linkedIssues(), projectCategory(%{issue.project.key})) 

This example returns an issue list of linked issue that are in the same project category like the current issue.

To achieve this, the following functions are used:

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

TEXT

A text with a project category. Several categories can be provided as comma separated list.
Output

This function returns an ISSUE LIST