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

Require REST URI for getting release and user story details


I need REST URI for getting release version and if i pass a particular release then i need to get user stroies which are created for the particular release. also if i pass a particular user story id then i need to get complete info (work item details) for the specific user story.

Thanks in advance:-)

0 votes


Accepted answer

Permanent link

If you are looking for "Planned For" value, you can try
https://server:port/ccm/rpt/repository/workitem?fields=workitem/workItem[projectArea/name='JKE Banking (Change Management)']/target/name

To get the work items planned for a particular release, you can use it in filter
https://server:port/ccm/rpt/repository/workitem?fields=workitem/workItem[target/name='2.0']/(id|summary)
will return ID and summary of all work items planned for 2.0 release

To access individual work item, you can use the work item ID as filter
https://server:port/ccm/rpt/repository/workitem?fields=workitem/workItem[id=123]/(description|summary|severity|state)
or
https://server:port/ccm/rpt/repository/workitem?fields=workitem/workItem[id=123]//
will give work item details for WI #123

Raja P selected this answer as the correct answer

0 votes

Comments

Hi Subramnaya,

Thanks for your reply. it really helps.

I have a project name called "ABC", so I need to get 

Planned Items details (such as Summary, Id, Status, Story Point and Filed Against)

by passing the project name

Kindly share me the right URI to get them.

Thanks in advance:-)

Hi Subramnaya,

I need a REST URI for getting below details by passing the project name for both types (i.e Tasks and story)

Id, Summary, Type, Filed Against, Application, Story Points, Creation Date, Creation By, Project Area, Team Area, Owned By, Priority, Planned For, Release

So could you please help me to get them.

Thanks

Use * as the field selection should give you "all" fields. For example, workitem/workItem/(description|summary|severity|state) show you only the select four attributes, while workitem/workItem/* will show you all the attributes.

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
× 12,019

Question asked: Oct 16 '17, 4:30 a.m.

Question was seen: 1,625 times

Last updated: Oct 27 '17, 3:49 a.m.

Confirmation Cancel Confirm