How to create JIRA releases automatically?

Anton Murakhovski September 19, 2017

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 votes
Gaston Valente
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 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

Anton Murakhovski September 25, 2017

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?  

Anton Murakhovski September 26, 2017

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

Suggest an answer

Log in or Sign up to answer