Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to copy subtask from one story to another story

Hi There, I am setting up a project in JIRA, this project has issues types story and subtask.

In the project the story are unique but the subtasks under stories might be the same across many stories.

Is there a way to copy a subtask from userstory to another(using script runner etc)

I do not want to clone the subtask and then move it. It would be great if we can copy it directly.

thanks a mill

 

2 answers

1 accepted

0 votes
Answer accepted

Updated in September 2020:

Today, there are lots of other apps/options that you can use to properly copy the sub-tasks from another issue or properly create a template of sub-tasks that can be easily added when creating a new issue.

In Jira Cloud, you can use Jira automation under Project settings > Automation to properly create a determined set of sub-tasks with specific fields when an action is triggered. In the example below, the sub-tasks are created when a label is added to the parent issue:

Screen Shot 2020-09-15 at 21.02.54.png

In Jira Server, we have the same functionality provided above in Jira Cloud, however, you must install the app Automation for Jira Server, which has a free and a paid version. Also, you can find more apps to achieve this goal in our Atlassian Marketplace, as mentioned by @miikhy before.

Cheers!

Petter Gonçalves

1 vote
miikhy Community Leader Nov 30, 2017

Hi Miller,

There's a plugin called Exocet which is done for that precise purpose: copying items and linking them eventually. It allows you to create actions (buttons) in subtasks which will trigger the action. I'm pretty sure it would work well in your case if you want to try it out!

A great alternative would be to have an issue (Story + subtasks) template and copying the story would give you all the subtasks as well, instead of creating new Stories you could just clone that template and reuse it, seems a bit unfriendly but should work as well.

Scripting is also an option, I know Power Script allows you to create buttons in Jira issues which can trigger script execution, a script could be associated with that button to generate the subtasks with default values or simply copying current subtasks to another parent.

Let me know if any of those solutions seems OK for you!

Cheers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

260 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you