This function filters a given issue list by the provided issue types.
Syntax
filterByIssueType(issueList, issueTypes) #Output: Issue list
Use cases and examples
Use case |
---|
No content found. |
This function filters a given issue list by the provided issue types.
filterByIssueType(issueList, issueTypes) #Output: Issue list
Parser expression | Description |
---|---|
%{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. |
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()). |
issueTypes | TEXT | A text with an issue type. Several issue types can be provided as comma separated list. |
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 case |
---|
No content found. |
Powered by Atlassian Confluence 8.5.7, themed by Refined 7.5.3 and Decadis AG