项目

一般

简介

编辑问题时候的说明可以设置成必填么?

zhou xue大约 2 年 之前添加


其他条目都按照如下链接解决了,但是编辑的说明、活动、耗时都没法设置成必填
https://redmineplugins.cn/projects/redmineplugins/questions/12


回复 (4)

RE: 编辑问题时候的说明可以设置成必填么? - 由 redmineplugins.cn Admin大约 2 年 之前添加

@zhou xue

其他条目都按照如下链接解决了,但是编辑的说明、活动、耗时都没法设置成必填

这些字段并非是Issue的字段,所以不能通过工作流的字段权限去设置。可以考虑借用其它插件实现。例如:“编辑的说明"其实是note批注,可以通过下面的这个插件实现必填。redmine_require_closing_note插件可以要求关闭问题前必须填写说明才可以关闭。

https://github.com/archonwang/redmine_require_closing_note

工时必填可以参考插件 https://redmineplugins.cn/projects/1/plugin_blocks/94 或者借用redmine.org的相关补丁 #24577

RE: 编辑问题时候的说明可以设置成必填么? - 由 zhou xue大约 2 年 之前添加

感谢感谢,我的redmine是4.2,这个插件安装时候没有成功,还是非常感谢

RE: 编辑问题时候的说明可以设置成必填么? - 由 wen tian超过一年 之前添加

在5.0.5版本安装没有成功。希望能实现在所有状态时都必填。
E:\Bitnami\redmine-5.0.0-1\apps\redmine\htdocs\plugins>bundle exec rake redmine:plugins NAME=redmine_require_closing_note RAILS_ENV=production
(in E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs)
rake aborted!
NameError: uninitialized constant Dispatcher
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/plugins/redmine_require_closing_note/init.rb:18:in `<top (required)>'
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/lib/redmine/plugin_loader.rb:31:in `load’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/lib/redmine/plugin_loader.rb:31:in `run_initializer’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/lib/redmine/plugin_loader.rb:108:in `each’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/lib/redmine/plugin_loader.rb:108:in `block in load’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb:427:in `instance_exec’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb:427:in `block in make_lambda’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb:604:in `block (2 levels) in default_terminator’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb:603:in `catch’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb:603:in `block in default_terminator’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb:199:in `block in halting’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb:512:in `block in invoke_before’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb:512:in `each’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb:512:in `invoke_before’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb:105:in `run_callbacks’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/reloader.rb:88:in `prepare!'
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-6.1.4.7/lib/rails/application/finisher.rb:124:in `block in <module:Finisher>'
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-6.1.4.7/lib/rails/initializable.rb:32:in `instance_exec’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-6.1.4.7/lib/rails/initializable.rb:32:in `run’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-6.1.4.7/lib/rails/initializable.rb:61:in `block in run_initializers’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-6.1.4.7/lib/rails/initializable.rb:60:in `run_initializers’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-6.1.4.7/lib/rails/application.rb:391:in `initialize!'
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/config/environment.rb:16:in `<top (required)>'
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/zeitwerk-2.6.8/lib/zeitwerk/kernel.rb:38:in `require’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `block in require’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:299:in `load_dependency’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `require’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-6.1.4.7/lib/rails/application.rb:367:in `require_environment!'
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/railties-6.1.4.7/lib/rails/application.rb:533:in `block in run_tasks_blocks’
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/lib/tasks/redmine.rake:73:in `block (2 levels) in <top (required)>'
E:/Bitnami/redmine-5.0.0-1/apps/redmine/htdocs/vendor/bundle/ruby/2.6.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
Tasks: TOP ⇒ redmine:plugins:migrate ⇒ environment
(See full trace by running task with --trace)

E:\Bitnami\redmine-5.0.0-1\apps\redmine\htdocs\plugins>

    (1-4/4)
    点赞0
    点赞0点赞0点赞0点赞0
    赞赏赞赏赞赏赞赏