Hi,
I am trying to update approved? field as a additional condition using fast track transition. Below is my additional code script but it is not working.
def cf = customFieldManager.getCustomFieldObjects(issue).find {it.name == 'Approved?'}
issue.setCustomFieldValue(cf, "Approved")
I did tried below but no luck.
def cf = customFieldManager.getCustomFieldObject(10300)
issue.setCustomFieldValue(cf, "Approved")
Please assist us.
Hi,
Thanks for getting back. Unfortunately it is still not working. Is there a way to use REST API to update the field?
First variant looks good to me provided you used correct custom field name.
Try adding issue.store() at the end
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.
Register now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.