Can I have a pre-defined list of approvers when creating work items that "Required Approvals"
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
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.
1
See https://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ for an example follow up action.
|
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.