Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,658
Community Members
 
Community Events
168
Community Groups

How to combine two filter

A have a filter A which delivers a result of 33 issues. Filter B filters the same data basis but delivers 29 issues. How do I need to combine these two filters so that I can show the difference. In that case which 4 more issues are found in filter A?

1 answer

1 accepted

2 votes
Answer accepted

Hi Markus,

In Jira JQL you can refer to a filter like: filter = "filter A"

Therefore you could do something like: filter = "filter A" and filter != "filter B" 

I think this will give you the difference. Let me know if this works for you.

Hi Charlie, thx for the quick answer. I tried it out and it worked! Great thing!

Charlie Misonne Community Leader Jan 06, 2022

Hi Markus,

I'm glad I could help and that the solution is working because I did not have the time to try it out myself :-)

Please accept my answer to mark this question as answered to help out other users with the same question in the future.

@Charlie Misonne ,

Suppose if I have two filters created as filter 1 with x, y,z fields and filter 2 with x,a,b,c fields. Then is there any jql query to combine filter 1 and 2 which provides us single output of all the fields present in both the filters.

Thanks in advance.. It would be of great help if could guide me here.

 

Thanks,

Himaja.

Charlie Misonne Community Leader May 24, 2022

Hi @himaja 

Have you tried "filter A" and filter = "filter B"?

I'm not sure if this will provide the expected result. If it doesn't create a new question for this. You'll have more chance to get an answer.

@Charlie Misonne

Thanks for your reply but I receive blank output i.e, no output,when I tired above solution. 

The requirement is if filterA has x,y,z,... so on fields and filterB has x,a,b,c,.. so on fields then by combining filterA and filterB can I get output as x,a,b,c,y,z.. so on.. 

May be something as below:

 prepare a report in jira using JQL query, where i need to fetch data from fliterA i.e, child(deploy issues) with fields like key, issuetype, environment, linked issues, status etc., and from fliter B i.e,parent(stories, defects) with fields like summary, category, status, key etc., here fields which are present in parent are not included in child. So only common field present in parent and child are linked issues(child) == key (parent). So can this be established without usage of plug-ins.

Please let me if we can connect on this..

Like nshenoy likes this
Charlie Misonne Community Leader Jun 17, 2022

Hi @himaja 

No I don't think it's possible.

But again: you asked this on an already resolved question so I suggest you create a new question so there's more chance for other community members to see it.

Suggest an answer

Log in or Sign up to answer