Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

workitem Query, how to display content from linked items

I have a new workitem link type. I can build a query to list the affected workitems on either side of the link.

workitem=defect, has link=foundin, foundin.id=25

but I would like to display the foundin.id as part of the result.

so that the user can see the collection of related workitems..(by sorting the foundin.id column)..

I don't see a mechanism to do that in a query output..

0 votes



11 answers

Permanent link
Hi Sam,

I don't think that is possible today. In Eclipse you can unfold the relationship and see the data, but I am not sure that s possible in the Web UI. I failed to be able to configure this.

I know this article: https://jazz.net/library/article/127

However, the query mechanism so far has limitations, especially with relationships. For instance also if trying to create conditions "like show work items where all blocking work items are closed" are, I believe, not possible today. I remember I have an open work item for this and other cases.

0 votes


Permanent link
thanks..

show all defect workitems, where the linked workitem status = closed worked fine .. but I can't display the id of the linked workitem..

thanks for the feedback...

0 votes


Permanent link
thanks..

show all defect workitems, where the linked workitem status = closed worked fine .. but I can't display the id of the linked workitem..

thanks for the feedback...


I think you should get the ID displayed if you select the relationship (e.g. relationship blocks) as output. What you can't do is display other attributes.

0 votes


Permanent link
thanks..

show all defect workitems, where the linked workitem status = closed worked fine .. but I can't display the id of the linked workitem..

thanks for the feedback...


I think you should get the ID displayed if you select the relationship (e.g. relationship blocks) as output. What you can't do is display other attributes.

I don't see the relationship (link type) in the 'columns' selectable on the Result layout tab of the query.. It shows on the conditions, but not on the results.

0 votes


Permanent link
Hi Sam,

I get it for blocks and some other types. Not sure why you don't see it.

0 votes


Permanent link
In the Web UI you should get the relationships in the columns to display.
In the Eclipse UI you need to go to to the menu (triangle top right of the view) and select the relationships to display. I'd suggest using the web UI.

0 votes


Permanent link
query
http://i427.photobucket.com/albums/pp351/sdetweil/queryexmp.jpg

the condition is a linked workitem (fixed in is a linktype)

http://i427.photobucket.com/albums/pp351/sdetweil/condlist.jpg

the results don't list it

http://i427.photobucket.com/albums/pp351/sdetweil/queryresults.jpg

0 votes


Permanent link
Which UI is that? The Eclipse UI?

0 votes


Permanent link
yes, Eclipse 3.0.1.1

0 votes


Permanent link
As I mentioned, use the Web UI. In the Eclipse client you don't see the relationships there. You have to configure that in the View Menu in the Eclipse client. The Web UI is better for this.

0 votes

1–15 items
page 1of 1 pagesof 2 pages

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,050

Question asked: Mar 25 '12, 12:07 p.m.

Question was seen: 10,985 times

Last updated: Mar 25 '12, 12:07 p.m.

Confirmation Cancel Confirm