linksHierarchyFilter

linksHierarchyFilter

linksHierarchyFilter

It takes a saved filter is as input, executes it, takes all the root issues, builds the hierarchy structure of linked issues, applies the filter parameters and collects all the different issues into a list.

#

Name

Type

Required

Values

Description

1

Filter

String

Yes

 

A filter name or ID

2

depth

Integer

No

Integer between 1 and 5

Limits the depth of the hierarchy structure. Default is 1.

3

Link direction

String

No

'Inward' or 'outward'

Excluded link direction

4

Link type

String

No

The link type name

List of the excluded link types separated by comma

5

Issue type

String

No

The issue type name

List of the excluded issue types separated by comma

6

Version name

String

No

The version name

The name of the versioned issues to exclude. It applies to the affects and fix version issue fields.

7

Resolved

String

No

Yes or No

Yes: include the resolved issues (default)
No: exclude the resolved issues

Examples

we take the following data as an example:

 

issues in the 'FLT_MIN' filter

links Hierarchy of LH-2 (depth 2)

links Hierarchy of PUB-90 (depth 2)

#Example 1: 

Get the links hierarchy of level 2 for the 'FLT_MIN' filter.

#Example 2: 

Get the links hierarchy of level 2 for the 'FLT_MIN' filter, excluding the resolved issues.

Result:

  • LH-2: filtered because it is resolved. By filtering LH-2, their descendants are not collected.

#Example 3: 

Get the links hierarchy of level 2 for the 'FLT_MIN' filter, excluding the link type 'Nombre de Épica'.

Name of the link type

The name of the link type will depend on the language you have configured in your Jira. To know the name, visualize the 'Link' filter.

 

  • PUB-8: filtered by link type.

  • LH-3: not filtered by link type. By filtering LH-3, their descendants are not collected

 

 

 

 

 

 

 

#Example 4: 

Get the links hierarchy of level 2 for the 'FLT_MIN' filter, excluding Tasks, Subtasks and Iniciatives.

Issue types

The names of the issue types depend on the language you have configured in your Jira. To know the name, visualize the 'Issue' filter.

 

 

  • PUB-90: filtered by issue type. By filtering PUB-90, their descendants are not collected.

  • LH-6: filtered by issue type

 

 

 

 

 

 

 

Contact us in case of any questions support@marketplace.expert