Hello guys,
I need to create complex Search query that should display issues with the following order, for example:
1. Only High and Highest priority bugs from project X
2. Then all issues from project Y with label "AA" and priority in (High, Highest)
3. Then all issues from project Z with label "AA" and priority in (High, Highest)
So I need to see in the search results the list of issues that order by rules described above.
Is it possible?
Hello Alex,
See if this query does what you need. Let me know if it does or doesn't. Glad to help
(priority in (High,Highest) and project = X) or (project = Y and labels = 'AA' and priority in (High,Highest)) or (project = Z and labels = 'AA' and priority in (High,Highest))
If the search results don't display as expected, I would also recommend creating a board and having each search be its own swimlane. This will display each of the queries you search for and may be easier to look at.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did this answer your question? Please mark as answered if it did.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So it would be good to have some kind of "THEN" operator (not only AND, OR) to create the strict order of issues for displaying in the search results, but there is no such an operator in JQL
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.