Can not save Work Item due to permission issue
![]()
I'm trying to use RTC Plain JAVA API to create a defect.
I have the permission to create a defect from UI.
But I've got following error when I have set values and save a defect work item.
Does the following error mean I don't have the permission to create a defect by API? Thanks.
com.ibm.team.process.common.advice.TeamOperationCanceledException : CRJAZ6053E The 'Save Work Item' operation cannot be completed. Permission is required to complete the operation.
at com.ibm.team.process.internal.common.advice.runtime.OperationAdviceManager.advise( OperationAdviceManager.java:387 )
...
Name: Save Work Item
ID: com.ibm.team.workitem.operation.workItemSave
Severity: ERROR
Name: Required Properties
ID: com.ibm.team.workitem.advisor.requiredProperties
Severity: OK
Name: Required Approvals
ID: com.ibm.team.workitem.advisor.requiredApprovals
Severity: OK
Name: All Children Resolved
ID: com.ibm.team.workitem.advisor.allChildrenClosed
Severity: OK
Name: Save Project Area
ID: com.ibm.team.process.server.saveProjectArea
Severity: ERROR
Summary: Permission Denied
Description: You don't have permission to perform the following actions:
Modify the process specification (modify/specification)
Severity: ERROR
Name: Avoid saving private roles
ID: com.ibm.ics.scm.rtc.privateroles.project
Severity: OK
sam detweiler replied me in another question.
But I believe I'm saving a work item(defect), don't know why it triggered the saveProjectArea. Following is the related code. And I have used the similar code to save a work item(task) successfully. Confused.
Any tips? Thanks a lot.
|
2 answers
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Dec 05 '14, 5:02 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I agree with Sam but I am not sure why it happens either.
My suggestion would be to create your own test system where you can modify the permissions, get your code to work and then try it a gain on the current project area and find out what the difference is. |
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.