Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Filter Results Gadget : display only specific linked issues

Simon M.
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 29, 2020

Hi,

I'm struggling with the Filter Results Gadget in JIRA. I'd like to display in it only specific linked issues.

Let's say in a simple example that :

Issue A is linked to issues B and C. Issue B has label "1" and issue C has label "2". 

I'd like in a Filter Results Gadget to display Issue A with only its linked issues with label "1".

For the moment, in this gadget I can only display issue A with all the linked issues to it, whether they have the label "1" or "2".

 

More generally, is there any way to display only linked issues with specific attributes (status, label, etc) ?

 

Is there any way to achieve that ? 

Thank you,

1 answer

1 accepted

0 votes
Answer accepted
Laura Holton _ACE Rotterdam_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 29, 2020

Hi @Simon M. ,

Say if your project has the project ID of ABC, the jql would follow this format:

project = ABC AND issue in linkedIssues(ABC-4) AND labels = "1"

The issue in linkedIssues(ABC-4) section is what displays all issues linked to ABC-4 (in your scenario, issue A), and then this can be filtered down further by adding an AND statement to filter this list of linked issues to those which have a label of 1.

And of course 'labels' can be replaced by whatever you are searching for, be it assignee, reporter, status, component etc etc - pretty much any custom field in your jira

Hope this helps!

Simon M.
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 11, 2020

Hi,

Thank you for your answer. 

My question was specific to Filter Results Gadget in a Dashboard. I know how to search it directly in JQL but not how to display it at once in this gadget.

I have one filter "F1" concerning lets say 10 issues. Each of these 10 issues is linked to a large number of tickets which have different labels. I wanted to display the F1 filter in a Filter Results Gadget in a Dashboard with the "link" characteristic but only to a specific label.

The only way I found was to do it manually for each of the 10 issues. 

Thank you anyway :)

Laura Holton _ACE Rotterdam_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2020

Hi @Simon M. 

The list of issues returned through the JQL search will be the same as the list of issues displayed in the Filter Results Gadget if the same filter is used - the gadget is just a way of displaying a JQL search in a tidier format on a dashboard.

In the scenario you described, you would not be able to use the F1 filter for the gadget - you would need to create and save a new filter which restricts the list of issues down to the list you are needing if you are wanting to use it with the Filter Results Gadget.

Hope this helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events