The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Scriptrunner Run as the Reporter

Mark Sayo
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 27, 2023

Hi,

Happy Holiday!

We have a scriptrunner script in the post function under the "Submit to Manager" transition.

The script is changing the "Reporter Manager" custom field based on the manager of the one who changes the status of the issue. In Scriptrunner, the only options available in Run As dropdown are "Initiating User" and "Scriptrunner Add-On User"

We need the Reporter of the issue to be used as Initiating User.
What do we need to change in the UI the or in the Scriptrunner script? So that the Reporter Manager value will be base on the Reporter of the issue.

 

Regards,
Mark

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Trudy P Claspill
Community Champion
December 27, 2023

Hello @Mark Sayo 

Can you show us your current script?

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events