PermissionDeniedException when accessing work item using plain java api
I am using plain java api to access work items and its history. I am able to get the history states and the dates the states were changed. It is working fine but whenever a specific work item is accessed let say Work Item 99999, I am getting the error below:
com.ibm.team.repository.common.PermissionDeniedException: CRJAZ1319E Read access is not permitted. The user, <user id>, tried to read one or more items that have the following type: WorkItem
The userid that i am using to access the work items have Administrator role - both on the project area and all team areas. I also checked Work Item 99999 and its history thru the web client but I can't find any difference with other work items. Any idea why am I getting PermissionDeniedException just for that specific work item? |
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Oct 21 '14, 2:39 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
What if you run a query and use the permission aware API, can you get that work item? Otherwise an administrator should have access to pretty much all data. So I am not sure what happens.
|
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.