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

How to query for items assigned on a particular timeline using OSLC

Hey guys, I'm currently developing a sidebar widget for Notes which will allow the user to view the "n" latest sprints and display the title/url of the underlying work items. However, I'm having a roadblock.

I access the timeline of the project by visiting this URL:
https://xxxx.xxxx.usma.ibm.com/jazz/process/project-areas/xxxx/timelines/xxxxx/iterations. After that,
I get an XML with a list of iterations. I query the <jp:url> tags and try to visit all subsequent elements with url contents on it but I couldn't obtain a list of work items.

Am I doing the correct approach for querying the associated items for a sprint? If not, what
should be the correct way to access all work items associated with a certain sprint? Thanks!

Edit: nvm, found the solution. Basically I iterate on the project timeline and extract the iteration ID.
Then I query this URL:

https://xxxxxxx.usma.ibm.com/jazz/oslc/contexts/xxxxxx/workitems?oslc_cm.query=rtc_cm:plannedFor="https://xxxxxxx.usma.ibm.com/jazz/oslc/iterations/_<iterationID>"

0 votes



One answer

Permanent link
Hi John,
I believe that you can find the answer here: https://jazz.net/forum/questions/135858/how-to-perform-particular-action-using-rest-api-in-clm-applications
Let us know if it helps.

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
× 10,943
× 515
× 1
× 1

Question asked: Jan 24 '14, 12:39 a.m.

Question was seen: 7,798 times

Last updated: Jan 24 '14, 7:09 a.m.

Confirmation Cancel Confirm