Automatic Assignment of "approver" in Child Work item
Hi,
I have two work items with Parent - Child Relationship.
In Parent Work item i have created Two roles (for approval) of type contributor.
Now when Child work item goes at particular state, then the approvals should be added automatically. Approvers gets added automatically when the value of the roles are different in Parent Work item.
If value of the roles in parent Work item are same, then only single approver should get added in the child.
How is it possible to do with precondition?
I have tried doing it with precondition but it throws an exception saying
"An unhandled exception occurred: Approval descriptor already has an approval with the same approver"
Thanks in Advance.
Regards,
Amit
|
Accepted answer
Ralph Schoon (63.5k●3●36●46)
| answered Jan 04 '18, 5:20 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This exception indicates that you are trying to add the same approver a second time to an approval. You have to fix your code and check for approvers that are already added and only add the new ones.
Ralph Schoon selected this answer as the correct answer
|
3 other answers
Ralph Schoon (63.5k●3●36●46)
| answered Mar 16 '13, 4:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Amit, please see http://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ http://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ , http://rsjazz.wordpress.com/2012/12/14/do-not-modify-the-triggering-element-in-an-operationadvisor/ and other posts on the blog.
|
Amit,
I see you have some similar problem as me or you can help me.
I have few type of WI and on the end when user will choose some kind of one and after save some defined person will be added as approves, im not able to add this option i can add only subscribers automatically but have problem with approves
Amit, Ralph
can you help me im really new in managing Jazz ?
Comments
|
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.