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

Retrieving modified files associated with change set in RTC via OSLC

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.

0 votes



One answer

Permanent link

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.

https://localhost:9444/ccm/resource/itemOid/com.ibm.team.scm.ChangeSet/_AtuJ4i9TEeOcBrLMAjWRxA?_mediaType=application/x-oslc-cm-changeset%2Bjson

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.

0 votes

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
× 516
× 149
× 12

Question asked: Nov 20 '13, 9:04 a.m.

Question was seen: 5,999 times

Last updated: Nov 04 '14, 6:33 p.m.

Related questions
Confirmation Cancel Confirm