Feature #1005

Add the addition/removal/change of related issues to the history

Added by Andrew Ness about 5 years ago. Updated 5 days ago.

Status:ClosedStart date:2008-04-07
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Issues
Target version:2.4.0
Resolution:Fixed

Description

I can't find any trace of when someone adds, removes, or changes an issue relation. So if I add a relation between two issues and someone else comes along and removes it, there is no history to show that thy were ever marked as related.

feature_1005_1.diff Magnifier (5.23 KB) Sridhar P, 2012-02-04 11:44

feature_1005_r11061.diff Magnifier (5.12 KB) Toshi MARUYAMA, 2012-12-21 06:03

feature_1005_r11061-Ver2.diff Magnifier (5.13 KB) Toshi MARUYAMA, 2012-12-21 12:28

trunk-r11137.diff Magnifier (6.43 KB) Toshi MARUYAMA, 2013-01-07 11:36

note-24.png (15.9 KB) Toshi MARUYAMA, 2013-01-07 11:36

trunk-r11137-patch.png (18.9 KB) Toshi MARUYAMA, 2013-01-07 11:36

trunk-r11262.diff Magnifier (6.59 KB) Toshi MARUYAMA, 2013-01-25 08:25

issue1005-trunk-r11711.diff Magnifier (5.86 KB) Toshi MARUYAMA, 2013-04-10 15:26

issue-1005-trunk-r11723.diff Magnifier (10.8 KB) Toshi MARUYAMA, 2013-04-18 13:41


Related issues

Related to Feature #12587: Notify for relation changes New
Related to Feature #5061: Show time log entries in issue history New 2010-03-12
Related to Feature #7057: Send email notification on subtask/related and parent upd... New 2010-12-06
Related to Feature #12789: Redmine - design study New
Duplicated by Feature #3546: "Related issues" should be tracked in Ticket History Closed 2009-06-26
Duplicated by Defect #9952: Add priority changes to issue history Closed
Duplicated by Feature #12264: Show adding of ticket relations in issue history Closed
Duplicated by Feature #7892: Issue relationships history and notification on delete Closed 2011-03-16

Associated revisions

Revision 11885
Added by Toshi MARUYAMA 6 days ago

add journal after creating/deleting issue relation (#1005)

Revision 11886
Added by Toshi MARUYAMA 6 days ago

remove "del" tag from deleted issue relation (#1005)

It is confused with deleted issue.

Revision 11887
Added by Toshi MARUYAMA 6 days ago

adjust functional IssuesControllerTest (#1005)

History

#1 Updated by Mischa The Evil almost 5 years ago

+1

#2 Updated by Sergej Jegorov almost 5 years ago

+1

#3 Updated by Markus Knittig over 4 years ago

+1

#4 Updated by Gerrit Kaiser over 4 years ago

+1

#5 Updated by Jerome Vanthournout over 4 years ago

+1

#6 Updated by Tobias Roeser over 2 years ago

I'm willing to create a patch that adds this feature. Can someone give me a hint where to start. E.g. which file or function to look first. I'm new to Redmine/Ruby development, btw.

#7 Updated by Nils Linde over 2 years ago

+1

#8 Updated by Pavel Pivovarov about 2 years ago

+1

#9 Updated by Tobias Roeser about 2 years ago

Tobias Roeser wrote:

I'm willing to create a patch that adds this feature. Can someone give me a hint where to start. E.g. which file or function to look first. I'm new to Redmine/Ruby development, btw.

Sorry, no updates yet from my front. Lack of time. But as far as I estimate, this patch should be a low effort for someone with Ruby on Rails skils.

#10 Updated by Tobias Roeser about 2 years ago

See Comment 7 of #3546 for a starting point if you want to write a patch.

#11 Updated by Etienne Massip about 2 years ago

  • Target version set to Candidate for next major release

#12 Updated by Etienne Massip about 2 years ago

Editing a relationship is not possible at the moment, but in the case it would be, I'm not sure this is something that should be tracked in history.

#13 Updated by Gilles Cornu about 2 years ago

+1

#15 Updated by Katrina Brinkley almost 2 years ago

+1

#16 Updated by Andy Dufilie almost 2 years ago

+1

#17 Updated by Lucy Yevseyeva over 1 year ago

+1

#18 Updated by pasquale [:dedalus] over 1 year ago

+1: it's a necessary feature

#19 Updated by Sridhar P over 1 year ago

Okay, here comes the patch. The wording for the history entries might not be exactly pleasing, but you can see that a relation has been added and deleted in the history.

#20 Updated by Sridhar P over 1 year ago

Sridhar P wrote:

Okay, here comes the patch. The wording for the history entries might not be exactly pleasing, but you can see that a relation has been added and deleted in the history.

Patch was built against trunk at rev 8761.

#21 Updated by Thomas Themel 10 months ago

+1

#22 Updated by Johannes Wienke 5 months ago

+1

#23 Updated by Toshi MARUYAMA 5 months ago

This is note-19 patch rebased to trunk r11061.

#24 Updated by Toshi MARUYAMA 5 months ago

Sorry, note-23 patch has syntax error.
This is fixed patch for trunk r11061.

#25 Updated by # And 5 months ago

Necessary feature.

#26 Updated by Daniel Felix 5 months ago

+1 from me.
Would be good in combination with #5061.

Both are things which should be displayed in the ticket history. But, there should be some kind of filter like in the activity list, or some tabs on top of the history. Otherwise such a list could be too long.

Example for those Tabs:
All | Ticket Notes | Relations | Timelogs

#27 Updated by Toshi MARUYAMA 5 months ago

This is a updated patch for trunk r11137.

'Delete line' which is removed relation issue is confusing.
I remove it.

Note-24

For r11137 patch

#28 Updated by Daniel Felix 5 months ago

I just testet the latest patch trunk-r11137.diff
IT works pretty well. I tried the different relations. Would be nice to see this in Redmine.

#29 Updated by Daniel Felix 4 months ago

Well this works well, the only think which would be good is another status icon, which is displayed on the activity tab. This would help to determine which action caused the new issue-note. Something like the ticket with the comment-symbol.

#30 Updated by Toshi MARUYAMA 4 months ago

This is a patch for trunk r11262.
Note 27 patch has an error when relational issue is deleted.

#31 Updated by Daniel Felix 4 months ago

Thanks Toshi, I'll try this new patch. :-)

Maybe this could be useful to get a better display in the history #12789.

#32 Updated by Toshi MARUYAMA 3 months ago

Note 30 trunk-r11262.diff has #13273 problem.

#33 Updated by Toshi MARUYAMA about 1 month ago

trunk-r11262.diff has bug when exporting pdf.
This patch fixed it.

#34 Updated by Toshi MARUYAMA about 1 month ago

I have added tests.

#35 Updated by Toshi MARUYAMA 5 days ago

  • Status changed from New to Closed
  • Target version changed from Candidate for next major release to 2.4.0
  • % Done changed from 90 to 100
  • Resolution set to Fixed

Committed in trunk r11885 and r11886.

Also available in: Atom PDF