Bugzilla:封闭修复的bug:如何阻止进一步的注释被添加到bug(由于迁移到JIRA的冻结) [英] Bugzilla: closed-fixed bugs: how to stop further comments being added to bug (due to freezing for migration to JIRA)
问题描述
在bugzilla 2.22.7中,可以向闭包/解决的bug添加更多注释。我想停用此功能,因为我想要修复错误,因为他们关闭到JIRA,没有人更新旧系统。
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.
我可以热线/自定义黑客bugzilla Perl代码,最终当我理解它,但只是想知道是否有更好的方法...
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...
推荐答案
p> Hardwire / hack:
Hardwire/hack:
在show_bug.cgi bugzilla代码中,修改它,相当于以下伪代码:
in the show_bug.cgi bugzilla code, modify it, with the equivalent of the following pseudocode:
如果bugzilla标题以[JIRAnnnnn]开头,则
使用html表单中的disable属性,例如如下所示:
如何制作灰色HTML形式?
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
但我还需要一个自动化来写[JIRAnnnnn]
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
还要添加html壁纸背景以表示已迁移
Also add a html wallpaper background to indicate migrated
这篇关于Bugzilla:封闭修复的bug:如何阻止进一步的注释被添加到bug(由于迁移到JIRA的冻结)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!