It's all about the answers!

Ask a question

Retrieving modified files associated with change set in RTC via OSLC

Renato Cattani (1111) | asked Nov 20 '13, 9:04 a.m.
edited Nov 22 '13, 5:38 p.m. by Millard Ellingsworth (2.5k12431)
I made a REST GET with the following command:
and retrieved a lot of information about the Work Item 1052.
among the others:

 "": [
      "rdf:resource": "https://localhost:9444/ccm/resource/itemOid/",
      "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

permanent link
David Johnson (1) | answered Nov 04 '14, 6:33 p.m.

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

Register or 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.