Hello All - can someone provide a sample code to archive a JIRA fix version programatically, i.e. within a JIRA plugin code? Thanks.
Use VersionManager - archiveVersion method.
https://docs.atlassian.com/jira/latest/com/atlassian/jira/project/version/VersionManager.html#archiveVersion%28com.atlassian.jira.project.version.Version,%20boolean%29
You can inject the manager class in a constructor or get it using ComponentAccessor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still have a question?
Get fast answers from people who know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.