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?
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 ....
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)
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)
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!
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.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
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!
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