Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sub-Task ID CSV import

Shaun Parker September 10, 2019

I would like to import (using the CSV importer) the following:

1. Issues

2. Sub-Tasks related to these issues.

However, I want to RETAIN the original Sub-Task ID and not have a new one created.

So ...

XXX-1234 is the Issue ID

abcd-1234 are Sub-Tasks of the Issue ID

efgh-1234 are Sub-Tasks of the Issue ID

I want to import using CSV these Sub-Tasks and have them associated with the Issue ID as abcd-1234,  efgh-1234 and not a new issue-keys e.g. ijkl-1234.

I hope this makes sense to somebody.

Thanks

1 answer

0 votes
Nic Brough -Adaptavist-
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.
September 11, 2019

There's a couple of things wrong here.

First, a new issue always takes the next free number in the project, you cannot set issue keys.  (You can give Jira the issue key, but that tells it "edit existing issue if there is one")

Second, your issue keys are invalid so it can't work anyway.  Sub-tasks belong to parent issues, which belong to projects.  By definition, a sub-task is in the same project as its parent, and hence have the same project key.  Your issues would have to be

  • XXX-1234
  • subtask: XXX-1235
  • subtask: XXX-1236
  • (and obviously, you can have gaps - XXX-1400)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events