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

How to get what build the specified work item is included?

We are going to get the build list the specified work item is included via programming. In orther words, given a work item with some codes delivered, go to the Links tab of the work item, and then there will be some builds in "Included in Builds" section. What is the correponding API so that we can get the "included in Builds" list via Java programming? Is there any one kowns it. Thanks!

0 votes



One answer

Permanent link
Included in Builds is a link, just like Parent/child..

so the workitem References list should contain those links.. the far end of the link (endpoint) should be the build result object reference.

there is working code at the end of my sample here
https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes

that lists out the links of a workitem returned in a workitem query.
so you could create a query that shows workitem that HAVE Included in build links, then run this sample to see what they look like.

note that the forum software messes with the case and quotes on poted code, so there is some fixup required after u copy/paste the same utility.
it takes 5 parms,  repository_url, userid, password, project_name, query_name

0 votes

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
× 562

Question asked: Feb 18 '11, 3:39 a.m.

Question was seen: 5,009 times

Last updated: May 01 '14, 4:39 p.m.

Confirmation Cancel Confirm