It's all about the answers!

Ask a question

Query for tasks without links?

Armin Huemmer (2347) | asked Jul 15 '14, 9:16 a.m.
retagged Jul 22 '14, 4:52 p.m. by Ken Tessier (84117)
We do a work breakdown structure e.g. via one Story and two children Tasks. The SW deliveries (changesets) will be linked to the Tasks.

Sometimes it happens that developers just create Tasks (without connection to Stories or any other high level planning element) to be able to deliver their changesets.

We can't see a solution how to track these Tasks in order to remind the users to add the links to corresponding Stories. We created queries but you can't query for links. It's only possible to display the information in the results list.

Is it possible to get better usable solution for that?

Accepted answer

permanent link
sam detweiler (12.5k6195201) | answered Jul 15 '14, 9:41 a.m.
you can query for links..have to make sure to select show the links in the query builder (eclipse). then you will have to set AND for all of them And flip to 'not exist' for each link type.  (viewed in eclipse, not as easy in the web ui)

Armin Huemmer selected this answer as the correct answer

Ralph Schoon commented Jul 15 '14, 9:42 a.m.

Interesting! I dd not know that.

sam detweiler commented Jul 15 '14, 9:47 a.m.

so you can find workitems with and/or without links of certain types.  and u can do it in the web UI too.. just YOU have to know which attributes are links..

we used this to find workitems of specific types when we wrote the project copy migration utilities.

sam detweiler commented Jul 15 '14, 10:16 a.m.

and on some links, using the web UI,  you can query THRU the link..

task with parent which has ID =

One other answer

permanent link
Ken Tessier (84117) | answered Jul 22 '14, 4:52 p.m.
Great tip.  I've opened Update help about creating queries to show how to query for links (325414) to add this info. to our help.


Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.