Hi,
I've seen a few posts hinting at this, but none seem to actually resolve it. Is it possible to auto-create multiple stories under an epic based on a custom numerical field? Speaking as a non-developer.
Create Epic > set 'Stories required' to '3' = 3 Stories would then be automatically created under the same project with the same Summary.
Any guidance appreciated.
Hi Howard,
This can't be done without the use of an addon. There are a few addons out there that can be used to achieve this (Automation for Jira / BobSwift / Adaptavist Scriptrunner). The one I'll talk about is Scriptrunner as I'm most familiar with it.
If you plan to have stories auto-created on a workflow transition, then you can look at using Scriptrunner's 'Clone Issue and Link' Post function here -https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html#_clones_an_issue_and_links
This will give you a starter on how Scriptrunner creates issues on a post function and you can use it to experiment with conditions on when to trigger the post function (ie. only trigger if custom field 'Stories' is set to '1'). From there then you can start looking at writing your own script to do multiple issue creation based on your requirements.
Have a look at this post for more information to creating multiple issues in a script - https://community.atlassian.com/t5/Jira-questions/Create-multiple-issues-based-on-the-values-on-a-custom-field/qaq-p/739645
It is a little technical but if you go through Scriptrunner's documentation and guides then a lot of it will make sense.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.