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

Creation of work items follow-up action in another project area [5.0.2]

 Hello,

We have a scenario where a work item has to be created in another project  area [PA2] during the follow-up action running in another project area [PA1]. When the follow up action runs it takes the permission of the authenticated user and performs the follow-up action ie permissions of both [PA1+PA2].

now we are not sure whether this user will be a part of the other project area [PA2] so then he will not be able to create the work item and an exception would be thrown (saying could not save the work item permission denied).

Is there any way we could overcome this exception or can we use a default user credentials to run this follow-up action?

Thanks in Advance.

0 votes



One answer

Permanent link
As far as I am aware, operational behavior is always run in the context of the logged in user. I am not aware of a way to elevate the permission. You could maybe try to run a scheduled task ( https://jazz.net/wiki/bin/view/Main/QueryDevGuide and https://jorgediazblog.wordpress.com/2013/06/28/rtc-custom-scheduled-async-task-example-explained/ ), which runs in a different user context. This would however have other implications if it works at all.

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,948
× 6,130

Question asked: Sep 28 '15, 7:09 a.m.

Question was seen: 3,276 times

Last updated: Sep 28 '15, 8:40 a.m.

Confirmation Cancel Confirm