How find available actions to change states in RTC with OSLC
Hello!
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
Are you asking how to get a list of the available actions (such as 'com.ibm.team.workitem.defectWorkflow.action.startWorking' ), as asked in this post?
https://jazz.net/forum/questions/32674/change-workitem-state-via-rest#81610 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
Comments
Dmitry A. Lesin
commented May 27 '14, 3:46 a.m.
Hi Donald,
Dmitry A. Lesin
commented May 27 '14, 3:46 a.m.
|
One other answer
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.
Comments
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:
|
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.