Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

How can I get the epic id and Pv id using feature id and story related to that work item. Please help if there is any API for the same

 I have some feature ids and i need to get some data related to that. like epic id, pv id, story planned for and many other things. i have found some of the data using this code IWorkItem workItem = workItemClient.findWorkItemById(id, IWorkItem.FULL_PROFILE, monitor);


But there i have found only 2 things. please help is there is any other API to find related data

0 votes


Accepted answer

Permanent link

Start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/

There are a lot of code examples including your snippet in that blog. I created the blog because the answers don't fit here. You need the link API - search the blog for link api, and you need the work item attribute API so search for work item attribute.

Rinkal Garg selected this answer as the correct answer

0 votes

Comments

Can you please help me to find only one like how can I find the epic Id, rest i will find out. Thanks for your quick response 

In short, you

  1. iterate the links of the item (that is linked to the epic) using the link type you use for that
  2. Once you found the other end (the linked item) you resolve the handle and look up the ID


If you are unable to spend the time you need to even read the introduction and the essential links ( especially https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ ) you will not be able to do this.From experience with other such questions you will ask more and more questions that are already explained in the links that I asked you to follow.

 ok tysm Ralph.

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
× 10,988

Question asked: Mar 15 '18, 6:58 a.m.

Question was seen: 1,197 times

Last updated: Mar 17 '18, 5:02 a.m.

Confirmation Cancel Confirm