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

How to get timeline of a specific workitem via REST API?

Hi,
I am using oslc interface to access specific rtc workitems and fetch information of each.
I can get iteration info, but I am interested in getting the corresponding timeline.
How to do that?

Thank you!

0 votes



One answer

Permanent link

 Hello Tali, per https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2#Attributes it should be 

https://<HOST>:<PORT>/<CONTEXT>/oslc/workitems/<ID>?oslc_cm.properties=rtc_cm:plannedFor

0 votes

Comments

Hi Luis, Thanks for our reply.
the PlannedFor gives me the iteration. Is there a way to get from it to the Timeline? If I go to parent it only gets to parent iterations, but not until the timeline level.

Thank you.

Do you see anywhere that the timeline is displayed alongside with the workitem? Just try to understand the use case and the reason you don't want to iterate through the iterations to get the timeline.

Hi Donald,
I am iterating through the iterations by following the url in "rtc_cm:parent" but I am getting only until the highest level of iterations, and not reaching the timeline. I am asking how to get to it.
Thanks!

Strange, now I see the "rtc_cm:timeline" in the PlannedFor. I don't know how I missed it before. Maybe the work items I tested were missing this information for some reason.
Thank you Donald and Luis for your help.

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,943
× 516
× 480
× 62
× 21

Question asked: May 21 '17, 3:02 p.m.

Question was seen: 3,984 times

Last updated: Jun 03 '17, 1:01 p.m.

Confirmation Cancel Confirm