Project

General

Profile

Actions

Feature #4403

closed

Copy with related task

Added by Alain V. about 15 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2009-12-15
Due date:
2013-04-17
% Done:

0%

Estimated time:
Resolution:

Description

In our way of working in our company, when we get a ticket on our software from the customer that we consider as bug, we copy it to the validation project for debugging.
The option copy of a task is nice for that, but would it be possible to create also automatically the related task.
So for us for a bug in our validation project we would know this one comes from a customer and not from our validation process.
Thank you


Files

implement_custom_copies.patch (6.08 KB) implement_custom_copies.patch implementation of custom copies (missing creation UI) James Bernard, 2009-12-21 02:57
0100-adstec-copy_and_relate.patch (2.09 KB) 0100-adstec-copy_and_relate.patch patch copy and relate Karl-Heinz Nirschl, 2010-05-05 14:44
copy_to_another_project_and_relate.patch (1.75 KB) copy_to_another_project_and_relate.patch Paul Preece, 2010-06-07 13:28
ro4403-copy_improvements.patch (5.18 KB) ro4403-copy_improvements.patch Patch created against trunk @ r7630. Mischa The Evil, 2011-10-20 22:26
ro4403-copy_improvements.jpg (31.6 KB) ro4403-copy_improvements.jpg Screenshot of the patched feature. Mischa The Evil, 2011-10-20 22:26

Related issues

Related to Redmine - Patch #7447: Patch for improved move/copyNew2011-01-25

Actions
Related to Redmine - Patch #7586: Create "related to" relationship during issue copyingClosedJean-Baptiste Barth2011-02-09

Actions
Related to Redmine - Feature #6899: Add a relation between the original and copied issueClosedJean-Philippe Lang2010-11-15

Actions
Related to Redmine - Feature #1701: New Relation for Copying Branch Issues to other VersionsClosed2008-07-28

Actions
Has duplicate Redmine - Defect #8863: Task copy bugClosed2011-07-20

Actions
Actions #1

Updated by Jean-Philippe Lang about 15 years ago

Do you mean automatically adding a relation between the original issue and the copied issue, so that the copied issue is related to the original issue?

Actions #2

Updated by Alain V. about 15 years ago

Jean-Philippe Lang wrote:

Do you mean automatically adding a relation between the original issue and the copied issue, so that the copied issue is related to the original issue?

Exactly Jean-Philippe!

but not necessary automatically. Maybe be optionnal in the copy window or configurable.

Actions #3

Updated by Mischa The Evil about 15 years ago

Alain V. wrote:

Jean-Philippe Lang wrote:

Do you mean automatically adding a relation between the original issue and the copied issue, so that the copied issue is related to the original issue?

Exactly Jean-Philippe!

but not necessary automatically. Maybe be optionnal in the copy window or configurable.

+1 on such a feature. But I personally think that it's best to make it indeed optional through e.g. a checkbox on the issue copy-view. Maybe a new issue-relation type would be best too? One like "Copied" or "Branched"? Any thoughts?

Actions #4

Updated by James Bernard about 15 years ago

I wrote a patch that addresses that request

This patch implements what I call "custom copies" which are standard copies but with all settings automatically set, so that only one click is needed. "Related to" relation is also automatically set between the copied issue and its copy.

A custom copy defines a source issue by its project/tracker/status and the target issue by its project/tracker/status. In addition, it is possible to define a new status for the source issue once the copy is done.
Custom copies also have a label. When an issue is shown, only custom copies whose source issue criteria is matching the shown issue are displayed in the issue toolbar, beside usual Update/Move/Copy/Delete links.

Example: a custom copy labelled "confirm as bug" defining automatic copy from Hotline/Hotline/New to Validation/Bugs/New, with automatic change of Hotline/Hotline/New to Hotline/Hotline/Confirmed as bug after the copy.

