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

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.

0 votes


Accepted answer

Permanent link
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

1 vote

Comments

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 vote

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
× 12,020
× 13

Question asked: Apr 09 '14, 12:18 a.m.

Question was seen: 5,229 times

Last updated: Apr 09 '14, 7:56 a.m.

Confirmation Cancel Confirm