Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Permission denied exception when executing a custom RTC Plugin.

 Hi All,

I developed a custom RTC plugin which will do the following.

-> Auto calculates total story points attribute for a work item which is the sum of the Story points oif all its children.

for this I`m reading all the child work items and getting the Story points and adding them up.

I`m receiving the Permission denied exception sometimes when the user is not a member for one of the team Area to which the child Story belongs to.

how can I avoid this?

Thanks
Surender

0 votes



One answer

Permanent link
Is read permission denied or is write permission denied?
Operational behavior runs in the context of the user doing the operation.

If it is read permission, you can only avoid this by providing the users with the required permissions. Maybe you can use the permission aware API when retrieving the linked work items and only work on the ones you have permission.

If it is write permission then the user needs the write permission on the work item attribute.

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jan 28 '15, 5:03 a.m.

Question was seen: 3,201 times

Last updated: Jan 28 '15, 5:30 a.m.

Confirmation Cancel Confirm