I have a Kanban board and try to set up some Quick Filters.
I cannot save JQL that consists of brackets for the logical rule. They just disappear.
So, I cannot save the JQL like this
any_filed = smth OR (any_filed = smth2 AND another_field = smth3)
I get the same, but without brackets:
any_filed = smth OR any_filed = smth2 AND another_field = smth3
It doesn't look like an expected behavior and I cannot create sophisticated filters.
Hi @Vitalii Stavropolskyi , welcome here on the community :).
I just checked on my instance and following JQL behaves as you described:
But this JQL behaves correctly
But I think it is because of optimization of the JQL query, because AND (as logic operator) takes precedence over OR.
So JQL on row 1 is the same as JQL on row 3 (I mean both means the same - logically)
Thank you @Martin Bayer _MoroSystems_ s_r_o__ for the answer and investigation!
It is really an explanation.
Just didn't expect this optimization on the fly. In my case, I have 8 logical operators in a row and brackets helped me to structure this query. But the most important is to be sure it works as expected. Thanks!
Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event