Create subtask per participant Jira or Script Runner

Gova Q September 10, 2020

Hi I am new on Jira and I have been assigned to a project where I have a main Issue type let's call it: PARENT

And then once the PARENT gets the status: IN PROGRESS it automatically create a subtask per Participant and assign this one to each one and also takes the summary from this PARENT issue and then set it as the summary of each Subtask.

I know that action should be shot in a transition. However, I have tried to figure it out how can I accomplish this but it's hard for me to catch something.

I know my work has an app called ScriptRunner which for what I have been looking for it's a good one that could help me out with this, but I do not have fully knowledge about it.

Thank you in advance for all your help, time and information that can help me to reach this goal.

Best Regards.

1 answer

1 accepted

0 votes
Answer accepted
Aline
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 11, 2020

Dear Gova,

thank you for your question. You have a quite interesting implementation there! :) 

Scriptrunner could indeed help you to achieve what you are looking for. 

Take a look into this post: https://community.atlassian.com/t5/Jira-questions/Script-Runner-create-sub-task-post-function-set-component-and/qaq-p/89392

Moreover, you could use the post-function on the transition before "in progress" to trigger the action of creating a sub-task. Remember to put your post-function AFTER the post-function called "re-index" issues, otherwise you might run into problems. 

Let us know if the article helps or if you have more questions.
Cheers
A. 

Gova Q September 14, 2020

Dear Aline, 

     Thank you for your help, time and information. Let me check the article and then hopefully start coding the solution so I can get back to you with my findings.

I will keep you informed.

Have a great day and stay safe.

Cheers,

Gova.

Gova Q March 29, 2022

Hi Aline!

Thank you for your information. I have created the post function and also I have created a custom script that allowed me to create the subtask per participant.

Have a great day.

Best Regards.

Suggest an answer

Log in or Sign up to answer