Hi,
I want to update IssueLinks when a costum field has changed.
The custom field is script runner issue picker, and I want to mirrow the picked issues from that field, into the system field "IssueLink" that other Plugins can use that informations.
To understand my overall goal: I want to restrict the IssueType which can be picked from. Say, only Features and Stories can linekd to an Epic.
No I'm looking for a way to react on the custom field picker. Which I hope is possible with the "CustomFieldUpdateEvent". As I understand the listener it gets all the objects which are custom fields and updated. So how can test if a special field is updated (e.g. Feature Picker)
In this Post I found some help, but not the answer:
I get an error in this line:
def change = event?.getChangeLog()?.getRelated("ChildChangeItem").find {it.field == "Name of custom field"}
What events I have to import?
Can anyone support me on that?
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.