Retrieving modified files associated with change set in RTC via OSLC
Renato Cattani (11●1●1)
| asked Nov 20 '13, 9:04 a.m.
edited Nov 22 '13, 5:38 p.m. by Millard Ellingsworth (2.5k●1●24●31)
I made a REST GET with the following command:
https://localhost:9444/ccm/oslc/workitems/1052.json and retrieved a lot of information about the Work Item 1052. among the others: "rtc_cm:com.ibm.team.filesystem.workitems.change_set.com.ibm.team.scm.ChangeSet": [ { "rdf:resource": "https://localhost:9444/ccm/resource/itemOid/com.ibm.team.scm.ChangeSet/_AtuJ4i9TEeOcBrLMAjWRxA", "oslc_cm:label": "Changes in TC - stsdir - Useful comment - Brown Peter - Oct 7, 2013 3:18 PM" }, ], Now that I have the id of the Change set (_AtuJ4i9TEeOcBrLMAjWRxA) I would like to get all the information related to it, especially the files (name and content of the modified files associated to the ChangeSet) I don't know which is the get command OSLC (json or xml) to retrieve it. |
One answer
You have probably already figured this out, but just in case... I believe you should be able to get the changeset information with something like the line line below. Notice that the part before the ? is what was returned by your workitem query. I have not attempted to use the shorthand link on changesets like the one you used for your workitem. |
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.