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'