'Save Work Item' operation cannot be completed
Hello,
I have written an extension to "com.ibm.team.repository.service.asynchronousTask" to modify work items and save at some intervals.
I am getting the below Exception while saving work item with “approve” work flow when the user is not ADMIN (server default user).
com.ibm.team.process.common.advice.TeamOperationCanceledException: CRJAZ6053E The 'Save Work Item' operation cannot be completed. Permission is required to complete the operation. For more details, open the help system and search for CRJAZ6053E.
Here is the scenario:
1) If I use a non-admin user id (which has Permissions) I get the error while saving the work item. But same user can save work item from WebUI.
<configurationProperty
accessPolicy="OPEN"
default="myadmin"
description="User"
displayableName="User"
name="task.runAsUser"
required="true"
type="STRING"
updatePolicy="NO_RESTART_REQUIRED">
</configurationProperty>
2) If I use ADMIN user, save work item works fine.
<configurationProperty
accessPolicy="OPEN"
default="ADMIN"
description="User"
displayableName="User"
name="task.runAsUser"
required="true"
type="STRING"
updatePolicy="NO_RESTART_REQUIRED">
</configurationProperty>
Could you please help me in this regard.
One answer
From the project area> permissions you can check if the role(s) that you have assigned to the non-admin user have "save work items" rights or not and also if the user has been assigned a valid license.
Comments
1 vote
Comments
Kot T.
JAZZ DEVELOPER Apr 12 '13, 10:43 a.m.jyothi rachakonda
Apr 12 '13, 10:43 a.m.Jared Burns
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 10 '13, 4:48 p.m.jyothi rachakonda
Apr 11 '13, 10:50 a.m.Monika Gupta
Oct 01 '13, 2:01 a.m.