Skip to end of banner
Go to start of banner

Dynamic JQL placeholder

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

Version 1 Next »

The currentIssue() placeholder can be used to reference a field value from the current issue. To reference a field, put it’s name or ID in the function argument:

Screenshot from 2025-01-21 10-56-24.png

This placeholder will be substituted in the edit mode of the field. Because the function doesn’t actually exist and Jira doesn’t know how to parse it, it won’t be possible to preview the number of issues found by it in the configuration (it will show 0).

Below are a few examples of what can be done using JQL placeholders:

System field “reporter”

Only issues by the same reporter are shown.

Screenshot from 2025-01-21 10-56-24.png


System field “project”

Only issues from the same project as the current issue will be shown.

Screenshot from 2025-01-21 11-03-37.png


System field “labels”

Only issues where the labels match one of the labels in the current issue. Note the usage of extra brackets around the placeholder; value of labels is an array which requires the IN operator to be used and the value limited by brackets.

image-20250121-103159.png


Single select custom field

Only issues having the same value of a custom field as the current one will be shown.

image-20250121-100727.png

The currentIssue() placeholder won’t work in the Create issue screen. To maintain usability of the field in the Create issue screen, there is now an optional setting in the Linksy field configuration to use a different JQL filter for the Create issue screen.

image-20250122-154228.png

  • No labels