Creating multiple tasks with the same sub-tasks

I have hundreds of tasks that need to be entered in Jira, and they all require the exact same three sub-tasks. Is there a more efficient way to do this than create task, create sub-task 1, create sub-task 2, create sub-task 3, repeat until my eyes-bleed? Thanks.

1 answer

I will use JIRACLI and create a shell script to feed the data.

 

jira --action createIssue --project "zwork" --type "1" --summary "This is content"

jira --action createIssue --project "ZFIELDS" --type "Sub-task" --summary "This is content." --parent "ZFIELDS-1"

I didn't know that existed. Thanks. Unfortunately, my company doesn't have that component and probably won't for years given how long purchases take to get approved.

The JIRACLI is just an easy to way to use with the native JIRA Interface. If you want, you can just create your own script to do the same thing.

How would I do that without a CLI? I haven't been able to find anything about scripting JIRA other than how to change interface colors.

You could use Bob Swift's COT add-on to add a post function to the create transition of a specific issue type to also create the subtasks. Or go your own way with the Script Runner add-on

Take a look at the JIRA REST API doc (https://docs.atlassian.com/jira/REST/latest/). Basically, you will need a script that can do the basic REST calls, like a shell script (curl) or groovy script. That is your best bet. Otherwise, ask your team to purchase the JIRACLI plugins and such.

I'll look into all these things. Thanks for the suggestions everyone.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,269 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot