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!
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.