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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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