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.
It looks like you're new here. Sign in or register to get started.