Bugzilla: closed-fixed bugs: how to stop further comments being added to bug (due to freezing for migration to JIRA)

流过昼夜 提交于 2019-12-23 02:46:11

问题


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...


回答1:


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



来源:https://stackoverflow.com/questions/6439380/bugzilla-closed-fixed-bugs-how-to-stop-further-comments-being-added-to-bug-du

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!