Feature #6965

Copy Function - Option to Copy Subtasks?

Added by John S over 1 year ago. Updated about 1 month ago.

Status:New Start date:2010-11-23
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Issues
Target version:Candidate for next major release
Resolution:

Description

I am wondering if there is a way to make the copy function, copy the subtasks related to it? This functionality is similar to the move function where if you move a main task, all the main tasks sub-tasks are moved as well.

Maybe there should be an option on the copy and move pages that lets you say wether or not you want to also copy/move the subtasks associated to the main task.

I couldn't find any open issues related to this so I am logging this as a feature request.

Thanks,
John

redmine_issue_subtasks.zip - issue subtask plugin (3.5 kB) Tiemo Vorschuetz, 2012-02-16 00:28


Related issues

related to Feature #6434: Copy task with children to a new project. New 2010-09-20
duplicated by Defect #7023: Copy Function Doesn't Copy SubTasks Closed 2010-12-02

History

#1 Updated by John S over 1 year ago

Anyone able to give guidance on how to do this? I am trying to make this change on my own. I believe the change needs to be made in the issues.rb model and the issue_moves\new.rhtml view... perhaps changes to the issue_moves_controller.rb file need to be made as well... and the en.yml file?

Any help is appreciated.

Thanks!

#2 Updated by yannick quenec'hdu about 1 year ago

John S wrote:

Anyone able to give guidance on how to do this? I am trying to make this change on my own. I believe the change needs to be made in the issues.rb model and the issue_moves\new.rhtml view... perhaps changes to the issue_moves_controller.rb file need to be made as well... and the en.yml file?

Any help is appreciated.

Thanks!

+1

#3 Updated by Zbynek Drlik 10 months ago

+1

#4 Updated by Etienne Massip 7 months ago

  • Assignee deleted (Jean-Philippe Lang)
  • Target version set to Candidate for next major release

#5 Updated by Etienne Massip 7 months ago

Patch can be found in #7023.

#6 Updated by Tiemo Vorschuetz 3 months ago

Hi,

I also was looking for a solution to copy all subtasks when copying the main task. In addition it was necessary for me to allow copying across projects including all subtasks. The author of all newly created tasks should be automatically set to the user who copied the main task (#8452).

I merged all these approaches into a plugin for 1.3.1.

Please feel free to test it.

Regards
Tiemo

#7 Updated by Radek Karban about 1 month ago

+1

#8 Updated by Cassiano Monteiro about 1 month ago

+1!!

Great plugin Tiemo, thanks a lot! I was looking for something like this long time ago!

One thing: it doesn't copy the relationships between issues along them. Also, when I tested it, it assigned the target version to the child issues, but not to the parent one. Can you take a look at that?

Many thanks!

Also available in: Atom PDF