基本介绍
|
作者: |
redmineplugins.cn Admin |
主页: |
https://github.com/nmikhno/redmine_estimates |
版本库: |
https://github.com/nmikhno/redmine_estimates |
创建于: |
2023-06-07 |
当前版本: |
1.0_2 |
兼容性: |
5.0.*, 4.1.*, 4.0.*, 3.4.*, 3.3.*, 3.2.*, 3.1.*, 3.0.*, 2.6.*, 2.5.*, 2.4.* |
有多种方法可以计划项目的预期工时或项目预期成本,例如PERT、拇指原则等等。每个团队也会根据自身的业务特点作出相应的调整。对于多项目成员参与的活动,需要每个参与成员评估自己的工作量或预期工时,最终汇总为issue的预期工时,Redmine Estimates插件可实现为“问题“增加多个预期工时,具有权限的用户可以通过“接受“/“拒绝”的方式对多个预期工时实施审批。
实际工时、预期工时、预估工时摘要显示
当前issue的预估工时
展示所有预估共识,包含已经审批和拒绝的工时
版本更新
积分(50)
1.0_2 (2023-06-07)
兼容性: Redmine 5.0.*
文件
积分(50)
1.0_1 (2021-02-24)
兼容性: Redmine 2.4.*, 2.5.*, 2.6.*, 3.0.*, 3.1.*, 3.2.*, 3.3.*, 3.4.*, 4.0.*, 4.1.*
- 修复与redmine 4.1版本兼容性适配
- 修复原版审批工时排序问题
- 修复'显示已确认的估算工时明细'切换显示异常的问题
文件
1.0 (2019-12-26)
兼容性: Redmine 2.4.*, 2.5.*, 2.6.*, 3.0.*, 3.1.*, 3.2.*, 3.3.*, 3.4.*
文件
评论
添加评论
由 匿名用户 在 超过一年 之前添加
能不能支持一下5.0+版本
由 redmineplugins.cn Admin 在 超过一年 之前添加
1.0_2现在可以支持redmine5了。
由 redmineplugins.cn Admin 在 超过 3 年 之前添加
@zhou rongxuan 这里不方便跟踪,放到这里了 https://redmineplugins.cn/issues/202
由 zhou rongxuan 在 超过 3 年 之前添加
使用了我们“Redmine Estimates 工时预估与审批插件”这个插件,发现了一个问题,请求支援:
在启用“估算工时”功能时,页面报错500,以下是报错后出现的log
Processing by IssuesController#index as HTML
Parameters: {“utf8"⇒“✓“, “set_filter"⇒“1”, “sort"⇒“id:desc”, “f"⇒[“status_id”, “tracker_id”, “”], “op"⇒{“status_id"⇒“o”, “tracker_id"⇒“=“}, “v"⇒{“tracker_id"⇒[“1”]}, “c"⇒[“project”, “tracker”, “priority”, “subject”, “assigned_to”, “status”, “done_ratio”, “due_date”, “last_updated_by”, “updated_on”, “total_spent_hours”], “group_by"⇒“”, “t"⇒[“estimated_hours”, “total_estimate_hours”, “spent_hours”, “”], “project_id"⇒“n_0006”}
Current user: Captain.Zhou (id=5)
Rendering issues/index.html.erb within layouts/base
Rendered queries/_filters.html.erb (11.7ms)
Rendered queries/_columns.html.erb (2.2ms)
Rendered queries/_query_form.html.erb (17.5ms)
Rendered issues/index.html.erb within layouts/base (68.3ms)
Completed 500 Internal Server Error in 120ms (ActiveRecord: 25.6ms)
ActionView::Template::Error (undefined method `total_for_total_estimate_hours’ for #<IssueQuery:0x00007f1c58a69bb0>
Did you mean? total_for_estimated_hours):
28: <% if @issues.empty? >
29: <p class="nodata"><= l(:label_no_data) ></p>
30: < else >
31: <= render_query_totals(@query) >
32: <= render :partial ⇒ 'issues/list’, :locals ⇒ {:issues ⇒ @issues, :query ⇒ @query} >
33: <span class="pagination"><= pagination_links_full @issue_pages, @issue_count ></span>
34: < end %>
请求支援,以下是我系统的配置信息
系统信息: Linux 10-10-1-158 3.10.0-1160.15.2.el7.x86_64 #1 SMP Wed Feb 3 15:06:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Uptime: 46 天
Environment:
Redmine version 4.1.1.stable
Ruby version 2.6.7-p197 (2021-04-05) [x86_64-linux]
Rails version 5.2.4.2
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.7.14
Mercurial 2.6.2
Bazaar 2.5.1
Git 1.8.3.1
Filesystem
Redmine plugins:
additionals 3.0.3-master
custom_tables 1.0.6
projects_tree_view 0.0.9
quick_view 0.3.0_
redmine_activity_report 1.2.10
redmine_agile 1.6.0
redmine_all_thumbnails 1.0.5
redmine_apijs 6.6.0
redmine_banner 0.3.4
redmine_bootstrap_kit 0.2.5
redmine_checklists 3.1.18
redmine_code_review 1.0.0_
redmine_dashboard 2.7.1
redmine_drive 1.1.0
redmine_estimates 1.0_1
redmine_favorite_projects 2.1.1
redmine_hearts 1.0.5
redmine_image_clipboard_paste 3.3.0
redmine_importer 1.2.2
redmine_issue_dynamic_edit 0.7.2
redmine_issue_evm 5.5.2
redmine_issue_templates 1.1.0
redmine_jenkins 2.0.0
redmine_knowledgebase 4.1.1_
redmine_lightbox2 0.5.1
redmine_logs 0.2.0
redmine_mentions 1.0.0
redmine_mermaid_macro 1.0.0
redmine_more_previews 2.0.0
redmine_my_page_paginations 1.0.2
redmine_percent_done 1.1.0
redmine_preview_inline 1.0.3
redmine_questions 1.0.2
redmine_reformat 0.6.1
redmine_resources 1.0.4
redmine_searchable_selectbox 0.1.5
redmine_whining 0.0.4_
redmine_work_time 0.4.1
redmine_zenedit 2.0.0
redmine_zxcvbn 1.0.0
redmineup_tags 2.0.8
view_customize 2.8.1
westaco_versions 0.0.3
由 Chen Snowman 在 大约 4 年 之前添加
@匿名用户 你试过了吗?在4.1上安装报什么错误?
由 匿名用户 在 大约 4 年 之前添加
后续可以升级到兼容4.1吗?
由 redmineplugins.cn Admin 在 将近 5 年 之前添加
报错是因为插件与redmine 4.1不兼容,因为redmine4基于rails5了
由 匿名用户 在 将近 5 年 之前添加
4.1
rake aborted!
NoMethodError: undefined method `to_prepare’ for ActionDispatch::Callbacks:Class
Did you mean? to_param
/home/redmine/redmine/plugins/redmine_estimates/init.rb:20:in `<top (required)>'
/home/redmine/.rvm/gems/ruby-2.5.1/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:291:in `block in require’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:257:in `load_dependency’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:291:in `require’
/home/redmine/redmine/lib/redmine/plugin.rb:181:in `block in load’
/home/redmine/redmine/lib/redmine/plugin.rb:172:in `each’
/home/redmine/redmine/lib/redmine/plugin.rb:172:in `load’
/home/redmine/redmine/config/initializers/30-redmine.rb:20:in `<top (required)>'
/home/redmine/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:285:in `load’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:285:in `block in load’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:257:in `load_dependency’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:285:in `load’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/engine.rb:663:in `block in load_config_initializer’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.4.1/lib/active_support/notifications.rb:170:in `instrument’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/engine.rb:662:in `load_config_initializer’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/engine.rb:620:in `block (2 levels) in <class:Engine>'
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/engine.rb:619:in `each’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/engine.rb:619:in `block in <class:Engine>'
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in `instance_exec’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/initializable.rb:32:in `run’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/initializable.rb:61:in `block in run_initializers’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/initializable.rb:50:in `each’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/initializable.rb:50:in `tsort_each_child’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/initializable.rb:60:in `run_initializers’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/application.rb:361:in `initialize!'
/home/redmine/redmine/config/environment.rb:16:in `<top (required)>'
/home/redmine/.rvm/gems/ruby-2.5.1/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:291:in `block in require’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:257:in `load_dependency’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/activesupport-5.2.4.1/lib/active_support/dependencies.rb:291:in `require’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/application.rb:337:in `require_environment!'
/home/redmine/.rvm/gems/ruby-2.5.1/gems/railties-5.2.4.1/lib/rails/application.rb:520:in `block in run_tasks_blocks’
/home/redmine/.rvm/gems/ruby-2.5.1/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
/home/redmine/.rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:24:in `eval’
/home/redmine/.rvm/gems/ruby-2.5.1/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP ⇒ redmine:plugins:migrate ⇒ environment
(See full trace by running task with --trace)