I am thinking about creating a release workflow for some of my projects. I would like to create a "Release" issue, and have a transition called "Release", which would close the JIRA release version (mark the version as "Released") associated with that issue (the "Fix Version" of that issue). Currently I manually administer the project, click the cog icon next to the release version, then mark it as released.
Can this be done?
You will have to develop a post function that does this. Use VersionManager.
No idea what you mean at all. I am not finding the documentation clear at all. So what exactly am I mean to do with a post function and I have no idea how to use VersionManager. Perhaps you could give me step by step guide as I am new to Jira. The only reason I am using Jira is for defect management from TestRail.
Thanks
Sian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This post is nearly 5 years old, and things have moved on a bit. As an old question, only a limited number of people will have seen your reply too.
I suggest you re-ask the question of the whole community, detailing your scenario, mentioning that you're using TestRail explicitly (as this question is not about TestRail at all).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If anyone looking for an answer to @Siddharth Srinivasan's question,
import com.atlassian.jira.component.ComponentAccessor
def project = ComponentAccessor.getProjectManager().getProjectByCurrentKey("PROJECT KEY")
def versionManager = ComponentAccessor.getVersionManager()
def version = versionManager.getVersion(project.getId(), issue.getFixVersions())
versionManager.releaseVersion(version, true)
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.