Negating a linked issue subquery (2022.1)

I would like to search for all issues which do not contain unresolved dependencies using 2022.1's new subquery for links (https://www.jetbrains.com/help/youtrack/standalone/2022.1/Search-and-Command-Attributes.html#issue-links).

The opposite of what I want is available with `#Unresolved AND Depends on: (#Unresolved)`. How do I negate the subquery such that I only get unresolved issues whose links are all resolved (i.e., NOT #Unresolved)?

0
2 comments

Hi!

You can use the `parent for: (#resolved)` query, but it'll return issues that have at least one resolved subtask. Unfortunately, it is not yet possible to use something like `parent for: -(#unresolved)`, but we have a feature request for that. Please vote for it.

2

Please sign in to leave a comment.