六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 168|回复: 0

让JIRA可以对每个附件添加comment

[复制链接]

升级  17.33%

74

主题

74

主题

74

主题

举人

Rank: 3Rank: 3

积分
252
 楼主| 发表于 2013-2-7 20:05:15 | 显示全部楼层 |阅读模式
http://jira.atlassian.com/browse/JRA-1844?focusedCommentId=140837&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_140837
 
有人修改了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

 
 
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表