Create generic sub-tasks for already created jiras

yolanda moya April 29, 2016

Hi,

I have around 200 existing jiras in the project. It has been decided that each JIRA will contain 3 generic sub-tasks. Is there a way I could create these 3 sub-tasks for the 200 jiras with a script?

Thanks in advance

2 answers

0 votes
yolanda moya May 2, 2016

Thank you for the answer.

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
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.
April 29, 2016

JIRA Command Line Interface (CLI) makes it easy to automate tasks like this. If you have a JQL query that identifies the 200 issues that you need to create subtasks for then, it would be something like the following:

jira --action runFromIssueList --jql "..." --common "--action createIssue --parent @issue@ --type Sub-task --summary \"...\"  "

Run that for each of the 3 subtasks you want to create.

Suggest an answer

Log in or Sign up to answer