It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way to automatically release a Fix Version based on release date?

Basically just as above. I can't find any built in way of doing this, is there any kind of plugin etc which I can use to automatically release versions as soon as their release date comes up?

Thanks in advance

1 answer

The system does not provide means to do this out of box.

But it would be trivial too write a plugin that uses:

* JIRA Scheduler / Services
* VersionService - https://docs.atlassian.com/jira/latest/com/atlassian/jira/bc/project/version/VersionService.html

To run on a nightly basis, find Versions that "release" today, and move them into release.

https://developer.atlassian.com/display/JIRADEV/JIRA+Plugin+Guide

Thanks for the response. You say that it would be too trivial to write a plugin to accomplish this, how would you suggest implementing these calls?

//get all projects

// get all versions for project - https://docs.atlassian.com/jira/latest/com/atlassian/jira/bc/project/version/VersionService.html#getVersionsByProject(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.project.Project)

// check status and date isOverdue

// release versions that are unreleased with todays date

releaseVersion

Is there a plugin I can use to run this script?

If you don't want to write your own service plugin, http://www.j-tricks.com/1/post/2010/11/jira-service.html

You can install the script runner plugin and write a Groovy script that uses the same APIs (groovy and Java are compatible to intermix)

https://jamieechlin.atlassian.net/wiki/display/GRV/Services

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted 3 hours ago in Jira

Upcoming Enterprise releases targeting Q3 2019: Jira Software 8.5 & Jira Service Desk 4.5

Since launching the Jira Software 8.0 and Jira Service Desk 4.0 platform releases in February, many of you have been asking when the next Enterprise release will be so you can take advantage of the m...

164 views 0 3
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you