CSV import Sub-task error

julian bankston September 3, 2012
When I am importing a CSV from Redmine I receive the error below. I have a parent id and an issue id fields in the CSV file as mentioned in the documentation.

2012-08-24 23:02:54,529 INFO - Importing: Issue Links & Subtasks
2012-08-24 23:02:54,529 INFO - ------------------------------
2012-08-24 23:02:54,529 INFO - Only new items will be imported
2012-08-24 23:02:54,529 INFO - Linking 'API-3' and 'API-2' as sub-task-link
2012-08-24 23:02:54,530 ERROR - Issue 'API-3' is not of a sub-task type (Chore). It will NOT be a sub-task of the issue 'API-2'
2012-08-24 23:02:54,530 INFO - Linking 'API-4' and 'API-2' as sub-task-link
2012-08-24 23:02:54,531 ERROR - Issue 'API-4' is not of a sub-task type (Chore). It will NOT be a sub-task of the issue 'API-2'
2012-08-24 23:02:54,531 INFO - Linking 'API-5' and 'API-2' as sub-task-link
2012-08-24 23:02:54,536 ERROR - Issue 'API-5' is not of a sub-task type (Chore). It will NOT be a sub-task of the issue 'API-2'
2012-08-24 23:02:54,536 INFO - Linking 'API-6' and 'API-2' as sub-task-link
2012-08-24 23:02:54,537 ERROR - Issue 'API-6' is not of a sub-task type (Chore). It will NOT be a sub-task of the issue 'API-2'
2012-08-24 23:02:54,537 INFO - Linking 'API-7' and 'API-2' as sub-task-link
2012-08-24 23:02:54,538 ERROR - Issue 'API-7' is not of a sub-task type (Chore). It will NOT be a sub-task of the issue 'API-2'
2012-08-24 23:02:54,538 INFO - Linking 'API-8' and 'API-2' as sub-task-link
2012-08-24 23:02:54,539 ERROR - Issue 'API-8' is not of a sub-task type (Chore). It will NOT be a sub-task of the issue 'API-2'
2012-08-24 23:02:54,539 INFO - Linking 'API-9' and 'API-2' as sub-task-link
2012-08-24 23:02:54,540 ERROR - Issue 'API-9' is not of a sub-task type (Chore). It will NOT be a sub-task of the issue 'API-2'
2012-08-24 23:02:54,540 INFO - ------------------------------
2012-08-24 23:02:54,540 INFO - Finished Importing : Issue Links & Subtasks
2012-08-24 23:02:54,540 INFO - ------------------------------
2012-08-24 23:02:54,542 INFO - No issues need to be reindexed.

 

1 answer

1 accepted

0 votes
Answer accepted
Chris Tooley September 3, 2012

You either need to change the Issue Type in your import or you need to set that field to mapped and map Chore to Sub-Task.

julian bankston September 3, 2012

Thanks Chris.

Suggest an answer

Log in or Sign up to answer