Forums

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

Is it possible to use multiple filters for single gadget?

Narendra Kumar
Contributor
December 19, 2019

Hi, I want to have result of multiple filters on single gadget. Please help me to know that is it possible to do or not? Thanks!

3 answers

2 accepted

1 vote
Answer accepted
Jack Brickey
Community Champion
December 20, 2019

You can certainly combine two filters into one and use this new combined filter.

e.g. Filter in (filter1, filter2)

Narendra Kumar
Contributor
January 6, 2020

Thank you @Jack Brickey .

Saransh Gupta
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!
February 25, 2022

This is not working for me in the pie chart gadget.
(test1,test2)

It is only allowing me to add one filter.

Zita Bagi
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.
March 3, 2022

You should save a filter which has this JQL:

Filter in (filter1, filter2)

not only

(filter1, filter2)

 So filter3 is "Filter in (filter1, filter2)" and then you put filter3 in the gadget

KE
Contributor
March 1, 2023

Let's say - I have two filters below 

type = defects and status != closed and assignee = ABC

type = defects and status != closed and assignee = XYZ

How can I combine the two filters above into one combined filer?

Like Chaithra C likes this
Jack Brickey
Community Champion
March 2, 2023

@KE , are you asking for this...

type = defects and status != closed and assignee In (ABC,XYZ)

KE
Contributor
March 2, 2023

Appreciate the response, Jack.

I'm trying to understand how can I use two different filters and save it as a combined filter so I can input that into a gadget (dashboard) 

Filter in (filter1, filter2)
Jack Brickey
Community Champion
March 2, 2023

Then do just that...

Filter1: type = defects and status != closed and assignee = ABC

Filter2: type = defects and status != closed and assignee = XYZ

Filter3: filter in (Filter1, Filter2)

Then you can reference filter3 for example in a dashboard gadget, and it will include all issues defined by filter1 and filter2. maybe I'm still missing your point?

KE
Contributor
March 2, 2023

how do I name my filter as filter 1 and filter 2?

the below query populates with error message:


filter1 as (type = defects and status != closed and assignee = ABC)

 

Error in the JQL Query: Expecting operator but got 'type'. The valid operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN', 'IS' and 'IS NOT'. (line 1, character 10)

Jack Brickey
Community Champion
March 2, 2023

You create and save filters in the Advanced issue search. Click into the search bar in the menu and select Advanced issue search. From there you can create and save/name the filter. 

KE
Contributor
March 2, 2023

Thank you so much, Jack. This helped me with the solution I was looking for. :) 

Like Jack Brickey likes this
1 vote
Answer accepted
Zita Bagi
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.
December 20, 2019

Hi, are you referring to the Filter Result gadget? These can only who the result of 1 filter, but you can add multiply filter result gadgets to display as many results separately as you want.

Narendra Kumar
Contributor
December 20, 2019

Thanks,  Z B for your response. Yes, I'm referring to the Filter Result gadget. Could you please tell about list of gadgets or some name of gadgets which supports multiple gadget results ?

Zita Bagi
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.
December 20, 2019

Generally, if you click on Add gadget in the top right corner of the Dashboard, click Load all gadgets, and you can select from them.

There is no version of the Filter result gadget which would display multiply filters.

If you would like to list the filters themselves, you can add the Favourite Filters gadget.

However, there is a free plugin which can display filters based on what you want to be displayed:

https://marketplace.atlassian.com/apps/1214394/menu-gadget?hosting=server&tab=overview

Then if you click on the filters, you are directed to an issue search page where you can see the results.

Like Narendra Kumar likes this
Narendra Kumar
Contributor
December 20, 2019

Thanks Z B

0 votes
Deleted user December 5, 2023

How many filters I can use in one search query?

Suggest an answer

Log in or Sign up to answer