Hello,
i want to create a listener for our MS Teams, so that every time the priority for an issue changes in our project, i want to receive a message.
I think the event for that is IssueUpdated but i dont know what i need to enter in the Condition and Configuration (i use scriptrunner listener)
Could you please help me with that? THank you!
Community moderators have prevented the ability to post new answers.
You can write a listener script like below.Here you can define the actions to be taken when priority changes and becomes major.
issue.priority?.name == 'Major' && changeItems.any {
it.get('field')=='priority'
}
Thanks,
Mehmet Sirin Usanmaz
Hello @Mehmet Şirin Usanmaz
thanks for your help, i adjusted the template and it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.