It's all about the answers!

Ask a question

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


Abhishek Kumar (49113) | asked Sep 28 '15, 7:09 a.m.
 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.

One answer



permanent link
Ralph Schoon (55.9k23642) | answered Sep 28 '15, 8:40 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.

Your answer


Register or to post your answer.