Forums

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

Scriptrunner Custom Email Help

Cassandra Anton June 22, 2022

Hi there! I currently have a script that sends when an issue gets updated to a P1. The issue is, however, that it also sends when someone adds a comment to the issue... Is there a way to make this so it ONLY sends when the issue is updated to a P1?

 

This is what I currently have:

Events: Issue Updated

Condition and Config:

issue.priority?.name == 'P1' && changeItems.any {
it.get('field')=='priority'
} &&
issue.issueType?.name == 'Software'

1 answer

0 votes
Antoine Berry
Community Champion
July 7, 2022

Hello @Cassandra Anton ,

Are you sure this is not a mail sent by Jira via the "Issue Commented" in the notification scheme ?

Suggest an answer

Log in or Sign up to answer