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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.