Forums

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

Using ScriptRunner to send an email notification?

Roman Guevarra
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2024

Hi!

I'm trying to send an email notification to the assignee of an issue using ScriptRunner, but keep getting an error for an invalid REST API call. I'm new to using REST/Groovy, and was wondering if anyone could spot the error because I'm lost. Thanks in advance!

 

myCode.pngerrorCode.png

1 answer

1 accepted

2 votes
Answer accepted
Craig Nodwell
Community Champion
March 2, 2024

Hi @Roman Guevarra welcome to the community.  Header is all wrong.  Here's an example from the Adaptavist Library

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events