Feature #44552
openAdd a link from each issue attachment to the note in which it was added
Description
This patch adds a small icon link to each file in the attachments list of an issue. Clicking the icon takes you to the note in which the file was added.
When you look at a file in the attachments list, you often want to read the note in which it was added, because the note usually explains what the file is and why it was attached. However, the attachments list does not show which note each file was added in. To find the note, you have to search the history for the file name, which takes time when an issue has many notes or attachments.
With this patch, the icon is displayed next to the author and date of each file that was added in a note. You can move from a file to its note with a single click, and the tooltip of the icon shows the target, such as #note-5.
Additional information:
- Files that were attached when the issue was created do not have the icon, because there is no corresponding note.
- The icon is not displayed for notes that the user is not allowed to see, such as private notes.
- The attachments lists of other objects, such as wiki pages and forum messages, are not changed.

Files
No data to display