It's all about the answers!

Ask a question

Get list of change sets with no work item associated ?

Karthik Krishnan (8594103153) | asked Aug 17 '15, 4:52 a.m.
Is it possible to get list of change sets which has no work item associated in a report / query of some kind

We use RTC 5.0.2

Karthik Krishnan commented Aug 19 '15, 10:51 a.m.
  • bump* 

Karthik Krishnan commented Sep 21 '15, 11:21 a.m.

  bump again  

One answer

permanent link
Donald Nong (14.4k314) | answered Sep 22 '15, 2:21 a.m.
I don't know any APIs that can filter on the work item association of a change set. The best option I can think of is to get a complete list of all change sets and filter them after the list is obtained.

For example, you can POST to /ccm/oslc-scm/changeSet with request headers "X-Jazz-CSRF-Prevent: <current JSESSIONID>" and "X-Method-Override:REPORT", and payload '{"propertyRequest":{"jazz_scm:reasons":{}}}', then in the response JSON, look for '"jazz_scm:reasons": []'.

POST without the specified payload, or a GET will not return any "jazz_scm:reasons" entries.

Your answer

Register or to post your answer.