Subject says it all. I'm building a custom listener with Script Runner that notifies a slack Channel when custom fields are created. I have a listener sending basic notifications when custom fields are Created, Deleted, and Updated but I'd like to enrich the notification with details such as the field name and who made the change.
Eventually I'd like to roll this to workflow and projects events.
@Jamie Echlin [Adaptavist], @Nic Brough [Adaptavist] any thoughts on this one?
Did you check out the javadoc: https://docs.atlassian.com/jira/latest/com/atlassian/jira/event/issue/field/CustomFieldUpdatedEvent.html ?
Surprising, I can't see the actioning user there... most events let you get the user that did it.
So for the examples above, you can get the cf name with:
I guess what was throwing me is that the inline script editor shows an error when I use the example above... "No such property: Name"... specifically:
groovy.lang.MissingPropertyException: No such property: name for class: com.atlassian.jira.event.issue.field.CustomFieldCreatedEvent
The above example still generates the error above.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG