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

Restrict changing type of Approval once it gets approved

Hi All,

We have designed change management solution, in which we have created custom work item.

We have added two different approval at two different states. We have added approval of type "Approval" in state "A" which needs to be approved while moving to state "B". In state "B" we have added approval of type "Verification" which needs to be mandatory while moving to next state. [Mandatory check for approval is added using precondition Required approval on Type and State]

However what we found was, if "Approval" is approved, one can change the type of it to "Verification" and that is perfectly legitimate. After that the state that needs "Verification approval" to be approved goes ahead without any issues. This is captured in the history tab but this shouldn't be allowed in the first place.

IT SHOULD NOT BE ALLOWED to change the type of approval once you have added it and its approved/rejected.

This needs to be fixed on prior. Please guide me if I am missing any configuration. 

0 votes



One answer

Permanent link
Please see the same question here: https://jazz.net/forum/questions/225972/how-to-make-approval-of-work-item-read-only

0 votes

Comments

Hi Ralph,

I have gone through the answer but it didn't resolve my issue, with this permission we can only restrict user from changing State of approval, which we don't want.

I want to restrict user from changing type of approval.

Also I have written precondition but using precondition we can't determine approval is removed or renamed.

If you are not able to compare the old and the new state and determine the approval change, all you can do is to create an enhancement request to have a better identification of the item.

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
× 6,130

Question asked: Jul 29 '16, 7:17 a.m.

Question was seen: 1,823 times

Last updated: Aug 02 '16, 3:17 a.m.

Confirmation Cancel Confirm