It's all about the answers!

Ask a question

Can I have a pre-defined list of approvers when creating work items that "Required Approvals"


Lewis Tsao (2174963) | asked Apr 09 '14, 12:18 a.m.

Currently when creating work items that require approvals, the list of approvers need to be created manually. Is there a way of populating this list automatically?

I prefer not to use work item templates.

Accepted answer


permanent link
Kevin Eifinger (1211710) | answered Apr 09 '14, 3:26 a.m.
We tried to solve a similar problem and came to the conclusion that the approvers don't function as other work item attributes for means of accessing them programmatically.

As it is not possible to access approvers with the JavaScript API or by using Custom Attributes, we decided on developing a server side extension which populates the list.

We added a save operation participant which would add approvers published by an XML service if a certain "needs approval" - attribute was set.
Lewis Tsao selected this answer as the correct answer

Comments
sam detweiler commented Apr 09 '14, 6:38 a.m.

i also created a server side plugin to create approval records on workitems.
it can set the approver by role or userid. not quite as smart as Kevin's


1
Ralph Schoon commented Apr 09 '14, 7:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Your answer


Register or 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.