Yes, have a look at com.atlassian.jira.project.version.VersionManager#createVersion, eg
import com.atlassian.jira.component.ComponentAccessor def projectManager = ComponentAccessor.getProjectManager() def project = projectManager.getProjectObjByKey("ABC") def versionManager = ComponentAccessor.getVersionManager() versionManager.createVersion("1.1", new Date() + 7, "the description", project.id, null)
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