How to create JIRA releases automatically?

Hi all

I'm setting up a development workflow, and I am looking for some help in automating it.

How to generate JIRA releases automatically, triggered by transition? The version system I have in mind is variation of semantic versioning: Major Version (manually selected) . No of completed Epics + Stories . Number of closed prodlogs

Are there any good reference materials? Or is it even possible now?

 

1 answer

0 vote
Gaston Valente Community Champion Sep 20, 2017

Yes, it should be simple with scriptrunner or a similar tool.

There's an interface called VersionManager implemeted by the class DefaultVersionManager

https://docs.atlassian.com/jira/server/com/atlassian/jira/project/version/VersionManager.html

You can obtain a reference from the ComponentAccessor directly and to the work:

https://docs.atlassian.com/jira/server/com/atlassian/jira/component/ComponentAccessor.html

Thanks for the suggestion. our company already has JMWE, could it be used for my purpose? 

 

I'm very new to JIRA and all of it's add-ons, could you recommend a very basic tutorial of some sort, as scriptrunner appears to be lacking one?  

Wait, at this point I must note that we are using JIRA Cloud. 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

588 views 6 12
Read article

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