I want to remove an issue from the current active sprint if the user changes the status to "Cancelled". I can use the built-in workflow post function, but I would have to add that to multiple transitions on multiple workflows. I was hoping I could add a behavior that triggers whenever an issue for certain issuetypes was transitioned to "Cancelled"
Thanks,
Ben
Behaviours are front-end functions, you'd need to write them to work in several different places, REST would ignore them, as would certain automations and other scripts.
If you don't want to do it with a post-function, then look next to a "listener" that can catch the event (whatever it is - ideally, a custom "cancel" would be ideal, but if your workflows are using different events, your code could interrogate the event for old status and new status, so it wouldn't really need to care) and blank out the sprint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.