Hi All,
Greetings!
Need your support here, When a story is created we will require below 4 subtasks to be created along with it, rest all configuration would remain same (field & Screen configuration etc)
@Manoj I am assuming that you are asking how to do this when the issue is created. You can easily set this up using automation.
@Brant Schroeder Hello, Yes right but that automation is not enabled, i do have scriptRunner, is that doable via scriptRunner?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Manoj Yes. On the issue create transition in the workflow you will just need to add a post function and use the Create a sub-task [ScriptRunner] post function to add the sub-tasks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Brant Schroeder Thanks, i am at the same page, but writing script is challenge, as it's completely new to me, any guidance further from your end would help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Manoj If you use the post function listed above the issue creation is very simple as majority of the settings would be done through the GUI. If you would like to add additional information to the sub-task that can be done through additional issue actions and you can find snippets to help you. You can also look at the documentation here: https://docs.adaptavist.com/sr4js/7.10.0/features/workflows/post-functions/built-in-post-functions/create-a-sub-task?utm_source=product-help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Brant Schroeder Hello, GM, thanks alot for sharing your inputs on my request, i have tried above steps to execute, however this only create 1 sub-task at a time, but i want to have all 4 sub-task at one go. any suggestion pls.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Brant Schroeder I realized the error happened during performing this execution, its corrected and now it is working as expected.
Thanks alot Brant.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Brant Schroeder Hello, now i have few fields to make mandatory on these sub-task created (which is essentials to fill), is this done via scriptrunner and how?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.