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

Possible to automatically assign approver based on an attribute selection?

Hi there,

Is it possible to automatically set up an approval, complete with the approver, when an 'Contributor' attribute is selected?

For example, if I have n 'Approver' attribute with Contributor based presentation, and i select Amy Whitehouse from that attribute. I would like an automatic approval to be set up, with the approver Amy Whitehouse automaically selected.

Is this possible?

Thanks,
KH

0 votes



One answer

Permanent link
As far as I can tell, the only way this could be implemented today is as Advisor or Participant plug-in.

See: https://jazz.net/library/article/1000 for an example how to create a Participant (follow up action). https://jazz.net/wiki/bin/view/Main/RTCSDK20_ProcessPreConditionExampleThe and http://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/ for a precondition.  http://rsjazz.wordpress.com is where I blog my experience with the API's, http://rsjazz.wordpress.com/2012/10/01/adding-approvals-to-work-items-using-the-plain-java-client-libraries/ shows an example for creating an approval with approver. The example is for a client, not a server extension, however the code is very similar. You only have to replace the client libraries by the similar services.

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: Nov 09 '12, 12:23 a.m.

Question was seen: 3,969 times

Last updated: Nov 09 '12, 6:09 a.m.

Confirmation Cancel Confirm