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

Accessing workitem field value with Reportable Rest API

 Hi,


I am looking to access RTC workitems and data using Reportable Rest API.

Calling
gets me a list of WorkItem Ids

I am checking by calling the APIs from a browser that has Jazz logged in to, on another tab.

But with call to
I expected to get the summary field value of the WorkItem 72616
But am getting

Could you please help correct the above, or share the next step
that would get the actual field values.

Regards
-Pavan

0 votes


Accepted answer

Permanent link

 As far as I am aware you select the items using the query e.g. 


For the item type you have selected (work item), this item type has common built in attributes. You select to output them using ().

E.g. https://elm.example.com:9443/ccm/rpt/repository/workitem?fields=workitem/workItem/(id | summary) returns all work items with their id and summary. There are more complex elements supported. e.g. approvalDescriptors. You can select them for the work item and return the value by a nested 
statement. E.g.

https://elm.example.com:9443/ccm/rpt/repository/workitem?fields=workitem/workItem/(id|summary|approvalDescriptors/(id)) would show the work item id, summary and the ID for all approval descriptors.

Ralph Schoon selected this answer as the correct answer

0 votes

Comments

I just published this post with some examples: https://rsjazz.wordpress.com/2022/03/02/ewm-reportable-rest-api/ 

 Hi Ralph,


Thanks for the quick response.
With the help of these details, I have got individual workitem details using the below URL format

This has fetched the field values of an individual Id.

Regards

-Pavan

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,938

Question asked: Mar 02 '22, 4:01 a.m.

Question was seen: 1,587 times

Last updated: Mar 02 '22, 6:29 a.m.

Confirmation Cancel Confirm