How do i define a script in Listener - field,
1)which should be executed only during the EDIT screen,
2)if priority is changed from major to minor, it should add comment in ticket " Priority changed from major to minor"
Please provide the script if there is any , i already refer various google answer but it failed when i implemnted it
Script which i used and it is incomplete, kindly help me with above requirement
I used Listener- Field
import com.atlassian.jira.component.ComponentAccessor
issue.priority?.name == 'Blocker'
issue.summary == 'Priority is changed'
