How can I prevent work item editing for a specific role when the work item is in a specufuc state?
2 answers
Edit: this is an incorrect answer.
Yes, Use the permissions. However, roles only give permissions, they do not take permissions away.
Permissions do not provide this capability.
Comments
Correction: Permissions are not available on a state level.
This requires customization
- Attribute suctomization in JavaScript or Java to control read only for state and role based on the Read Only For Conditions precondition attribute customization . See https://jazz.net/wiki/bin/view/Main/AttributeCustomization and https://rsjazz.wordpress.com/2015/08/07/a-custom-condition-to-make-attributes-required-or-read-only-by-role-version-2/ .
- It would be possible to use custom advisors (preconditions) that prevent the user from changing a work item attribute. As an example see https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/