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

Delivery approval precondition for specific roles?

I've been able to set a precondition that a "Dev" role needs to approve a Delivery. Unfortunately, even someone who already has a Dev role still gets blocked from Delivery until they add themselves as an approver and changes the approval from Pending to Approved. That's kinda pointless. I need to have someone with a Dev role able to Deliver without needing Approval while someone with a Junior Dev role requires Approval from someone with a Dev role. Is it possible to set up a precondition that way?

0 votes


Accepted answer

Permanent link
Mike, this question confuses me. You either want an approval or you don't. If you want a required approval with different roles for different roles, you could look into this blog that shows the code you would need to automatically create the approval: http://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ .

If you simply want the Junior Dev's to require an approval of a Dev role, but the Dev role does not need an approval, you should consider overwriting the operational behavior for the Dev role not to require an approval. This requires to select the role, in the row of work item save (server), check Preconditions and follow-up actions are configured for this operation. Now enter the behavior that should apply to the developers, leaving out the required approval.

Please carefully read https://jazz.net/library/article/292

Note, you can configure operational behavior at least for role, team, timeline, iteration, iteration type. As mentioned in the article above, the order of roles is important and operational behavior does not accumulate like permissions.

Mike Shkolnik selected this answer as the correct answer

1 vote

Comments

Ahhh! How did I miss that?! Thanks much.


One other answer

Permanent link
I do not believe that there is an out-of-the-box pre-condition that requires approvals only for certain roles, in which case you would need to code one up yourself (and that should be possible).

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
× 6,122

Question asked: Mar 25 '13, 7:45 p.m.

Question was seen: 4,683 times

Last updated: Mar 26 '13, 12:32 p.m.

Confirmation Cancel Confirm