Restricting a Work item save to only a particular role
![]()
Is it possible to restrict a specific work item type to be saved only by a particular role?
For example, to have an Enhancement WI that can be created by Everyone, but from that point in time, only Saved by the PM (regardless if the WI is moved through the workflow or not). Restricting permissions on workflow actions does not seem to help. Restricting attribute modification does not seem to help, as attributes are shared across WIs and I need Everyone to save the WI the first time. Wondering if a pre-condition for the Save behavior could help? May be a "read-only attributes for condition" and trying to catch the type and user role? But I have read that you cannot read the user role in a script based condition? Ideas? Alternatives? Thanks --Claudia |
3 answers
![]()
Like @Takehiko Amano suggested you can do this approach in Eclipse Configuration, no need of script.
For example ( I am using Scrum Template) Lets say , we want everyone in team to create a "Task Type Work Item" ( When created, it is in New state)but only Product Owner can change/modify the task work item in other states. We can achieve above process rule by using Save Work Item Precondition [In Process Configuration - Team Configuration - Operation Behavior ----> Under Operations ( Workitems - Save Workitem(sever) ] Under preconditions, add Prevent Editing precondition and select prevent changes for Task type work item for Done, In Progress and Invalid (Other then New state) for stakeholder, team member, Scrum Master (Other then Product Owner ) ![]() |
![]()
Hi, Also take a look at team permissions.
![]() This will prevent to create undesired workitem type instance by role. |
Comments
Forgot to mention.... I am on RTC 4.0.2