Forums

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

Filter for more labels

Abdelhafiez Kozo
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!
August 23, 2021

Hello everyone,

i am trying to develop jira report where i can filter labels, if an issue has A, B, C labels then it should show me all issues that have Label A and when i click on it it shows 2 Catogries, B,C
when i click on B it shows me all issues with A, B and same deal for C..
i am not trying to filter that with in jira filter, i am trying to develop it in plugin..

i assume i have to build a query and have some code into it to do so, but i am still new at this and didnt find a solution for that..
i should show the results in a view.vm file, like #if($issues.getLabel()==["A"]) do this... #end
is there a way to make it dynamic? if two issues in a project, one with A,B,C and one with H,J,K then it should behave the same but with seperate catagories, A>B>C and H>J>K
can someone help me out here please

1 answer

0 votes
Carlos Faddul
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.
August 30, 2021

@Abdelhafiez Kozo you can use the operator "in" to do this, like

 

labels in ( "Label Phase 01", SingleLabel)

Suggest an answer

Log in or Sign up to answer