grouping search parameters?
hello,
i'm wondering if i can somehow group search parameters?
for example:
i want to get all issues that have state #Unresolved AND ( Due Date: {No due date} OR #Unassigned )
when i try this query
it works like:
so the question is, can i group expressions to control order?
i'm wondering if i can somehow group search parameters?
for example:
i want to get all issues that have state #Unresolved AND ( Due Date: {No due date} OR #Unassigned )
when i try this query
#Unresolved Due Date: {No due date} or #Unassigned
it works like:
( #Unresolved Due Date: {No due date} ) or #Unassigned
so the question is, can i group expressions to control order?
Please sign in to leave a comment.
Please, vote for http://youtrack.jetbrains.com/issue/JT-10400 feature request and several realted tasks.
As a rough workaround, you can use De Morgan's laws http://mathworld.wolfram.com/deMorgansLaws.html , http://en.wikipedia.org/wiki/De_Morgan's_laws .
So, speaking of YouTrack searches, you need to do the following:
1. Create First Saved Search "-Unresolved"
2. Create Second Saved Search "-Unassigned"
3. Create Third Saved Search "#{First} , #{Second}"
4. Create Fourth Saved Search "-{Third}"
I've described an example of how does logic work here. So you are welcome to modify it regarding your goals.
Thank you.
Thats pretty cool workaround with De Morgan's laws.
If anyone will need something what i wanted:
1. Create search Unassigned OR No Due Date, with query #Unassigned or Due Date: {No due date}
2. Create new search Unresolved AND (Unassigned OR No Due Date), with query #Unresolved #{Unassigned OR No Due Date}