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

Custom workflow for defect based on a role

Is it possible to have different workflow for a defect in RTC dependent on the user’s role? For example: we want testers to follow a specific workflow for defect status (for example: Open>In Analysis>Fixed>Retest>Closed), but we want others in a higher role (such as Defect Manager) to not be restricted to following the workflow state transitions defined in the defect workflow. Can that be done?

1 vote



2 answers

Permanent link
 I don't know if there is a way to do that but you could restrict what role is allowed to perform a particular transition (e.g. Close).  You can then define your workflow so that each state can transition to close but only the Defect Manager has permission to make that transition.

3 votes

Comments

Steve,

a work item type can only have one general workflow. This means, you would have to use permissions to deny specific roles certain transitions like Alex suggests. You could use advisers (preconditions) as well, but that would be more complex than using permissions to change a state.

Can you be more specific about how to restrict what role is allowed to perform a particular transition? I don't see how to do this either from the web client or the eclipse client.

Please have a look at https://jazz.net/library/article/1093 Lab 3.

In the Web UI you can find the permissions to trigger a workflow action in:
Permissions>Work Items>Save Work Item>Trigger Workflow Action



Permanent link

Thanks for the quick replies. Is my understanding below correct?

 So if we want the Defect Manager role to be able to go from New to Closed, then we would have to make it a valid transisition from New to Closed - but then disable this transistion for all other roles, and enable it for Defect Manager using the Trigger a Workflow Action you described.
But in the bigger picture, if what we actually want is that Defect Manager can disregard all transition rules and go from any state to any state, then we would have to set up transistions from ALL possible states - to ALL possible states, and then set enable/disable for the 'Trigger a workflow action' for every one of those for EACH role in the project.

0 votes

Comments

Yes. Any user HAS to follow the workflow. You select an action if you want to go from a state to another. You can not just set the state. At least not in the UI, and the API call to do it is deprecated.

Perfect.  Thanks Alex! Thanks Ralph!

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

Question asked: Sep 04 '14, 9:15 a.m.

Question was seen: 4,298 times

Last updated: Sep 09 '14, 9:38 a.m.

Confirmation Cancel Confirm