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 Leaders.
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

Suggest an answer

Log in or Sign up to answer