I've created a Listener against a custom field. Most examples indicate you can use:
Issue myIssue = event.getIssue()
def issueKey = myIssue.getKey()
This results in an error that getIssue() isnt a class member. I suspect this is because for a Custom Field 'event' is not a standard Event type but something like a CustomFieldChangedEvent (may not be exactly correct) and the list of class members that pop up why I try to use event object doesn't include a 'getIssue()' member,
Any ideas?
which is your data center version ? App client is java ?
I didn't provide enough details! This is related to creating a Groovy listener within ScriptRunner. Have a custom data field I've added a ScriptRunner listener to.
I'll have to go back into the lab to check data center version.
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.