I can't import sub-tasks and I wonder if it's from the configuration file.
Sample file:
IssueType, Summary, Labels, Original Estimate, Due Date, Sequence, My parent
Story,"Define Technical Vision", "Activity", , , 1,
Sub-task,"Describe the System Context","Task" , ,2,1
Sub-task,"Develop Technical Vision","Task", , 3,1
Story,"Business Objective Understanding", ,4,
Sub-task,"Build Software Engineering and Product Management Knowledge" , , 5,4
Sub-task,"Define Software Quality Management Measures", , 6,4
Sub-task,"Assess Skill/training gap", , 7,4
Config file:
{
"config.version" : "2.0",
"config.project.from.csv" : "false",
"config.encoding" : "UTF-8",
"config.email.suffix" : "@",
"config.field.mappings" : {
"IssueType" : {
"jira.field" : "issuetype"
},
"My parent" : {
"jira.field" : "subtask-parent-id"
},
"Summary" : {
"jira.field" : "summary"
},
"Labels" : {
"jira.field" : "labels"
},
"Sequence" : {
"jira.field" : "issue-id"
},
"Original Estimate" : {
"jira.field" : "timeoriginalestimate"
},
"Due Date" : {
"jira.field" : "duedate"
}
},
"config.value.mappings" : { },
"config.delimiter" : ",",
"config.project" : {
"project.type" : null,
"project.key" : "MW",
"project.description" : null,
"project.url" : null,
"project.name" : "Methods Workspace",
"project.lead" : "gina.boca@ro.ibm.com"
},
"config.date.format" : "dd/MMM/yy h:mm a"
}
How should I map Sequence and My Parent ? I linked Sequence with Issue Id from Category Links & Sub-tasks and My Parent with Parent ID from the same category. However the import of sub tasks is unsuccessful.
Thank you for your guidance.
Use the JIRA ID for parent ID like ABC-123 (the ones in the URL). Putting this out here since I found it today. Other places it mentions that you have to use the parentId which is not correct.
Thanks. It worked!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All are giving wrong answers and Even JIRA documentation is wrong. The parent ID should not be numerical but the existing key. Here is example of how to add sub-task to existing task or story. All are giving wrong answer by importing new task and sub-task.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Gina Preoteasa ,
This is explained here - https://confluence.atlassian.com/adminjiraserver/importing-data-from-csv-938847533.html
The fourth issue will be sub-task of the second issue upon import, assuming you match the 'Issue ID' and 'Parent ID' fields in your CSV file to the Issue Id and Parent Id Jira fields. Issue ID can be any unique number, but that should be mentioned in the parent ID against the sub-task column.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, but it doesn't work.
Can you please share directly a sample csv and configuration file , please, so I can customize it afterwards to my needs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Gina Preoteasa - The attached screenshot is a simple csv file. You can create one with those columns and try the import.
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.