Dynamic link filters

The list of selectable issues can be restricted and pre-defined even more. As we know, selectable issues are already defined by a JQL expression in the Data Logic configuration. Each advanced link has a ‘Parent link field’ tab, where additional filters can be configured and applied.

This configuration also comes in handy, when the field is associated with several issue types in regard to the context and when a particular issue type requires a particular configuration.

Context filters

Example

The advanced link field is associated with two issue types: ‘Software’ & ‘Product’.

Requirement: when an issue is linked via the ‘Active subscription’ field, selectable issues should match a certain JQL condition. Those conditions are different for the ‘Software’ & ‘Product’ issue types.

Action: two context filters are configured (see screenshot), where JQL conditioned are associated with specific issue types.

'Project & type' configuration example

Result: when user clicks on the icon for the advanced link field in ‘Software’ issue type, then the search results contain only issues that:

  • JQL filter status = Inactive (as per Parent field filter configuration)

  • JQL condition from the ‘Data Logic’ tab (see screenshot below)

‘Data logic’ configuration page for the Advanced Links field

Sum up: ‘Parent Field Filter’ is a configuration that allows to add and specify selectable issues, available for linking in the Advanced Link field.

Another Advanced Link field can be selected as a part of the filter configuration, i.g. part of the condition under which the filter is applied.

The configuration suggests selecting an Advanced Link.

Then click ‘Add dynamic filter’.

The next step requires defining the ‘Parent field values’: a JQL query that is checked against current values (linked issues) in the field.

If the condition checks out, the ‘Applied filters’ query will filter the selectable issues in the current field (also together with the query from ‘Data logic’ tab).

 

© 2023, STAGIL