Bugzilla:已关闭修复的错误:如何停止向错误添加更多评论(由于冻结迁移到 JIRA)
在 bugzilla 2.22.7 中,可以向已关闭修复/已解决的错误添加更多注释。我想停用此功能,因为我想迁移错误,因为它们对 JIRA 关闭并且没有人更新旧系统。
我可以热线/自定义破解 bugzilla Perl 代码来做到这一点,最终当我理解它时,但只是想知道是否有更好的方法......
In bugzilla 2.22.7, it is possible to add further comments to a closed-fixed/resolved bug. I would like to deactivate this feature as I want to migrate bugs as they get closed to JIRA and not have people updating the old system.
I could hotwire/custom hack the bugzilla Perl code to do this, eventually when I've understood it, but just wondered if there was a better way...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
硬连线/黑客:
在 show_bug.cgi bugzilla 代码中,修改它,相当于以下伪代码:
if bugzilla title begin with [JIRAnnnnn] then
在 html 表单中使用禁用属性,例如:
如何制作灰显的 HTML 表单?
end if
但我还需要自动将 [JIRAnnnnn] 前缀写入 bugzilla 记录的标题中,一旦创建了 JIRA 条目,
还要添加一个 html 壁纸背景来指示已迁移
Hardwire/hack:
in the show_bug.cgi bugzilla code, modify it, with the equivalent of the following pseudocode:
if bugzilla title starts with [JIRAnnnnn] then
use the disable attribute in html forms, e.g. as described in:
How to make a greyed-out HTML form?
end if
but i also need an automation to write the [JIRAnnnnn] prefix into the title of the bugzilla record, once the JIRA entry has been created
Also add a html wallpaper background to indicate migrated