It's all about the answers!

Ask a question

How find available actions to change states in RTC with OSLC

Dmitry A. Lesin (24826296) | asked May 26 '14, 6:11 p.m.
Can somebody give a recommendation how discover available actions to use them with parameter "_action" for changing states in Rational Team Concert with OSLC requests? The problem is that I use customized workflow with localized state names.
Thank you very much in advance!

Accepted answer

permanent link
Donald Nong (14.5k414) | answered May 27 '14, 3:09 a.m.
Are you asking how to get a list of the available actions (such as '' ), as asked in this post?
If so, you can get them in the Process Configuration Source using the RTC Eclipse client. They are under the hierarchy ...<workflowDefinition><workflow><action>. You should check ...<workflowDefinition><workflow><state><action> to make sure you are only calling the valid action(s) based on the current state.
I don't know how you can get the workflow dynamically using OSLC though. I guess it's not implemented yet.
Dmitry A. Lesin selected this answer as the correct answer

Dmitry A. Lesin commented May 27 '14, 3:46 a.m.

Hi Donald,

Thank you very much! I don't understand now why I forgot to look for the actions list in the process definition in RTC Eclipse Client!

But it seems, I found the same list in the Web UI after some additional research. My own "Higgs boson"  :)  was open in this way (sample for localhost server):

1. Open the typical services document in Web Browser

2. Find parameter "oslc_cm:url". In my case:


3. Find a record of the needed type (parameter "dc:type"). In my case I was looking for defect actions:

<dc:type rdf:resource="https://localhost:9443/ccm/oslc/types/_JiV7QMO-EeOrgeMTNV2gJg/defect"/>;

4. For the same record, find parameter "rtc_cm:state". In my case:

<rtc_cm:state rdf:resource="https://localhost:9443/ccm/oslc/workflows/_JiV7QMO-EeOrgeMTNV2gJg/states/"/>;

Dmitry A. Lesin commented May 27 '14, 3:46 a.m.
  1. Change "states" to "actions", remove suffix and open modified URL in Web Browser. In my case:


  2. See for the resulting page, where all workflow actions are displayed.

One other answer

permanent link
Charlie Seo (22127) | answered May 26 '14, 8:47 p.m.
I'm not sure if there is REST like way to get those info and update the state using REST API. I'm also interested in knowing a way around.

Dmitry A. Lesin commented May 27 '14, 12:56 a.m.

I believe the REST really exists. For example, I found the description "The status of the work item (modifiable via action)" for "rtc_cm:stat" here:

You can see this description in the "Attributes" section. Here, JAZZ developer writes that it's possible:

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.