Modify

Opened 4 years ago

Closed 2 years ago

#8409 closed enhancement (worksforme)

Support import nested task automatically

Reported by: okamototk Owned by: farialima
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 4 years ago.
support nested task by indent

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by okamototk

support nested task by indent

comment:1 Changed 4 years ago by farialima

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 4 years ago by farialima

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 2 years ago by farialima

  • Resolution set to worksforme
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.