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

Restricting approver Role on work item approvals

I suspect this has been asked before, but most of the previous postings I found were related to older RTC versions, so I don't know if things are still the same.

At the moment we're using the "Require Work Item Approval" precondition on the Source Control -> Deliver (server) operation, to check that the related work item has been approved by specific role(s) before allowing delivery to the flow target stream.
I now have a new work item type for tracking environment configuration requests, which don't generally involve any code changes, and I want to restrict their approval to certain roles in the same way. However, the "Required Approvals" precondition that I've added to the Work Items -> Save Work Item (server) operation only allows me to specify which approval(s) are needed on the subsequent state, but nothing to control who approved it. Is there any way to restrct these to particular role(s) in the same way as the changeset one?

Also, we'd like to be able to add a role or roles as the approver, rather than a named individual. There may be more than one person able to approve these requests, based in different time zones, and the person filling in the request details won't necessarily know which of them will actually process it. Is there any way to do this? As things stand, the approvers have to keep querying for unapproved requests (rather than getting an email notification and being nagged after the approval due date) and add themselves as Approver when they do it. But, frankly, since there's only one approver needed it's simpler (i.e. fewer mouse clicks) to just have them use the workflow Action directly and not bother with the approvals tab. Especially since the action is already restricted to only their role...


Andy.

1 vote



One answer

Permanent link
 Ralph gives a pretty good example on how to create approvals automatically on his blog: http://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/. We used this to write a custom plugin that creates an approval for a particular role. 

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

Question asked: Jan 26 '12, 5:30 a.m.

Question was seen: 5,469 times

Last updated: Feb 19 '13, 7:53 p.m.

Confirmation Cancel Confirm