How could I make Jira to automatically create a new issue, when I created a new version of a project?

I would like Jira to automatically create a number of issues for a project, when I create a new version of a project. The reasons are quality aspects: automated creation of issues. It would be nice, if I could customize the number and type of issues, dependent on project.
Is it possible?
If yes, how? Jira out-of-the-box, some plugin, customizing or by writing a new plugin?

5 answers

1 accepted

You can use JJupin, it has an ad-hoc script runner for our language, SIL http://confluence.kepler-rominfo.com/display/JJUPIN/SIL+Runner+Gadget+v2

The routine to add a new version is http://confluence.kepler-rominfo.com/display/SIL/admAddProjectVersion

This way you can script creation of the new version, add initial issues, etc. Not automated (for now) but reusable ....

Damn it, I saw it late, JIRA 4.4 (that's old!)

0 votes

Yes, but I don't think 4.4 supports it.

I'm afraid you will need to do some coding, but the basic approach is "write a listener" - these catch events and execute whatever code you need. So you'd want to catch "new version created", and you'll find that the event data will contain at least the version and project, which should be enough for your code to decide what to do. There's plenty of examples of creating issues littered around the docs and Answers. (But you need to decide if this is the right approach for you before I start blathering about that bit)

https://developer.atlassian.com/display/JIRADEV/JIRA-Specific+Atlassian+Events

On 4.4, I'm really not sure when "version events" were introduced. I want to say 5.0 but my memory isn't great. (You're fine on Listeners, they've been there since at least 3.something)

Hi Nic,

thank you for your very fast answer! My first thought after searching for it on the Internet was that someone has to code something for that purpose. In this phase I am not yet to decide if coding is the right approach for us.

I asked Atlassian Support the same question. They told me there is a feature request on this: https://jira.atlassian.com/browse/JRA-10378

I am not sure if this is what we need. On the other hand, there is no guarantee that a feature request will be realized in the near future not to mention if at all.

They also told me, I could try the plugin Create On Transition for JIRA for my purpuse and / or maybe ask the vendor if my intention is possible with this commercial plugin.

Has anybody some experience with this plugin and maybe could tell me, if my intention is to realize with it?

Hmm, I'm not sure either of those are related. They both talk about creating new issues as a result of changing an existing issue, whereas I think your question was more about creating issues when a version is created in a project. The code you might find in them is probably what you'd need to handle the creation side, but not the "detect version create" part. Having said that, catching an event is the easy bit in a listener!

Hi Nic,

thanks again for your comment.

Create On Transition for JIRA is a workflow post function, so not really this situation. How to create projects or sets of issues based on a template techniques can be used to automate creating versions and related issues. And there is a note in that if you want to do this as part of a workflow step.

Hi Nic,

thanks for the explanation.

we have Jira Version 4.4.4 but an upgrade to a newer version of JIRA is upcoming

0 votes

It doesn't change the suggestions, but it does mean that you can use Radu's plugin because it works on Jira 6.x

You'll still need to catch the "version created" event and write some code to create an issue.

We plan to upgrade to Jira Version 6.0.5. How does that change some suggestions?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,831 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot