I am trying to use listeners to avoid using the asset automations in Jira service management. I need to update attributes when certain other attributes are updated. I am having a problem get the asset key from the event and have been unable to find exactly how to do that. I found the info for issues (HERE) but not assets.
I am new to groovy and have been trying to stick to using HAPI as much as possible since the regular groovy scripts are still a little beyond me…for now. Any help or guidance would be greatly appreciated.