Hi,
I want to automatically archive issues that has been moved to the "Cancelled" status.
I tried using the Scriptrunner "Archive this issue" postfunction, I used the below condition- & added it as the last step of the post function after "Fire a generic event that can be processed by listeners"
issue.resolution.name == 'Cancelled'
But the issue still isn't getting archived when moved to Cancelled & the script is showing as run successfully. Can I please get some help on what I'm missing ?