Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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.png errorCode.png

1 answer

1 accepted

2 votes
Answer accepted
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events