有人修改了JIRA的两个实现类来达到这个功能,还没试用,希望JIRA官方会尽快加上这个功能。
操作办法:
Based on the wiki approach to outlined in this issue I have update JIRA code to help in associating comments with file attachments.
The details are below.
Thanks,
Ganesh
Steps:
1. Ensure 'Wiki Renderer Macros' plugin is Installed.
2. Ensure that the 'html' module is enabled
3. Ensure that the 'comment' field uses Wiki Sytle Rendering
4. Compile 'AttachFile.java' & Replace at atlassian-jira/WEB-INF/classes/com/atlassian/jira/web/action/issue
5. Compile 'AbstractCommentableIssue.java' & Replace at atlassian-jira/WEB-INF/classes/com/atlassian/jira/web/action/issue
6. Place clip.gif in atlassian-jira/images/icons
Usage:
1. Attach File / Screenshot
2. Enter comment & submit.
Issues
1. When a file is deleted the wiki tags are shown in the comments section.
Files:AttachFile.java,AbstractCommentableIssue.java,clip.gif