Project

General

Profile

example on issue import with parent task

Added by Hong Sun over 7 years ago

I tried to import a CVS file with parent task but unsuccessfully so far -- no parent relationship after import. I guessed I don't get what it means in the following link:
HowTo_import_issues

"Parent Issue
If the field starts with an #, the issue with that id is referenced. If the field contains a number in references the index of the issue in the import. Note that it's not the line number as line 1 contains the header.
"

the following is one option I tried. Any help is appreciated.

thanks,
Hong

#    Subject    Start date    Due date    Predecessors
164    tas A    1/1/2016    1/31/2017    
626    tas B    1/1/2016    3/1/2016    164
628    task C    1/1/2016    3/1/2016    164
629    task D    1/1/2016    3/1/2016    626
630    task E    1/1/2016    3/1/2016    626
380    task F    1/4/2016    1/31/2017    164

Replies (1)

RE: example on issue import with parent task - Added by shengqing yang over 7 years ago

You may have a try on this example:

Pid Subject Startdate Duedate
#164 tasA 1/1/2016 1/31/2017
#626 tasB 1/1/2016 3/1/2016
#628 taskC 1/1/2016 3/1/2016
#629 taskD 1/1/2016 3/1/2016
#630 taskE 1/1/2016 3/1/2016
#380 taskF 1/4/2016 1/31/2017

According to the help doc: http://www.redmine.org/projects/redmine/wiki/HowTo_import_issues#Parent-Issue
If the Id field is started with an #, like #3, it refers to an exsited issue in your redmine.
If the Id field is just an number, like 3, it refers to the third issue in your importing cvs file.

Hope this helps.

    (1-1/1)