Hello,
I am creating a Adaptavist Groovy Listener and I have everything working but I want to change it to use the customfield id or by passing in "customfield_19419" instead of "My Variable Name" is that possible?
I just do not want to update the code if another admin decides to change the name of the field.
def change = event?.getChangeLog()?.getRelated("ChildChangeItem")?.find {it.field == "My Variable Name"}
I don't have any experience with Adaptavist Groovy Listener, but with Automation for Jira, we could only use the customfield ID. Have you already tried it, and it not work? The syntax we used to reference the customfield was issue.fields.customfield_10603.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.