Redmine Webhook plugin 使用问题记录

环境说明

  • Redmine 4.0.4.stable
  • Redmine Webhook plugin 0.0.5

问题:无法打开插件设置页面

解决方法1:直接在DB中操作,插入所需数据(建议

解决方法2:通过 post 请求创建

参考 config/routes.rb

get 'projects/:id/webhook_settings', :controller => 'webhook_settings', :action => 'index', :as => :list_webhook_settings
get 'projects/:id/webhook_settings/show', :controller => 'webhook_settings', :action => 'show', :as => :show_webhook_settings
post 'projects/:id/webhook_settings/create', :controller => 'webhook_settings', :action => 'create', :as => :create_webhook
put 'projects/:id/webhook_settings/:webhook_id', :controller => 'webhook_settings', :action => 'update', :as => :update_webhook
delete 'projects/:id/webhook_settings/:webhook_id', :controller => 'webhook_settings', :action => 'destroy', :as => :delete_webhook


问题:在 redmine 的问题列表中右键操作,不会触发 webhook

参考

  • https://github.com/suer/redmine_webhook/issues/4
  • http://nanorico.blogspot.com/2014/09/redmineredmine-webhook-pluginhttp.html
解决方法:在 issues_controller.rb 中加 hook 









评论

  1. 在清理了一批无用插件之后,webhook的入口显示出来了😀

    回复删除

发表评论

此博客中的热门博文

一加氧OS使用大陆本地化应用

NETGEAR R6220 变砖后刷回原厂固件

电影《触不可及》观后感