It's all about the answers!

Ask a question

REST API for work items in a project & Iteration & Custom Attributes


Ashwath G (6623349) | asked Oct 09 '18, 10:36 a.m.
edited Oct 09 '18, 10:42 a.m.

 Hello ,


I am trying to get the work items under a project area using REST API. I have successfully connected to repo , project and able to get the list of all workitems. Further would like to filter based on work item type & also would like to get the details of Iteration(Planned For) & Custom Attributes.
Access to work item catalog.
curl -k -b %COOKIES% https://server:port/ccm/oslc/workitems/catalog

curl -k -b %COOKIES% https://server:port/ccm/oslc/contexts/_AN6VEHrVEeicjdm9T1_OEg/workitems/services.xml

To list workitems limiting the information :

curl -k -b %COOKIES%  https://server:port/ccm/oslc/contexts/_AN6VEHrVEeicjdm9T1_OEg/workitems/oslc_cm.properties=dc:title,dc:identifier,rtc_cm:ownedBy

Please help me to resolve.

1. Filter Based on the work item type
2. List all the custom attributes.
3. When using "rtc_cm:plannedFor" in filteration, is not showing up the content. 


BR
Ashwath Garugula.




Be the first one to answer this question!


Register or to post your answer.