Hello,
Using Script Runner can Jira create sub-tickets automatically?
For example if I choose the drop down custom field value to be 'YES' for a custom field value 'Laptop Required', can Jira create a sub-task for that and assign it to respective team member?
Thanks in Advance!!
Yes you can create sub-tasks automatically with Script Runner. This function is already built into the add-on's postfunction builtin scripts.
You can find documentation on this here - https://scriptrunner.adaptavist.com/5.3.9/jira/builtin-scripts.html#_create_a_sub_task
Hello Daniel,
Thank You very much for the quick response!!
Seems like this possible after the transition has happened(have these conditions in the post functions for Jira to create auto-tickets) but can we have sub-tickets created based on the Custom field values? with out any transition changes?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see. In that case, you should look into Builtin Listeners. Documentation on how to use Listeners with Scriptrunner is here - https://scriptrunner.adaptavist.com/5.3.9/jira/listeners.html
I suggest you read through what a Listener is in Atlassian's KB to give you an idea of how it works - https://confluence.atlassian.com/adminjiraserver071/listeners-802592235.html
Another point to note is to make sure you test this out in a dev/staging instance as this could go wrong very quickly and you end up with a lot of duplicate sub-tasks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.