Please try not to cross-post. We need to respond on all channels otherwise it looks like we don't care, which takes us a lot of additional time, and dilutes the value for other people using it.
import com.atlassian.jira.component.ComponentAccessor def customFieldManager = ComponentAccessor.getCustomFieldManager() def cf = customFieldManager.getCustomFieldObjectByName("My Field") issue.setCustomFieldValue(cf, UUID.randomUUID().toString())
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot