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
Community showcase
Posted in United States

Live! - Austin ACE -- Summer BASH 2019

Hey Austin! Come join us for our 2019 Atlassian Community Summer BASH as we transition ourselves into party status! Bring an attachment, log a great time, and collaborate with new friends as we celeb...

12 views 0 0
View post

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you