It's all about the answers!

Ask a question

How to make approval of work item Read Only

vikrant kamble (1323596) | asked Aug 01 '16, 1:20 a.m.
 Hi All,
I added two different approvals on two different state of work item.
Approval of type 'Approval' is mandatory on state A which needs to be approved while moving to state B.
Mandatory check for approval is added using precondition Required approval on Type and State.
However when work item moves to next state from state B user can change type of approval to 'Verification' or 'Review'. 
I want that once approval is set user should not be able to change its type.
Is there any way we can prevent users from changing approval type or we can make approval of work item read only.

Thanks in advance

One answer

permanent link
Ralph Schoon (63.2k33646) | answered Aug 01 '16, 3:09 a.m.
You can try to revoke permissions on approvals.

If that does not provide what you want, you would have to create a custom advisor - a Java based server precondition extension that checks the approvals and checks if there is an unwanted change.

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.