This function filters a given issue list by the provided issue types.
filterByIssueType(issueList, issueTypes) #Output: Issue list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns the list of sub-tasks with issue type Sub-task. To achieve this, the following functions are used: |
|
Bash
|
This example returns a list of linked issues with issue types Task and New feature. To achieve this, the following functions are used: |
|
Bash
|
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
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
Issue list |
Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()). |
|
|
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
| Use case | Workflow function | Parser functions |
|---|---|---|
| Validate only issue links created in transition screen |