Feature #1005

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

Added by Andrew Ness over 9 years ago. Updated over 3 years ago.

Status:ClosedStart date:2008-04-07
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% 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 Redmine - Feature #12587: Notify for relation changes Closed
Related to Redmine - Feature #7057: Send email notification on subtask and parent updates Closed 2010-12-06
Related to Redmine - Feature #12789: Redmine - design study New
Related to Redmine - Defect #15677: Links for relations in notifications do not include hostname Closed
Related to Redmine - Defect #19660: Issue relation removal is not displayed properly on the i... New
Duplicated by Redmine - Feature #3546: "Related issues" should be tracked in Ticket History Closed 2009-06-26
Duplicated by Redmine - Defect #9952: Add priority changes to issue history Closed
Duplicated by Redmine - Feature #12264: Show adding of ticket relations in issue history Closed
Duplicated by Redmine - Feature #7892: Issue relationships history and notification on delete Closed 2011-03-16

Associated revisions

Revision 11885
Added by Toshi MARUYAMA over 4 years ago

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

Revision 11886
Added by Toshi MARUYAMA over 4 years ago

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

It is confused with deleted issue.

Revision 11887
Added by Toshi MARUYAMA over 4 years ago

adjust functional IssuesControllerTest (#1005)

Revision 11939
Added by Jean-Philippe Lang over 4 years ago

Fixed that journal details about issue relations may disclose issues that are not visible (#1005).

Revision 11940
Added by Jean-Philippe Lang over 4 years ago

Prepends issue numbers with a number sign (#1005).

Revision 11941
Added by Jean-Philippe Lang over 4 years ago

Splits tests (#1005).

Revision 12014
Added by Jean-Philippe Lang over 4 years ago

Fixed that relations to issues that are not visible are displayed in the issue history (#1005).

Revision 12015
Added by Jean-Philippe Lang over 4 years ago

Don't notify users about relations that are not visible (#1005).

History

#1 Updated by Mischa The Evil over 9 years ago

+1

#2 Updated by Sergej Jegorov over 9 years ago

+1

#3 Updated by Markus Knittig about 9 years ago

+1

#4 Updated by Gerrit Kaiser almost 9 years ago

+1

#6 Updated by Tobias Roeser about 7 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 about 7 years ago

+1

#8 Updated by Pavel Pivovarov over 6 years ago

+1

#9 Updated by Tobias Roeser over 6 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 over 6 years ago

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

#11 Updated by Etienne Massip over 6 years ago

  • Target version set to Candidate for next major release

#12 Updated by Etienne Massip over 6 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 over 6 years ago

+1

#14 Updated by Anonymous over 6 years ago

+1

#15 Updated by Katrina Brinkley over 6 years ago

+1

#16 Updated by Andy Dufilie over 6 years ago

+1

#17 Updated by Lucy Yevseyeva almost 6 years ago

+1

#18 Updated by pasquale [:dedalus] almost 6 years ago

+1: it's a necessary feature

#19 Updated by Sridhar P almost 6 years 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 almost 6 years 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 over 5 years ago

+1

#22 Updated by Johannes Wienke almost 5 years ago

+1

#23 Updated by Toshi MARUYAMA almost 5 years ago

This is note-19 patch rebased to trunk r11061.

#24 Updated by Toshi MARUYAMA almost 5 years ago

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

#25 Updated by # And almost 5 years ago

Necessary feature.

#26 Updated by Daniel Felix almost 5 years 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 almost 5 years 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 almost 5 years 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 almost 5 years 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 almost 5 years ago

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

#31 Updated by Daniel Felix almost 5 years ago

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

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

#32 Updated by Toshi MARUYAMA over 4 years ago

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

#33 Updated by Toshi MARUYAMA over 4 years ago

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

#34 Updated by Toshi MARUYAMA over 4 years ago

I have added tests.

#35 Updated by Toshi MARUYAMA over 4 years 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.

#36 Updated by Jean-Philippe Lang over 4 years ago

  • Status changed from Closed to Reopened
  • Assignee set to Jean-Philippe Lang

r11939 fixes some disclosures of private issues subjects on the issue view but still we have a problem with email notifications. Relations to issues that are not visible are not even listed, they should not appear in the issue history and not be notified to user who can't see them. It's not an easy fix for now but it should be easier to implement after the changes that need to be done for #5037.

#37 Updated by Jean-Philippe Lang over 4 years ago

  • Status changed from Reopened to Closed

Fixed in r12014 and r12015.

#38 Updated by Toshi MARUYAMA almost 4 years ago

  • Related to deleted (Feature #5061: Show time log entries in issue history)

#39 Updated by Toshi MARUYAMA almost 4 years ago

  • Related to Defect #15677: Links for relations in notifications do not include hostname added

#40 Updated by Jimmy Praet over 3 years ago

Can the e-mail notifications for updates of issue relationships be disabled (without disabling all other "Issue updated" notifications)?

#41 Updated by Toshi MARUYAMA over 3 years ago

Jimmy Praet wrote:

Can the e-mail notifications for updates of issue relationships be disabled (without disabling all other "Issue updated" notifications)?

No.
There is feature request #16098.

#42 Updated by Toshi MARUYAMA over 2 years ago

  • Related to Defect #19660: Issue relation removal is not displayed properly on the issue histsory added

#43 Updated by Toshi MARUYAMA over 2 years ago

  • Related to deleted (Defect #19660: Issue relation removal is not displayed properly on the issue histsory)

#44 Updated by Toshi MARUYAMA over 2 years ago

  • Related to Defect #19660: Issue relation removal is not displayed properly on the issue histsory added

Also available in: Atom PDF