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: 

Read Service Desk request email field in script runner script groovy

serge calderara
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.
May 1, 2020

We have a Jira Service Desk version 4.7 where users can submit request for onBoarding service request. When such request is received by our team, and as soon as the issue is assigned to someone, we trigger a groovy script where that user will be automatically added to Active Directory group by using MS Graph API.

For now our main concern is to get in script runner the email field value of the service request in order to send it to MS Graph API.

What is the way to retrieve that email field inside groovy script in Jira ?

Thanks for help regards

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.