Modify

Opened 14 years ago

Closed 12 years ago

#8409 closed enhancement (worksforme)

Support import nested task automatically

Reported by: okamototk Owned by: François Granade
Priority: normal Component: TicketImportPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

I use tracsubticket and ticket import plugin.

I would like to create subtask automatically by indent. For example.

summary..
Account Management ...
Design AM
Coding AM
Test AM
Cart UI ...
Design Cart
Coding Cart
Test Cart

I wrote the patch to treat indented task as child task of low level indented task. In above example Design AM,Coding AM,Test AM are subtasks of Account Management.

If you prefer, take the patch.

best regards,

Takashi Okamoto

Attachments (1)

subticket-suppot-for-trunk.patch (2.5 KB) - added by okamototk 14 years ago.
support nested task by indent

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by okamototk

support nested task by indent

comment:1 Changed 14 years ago by François Granade

The patch seems missing changes to importer.py...

Also, maybe it would be good to also patch the "preview" processor to show the user what/if the parent will be imported as parent (at least have a message that says it ?)

comment:2 Changed 14 years ago by François Granade

Finally, could you create a test for your changes ? it's *relatively* easy to create a test, see http://trac-hacks.org/ticket/7812#comment:6 for some details (tell me if you need any more help)

comment:3 Changed 12 years ago by François Granade

Resolution: worksforme
Status: newclosed

If I'm correct, the fix for #7812 in [11745] is addressing this issue also: simply reference the parent with a (row) number, and it'll work. I believe it's a better solution. Feel free to reopen if you don't agree.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain François Granade.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.