Advanced filters stripping parenthesis

Hi All,

I'm using a saved search filter to power my Agile boards. It is a rather complex set of ANDs and ORs as it combines information from three different projects. When I save the filter, however, Jira strips out all the parenthesis. I think I'm getting additional results because of it. Is there something I can do to preserve the exact search I entered instead of simplifying it? Thanks!

4 answers

1 accepted

Hi Ari,

May we know that did the search result change? Because the AND operator actually connect 2 variables, so it is not necessary to have parentheses at all, the system just remove redundancy items to enhance the JQL search request.

For example, X1 OR (X2 AND X3) would be same with X1 OR X2 AND X3

Best Regards,

Steven

My opinion is that the parenthesis should not be stripped because they aid with readability.  Especially, given not every user understands this functionality.

Hi Ari,

Can you let us know the exact JQL on your filters in order to enable us to see how Jira strips out all the parenthesis?

Best Regards,

Steven

Hey Steven - thanks for getting back to me. The actual query (slightly obfuscated to remove personal info) should be:

project = "Dev Platform" OR (project = "Splunk Server" AND assignee in (username1, username2, username3, username4)) OR (project = "Microsoft Apps" AND component = Palette)

But when I save, Jira flattens it to:

project = "Dev Platform" OR project = "Splunk Server" AND assignee in (username1, username2, username3, username4) OR project = "Microsoft Apps" AND component = Palette

Any thoughts?

So JQL just implies parens on either side of the AND statement? Confusing but acceptable. Just makes things a bit harder to read. Thanks Steven. My problem must be elsewhere.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,089 views 13 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot