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?
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.
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).
If anyone looking for an answer to @Siddharth Srinivasan's question,
def project = ComponentAccessor.getProjectManager().getProjectByCurrentKey("PROJECT KEY")
def versionManager = ComponentAccessor.getVersionManager()
def version = versionManager.getVersion(project.getId(), issue.getFixVersions())
Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs