Instead of copying the scripted, why not just add a post-function called "Update parameters of the Set Field Value to constant or Groovy expression Function for this transition."
"The value of field <custom_field> of the current issue will be set to the result of a Groovy expression (unless the field already has a value)."
This way, the value will not be duplicated.
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
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events