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)
I regularly do this as part of my release process using JIRA Command Line Interface using addVersion . Similarly for releasing versions.
You can do this from a command line script using the JCLI client or if you use Confluence, it can be easier using CLI Plugin for Confluence and a page like:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.