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 Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

63 views 0 2
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