I'm trying to import CSV into our Jira and want to create a hierarchical issue list EPIC -> Story -> Task(SubTask).
I took the sample from 4) Import all other issues from the below link
Issue id | Parent | Parent summary | Summary | Issue Type | Status | Project key | Priority |
1 | EPIC Created - Ignore - Using API | Epic | To Do | INTERNALID | Medium | ||
2 | 1 | EPIC Created - Ignore - Using API | Assessment | Story | To Do | INTERNALID | Medium |
3 | 2 | Assessment | Project Kick-Off | Subtask | To Do | INTERNALID | Medium |
I tried all different way to make it work and nothing worked.
During the CSV import i'm using the below mapping :
What am I missing here?
Hello @Santanu
Welcome to the Atlassian community.
Are you trying to create issues in a Team Managed project or a Company Managed project?
For a Company Managed project, to import an Epic and a Story and have the Story become a child of the Epic you need to have a field/column in the Story row where that field is set to the Summary you used for the Epic, and you need to map that field/column to the Epic Link field.
You should not be using the Parent column for identifying the Story's parent Epic.
One thing I am not clear on from your images is that the column headers in your table don't match the column headers that show up in the Mapping screen. The Mapping screen shows that there are columns for EPIC NAME and EPIC LINK, for example, but I don't see those in the table of sample data you provided.
I'm not sure how to identify wherther it's Team managed or Company managed project.
My bad , please look into the below table I was tying to import :
ID | PARENT ID | EPIC LINK | PARENT LINK | ISSUETYPE | SUMMARY | REPORTER | EPIC NAME |
2 | internal prokect Id | Epic | Epic One Summary, and a comma | internalid | Epic One | ||
3 | Epic One | Story | Story One | internalid | |||
4 | 3 | Subtask | Sub One | internalid | |||
5 | 3 | Subtask | Sub Two | internalid |
Mapping was as below:
And validation failed with below message :
The validation process has found 2 error/s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you are in Jira viewing the project look at the bottom of the navigation panel on the left. That is where it will say 'team-managed' or 'company-managed'.
To get your subtasks created under their parent Story you need to map your Parent ID column to the Parent ID field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks .
The Jira project I'm working on is Team Managed. Does that make any difference?
Also as suggested I re-import the same CSV file with below mapping :
And got the below validation error:
I moved ahead and imported to get below result, Story was not added as a child
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It does make a difference that the destination project is Team Managed.
Using CSV import it is not possible to import issues and make them children of Epics during the import process. This problem is documented here:
https://jira.atlassian.com/browse/JSWCLOUD-17758
I have not recently tried to import issues with subtasks into a Team Managed project. I'll have to get back to you on whether or not that is possible.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was able to create new Stories and child Subtask issues in a Team Managed Software project using the External System Import / CSV option available to Jira Administrators.
Below is a sample of the CSV data I used.
Issue ID | Parent ID | Issue Type | Summary |
8 | Story | Story Summary | |
9 | 8 | Sub-task | Subtask Summary |
In the Field Mapping screen I mapped:
Column Name | Jira Field Name |
Issue ID | Issue ID |
Parent ID | Parent ID |
Issue Type | Issue Type |
Summary | Summary |
All of the Jira Fields were under the "Issue Fields" heading.
I could also create Epic issues, but as I mentioned it doesn't appear to be possible to link child stories to their parent epics through CSV import.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Trudy Claspill - Thanks a lot. I also tried , got the validation error but decided to proceed and it did work. I also tried to put the EPIC Id as Parent Id for the Story which didn't work. I can live with that. Again thanks and appreciate your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Santanu !
Despite what the article says, I would recommend that you separate the issues into 3 different CSVs: one for Epics, one for Stories, and one for Sub-Tasks. If you have any new Stories that are supposed to be linked to the new Epics, make sure you import the Epic file first and then update the Epic Links in the Story file. That should fix some of your problems.
Also, make sure you are taking into account any mandatory fields. The import won't work if you are not filling them out in your import files.
I hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Ditte Simard ,
I have another way to achive the same , Jira API, which requires tons of coding. If atlassian is demanding this can be achived through CSV import, I expect someone will stand behind to support that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.