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

How to get all available WorkflowDefinition Ids of a given project area (using OSLC EWM/RTC)

 Hi All,


I want ro retrieve all available states of a workflow, which works when I Know the WorkflowDefinition id (marked fat).

https://jazz-test3.de/ccmfed/oslc/workflows/<project area>/states/<workflow definition id>

But i don't know that id and don't find a way to get it programmatically - so Im searching for a way to find all available WorkflowDefinition Ids for a given project area.

I want to do that by using the OSLC interfaces. So could please help me to find the right OSLC url parameters to get all the Ids for a given proejct area.

Thanks & Bye
Steve

0 votes



2 answers

Permanent link

 hi

0 votes


Permanent link

 The workflow for a project area is set in the process description. For any work item, its rtc_cm:state provides a link to the Status (http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/Status). The path before the status is return the list of states. For example, a work item might have Status:


Remove the enumeration literal at the end and you get a URL to the list of statuses in that workflow:

0 votes

Comments

Thanks for answering...


Maybe it was not clearly described, but I don't wanna read the list of states.
I want to get a list of all available Workflow/workitem types (the identifiers) 
- in your example: 
  • bugzillaWorkflow, 
  • com.ibm.team.workitem.featureWorkflow, 
  • com ibm.team.workitem.taskWorkflow,
  • ...

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
× 10,938
× 516
× 457
× 24
× 17

Question asked: Jan 29 '21, 1:44 a.m.

Question was seen: 2,061 times

Last updated: Feb 02 '21, 12:56 a.m.

Confirmation Cancel Confirm