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 ( 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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

134 views 5 9
Read article

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