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.
|
One answer
![]()
Ralph Schoon (63.3k●3●36●46)
| 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
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.