I am trying to create a post function using script runner(JMWE) using below script to prefix a custom field value to Summary.
issue.get("customfield_XXX") + " " + issue.get("Summary")
Above script is working fine when testing in post function groovy script console, but not working after publish. I added the post function after create event.
you need to use a Set Field Value post-function, not a Scripted (Groovy) post-function. And place it at the top of the list.
In the Set Field Value post-function, select "Groovy Expression" as the value type, and use your script as the value.
Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event