Hi!
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.