Note: The patch does not include a form for creating custom copies. As of now, I'm creating them through SQL command...
Moreover I'm really a newbie in Ruby/Rails/Redmine world so the code is probably quite poor/wrong in some areas, I'm just providing the patch as an example of design...

Actions #5

Updated by Bill Tihen almost 15 years ago

This patch seems VERY useful. We have over 200 users who submit tickets -- it would be GREAT if we had a "ME TOO" feature! That then created a related task (but not the regular relationship) -- we already use the regular relationship for related, but different tasks.

Also if a different relationship (a copied from or a "me too" relationship is available -- then that could be optionally extended so that we could manage one request and have all tasks reflect the changes made to the master task.

Actions #6

Updated by Alain V. almost 15 years ago

Bill Tihen wrote:

This patch seems VERY useful. We have over 200 users who submit tickets -- it would be GREAT if we had a "ME TOO" feature! That then created a related task (but not the regular relationship) -- we already use the regular relationship for related, but different tasks.

Also if a different relationship (a copied from or a "me too" relationship is available -- then that could be optionally extended so that we could manage one request and have all tasks reflect the changes made to the master task.

A ME TOO is not like a vote?
Like me too i would like this feature?

Actions #7

Updated by Alain V. almost 15 years ago

JP, it is not possible to put this in the version 1.0? I think this would help a lot of people. :o)

Actions #8

Updated by Karl-Heinz Nirschl over 14 years ago

Hi,

i did an other patch, which just extends the copy and move dialog so that one could add a relation in one step. this is done for 0.9.3.

let me know if i should improve the code so it could be pushed to 1.0.

Actions #9

Updated by Paul Preece over 14 years ago

Here's another patch with test against trunk.

We would certainly find this useful in a release.

Actions #10

Updated by Pedro Gutierrez over 14 years ago

+1
I hadn't found this feature request and had, so, opened a similar one #5497

Actions #11

Updated by Brian Lindahl almost 14 years ago

see patch #7447

Actions #12

Updated by Etienne Massip about 13 years ago

  • Target version set to Candidate for next major release
Actions #13

Updated by Mischa The Evil about 13 years ago

I've extracted the relationship addition on copy > new from Brian Lindahl's patch in #7447, rebased it to source:/trunk@7630 and added two new relationtypes (copied to / copied from) to support the issue-copy relationship completely.

Screenshot of the patched feature.

Any feedback is appreciated...

Actions #14

Updated by Radek Karban over 12 years ago

+1

Actions #15

Updated by Michael Jurisch almost 12 years ago

Thanks a lot for that feature, but unfortunately defining the relation just work for tickets, that are copied within the same project, but I would need setting the relationship between a ticket in project A and its copied counterpart in project B.

Thanks in advance!

Actions #16

Updated by Mischa The Evil almost 12 years ago

Michael Jurisch wrote:

[...] but unfortunately defining the relation just work for tickets, that are copied within the same project, but I would need setting the relationship between a ticket in project A and its copied counterpart in project B.

Shouldn't this be already possible by setting "Allow cross-project issue relations" to true combined with the implementation in r10491 for #6899 (2.2.0)?

Edit: in fact, it looks like this whole issue has been superseded by #6899. Could someone test this feature in recent Redmine version?

Actions #17

Updated by Mischa The Evil almost 12 years ago

  • Due date set to 2013-04-17
  • Status changed from New to Needs feedback
Actions #18

Updated by Michael Jurisch almost 12 years ago

Hey, Mischa, thanks a lot for that hint! I completely missed that option. :-( I am sorry!

This works perfect in Redmine 2.2.3.stable! Thanks!

Actions #19

Updated by Daniel Felix over 11 years ago

  • Status changed from Needs feedback to Closed

This one could be closed as there is user Feedback in note 18.

Thanks for your feedback.

Actions #20

Updated by Toshi MARUYAMA over 11 years ago

  • Target version deleted (Candidate for next major release)
Actions

Also available in: Atom PDF