It's all about the answers!

Ask a question

RTC Query link negation (is not)

Jürgen Brückler (69122) | asked Feb 01 '19, 3:27 a.m.

In our environment a development workitem has two custom link types:
DevItem X is planned in SystemVersion A, B, C
DevItem X was resolved in SystemVerion A, B, C

I am failing to build a query that filters all DevItems that were planned in SystemVersion A, but are not yet resolved in SystemVersion A.

In the example above DevItem X will be shown as query result (although it shouldn't).
Reason is that the condition "not resolved in SystemVersion A" is valid for the 2 other links (to SystemVersion B and C).

Is there a way to achieve this?


Accepted answer

permanent link
Ralph Schoon (62.9k33645) | answered Feb 01 '19, 6:19 a.m.


as far as I can tell, there is no way to do really comprehensive queries with respect to multiple links. 
The semantic of the link query conditions is very very limited. I have created some enhancement request e.g. to be able to have query conditions like for all links of type, the target work item condition holds. This is apparently very complex and I know that other tools in the past had the same challenges. 

Jürgen Brückler selected this answer as the correct answer

Your answer

Register or to post your answer.