In all 3 cases you have to:
For workflows, use WorkflowManager and its methods getWorkflowClone(name) and updateWorkflowNameAndDescription(username, workflow, newName, newDescription).
For Field Configurations it's a bit confusing, because internally they are called "FieldLayout" (take a look at the URL when manually editing a Field Configuration :D). Use FieldLayoutManager#getEditableFieldLayout(id) to get the FieldLayout, then FieldLayout#setName(newName), then FieldLayoutManager#storeEditableFieldLayout(myFieldLayout).
For Screen Schemes, use FieldScreenSchemeManager#getFieldScreenScheme(id), then FieldScreenScheme#setName(newName), then FieldScreenScheme.save().
Use com.atlassian.jira.component.ComponentAccessor to get the Managers, as I showed in your previous question.
Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...
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