redimne_issue_tree pluginを導入してみました。
子チケットを登録しても一覧ではフラットに表示されて
関係がわかりません。
(ガントチャートであれば、なんとか表示できますが)
ということで、このpluginを導入してみます。
(参考)
Redmine:Plugins Directory » Redmine Issues Tree
https://www.redmine.org/plugins/redmine_issues_tree
コード
https://github.com/Loriowar/redmine_issues_tree
いつものとおりの手順で。
あっ、Gemfileの修正が必要です。
ということで、完了。
再起動の後、子チケットが階層的に表示されるようになりました。
、
子チケットを登録しても一覧ではフラットに表示されて
関係がわかりません。
(ガントチャートであれば、なんとか表示できますが)
ということで、このpluginを導入してみます。
(参考)
Redmine:Plugins Directory » Redmine Issues Tree
https://www.redmine.org/plugins/redmine_issues_tree
コード
https://github.com/Loriowar/redmine_issues_tree
いつものとおりの手順で。
[root@hogehoge /]# docker exec -it redmine-container /bin/bash [root@ac214042296a /]# cd /opt/redmine/apps/redmine/htdocs/plugins/ [root@ac214042296a plugins]# export PATH=$PATH:/opt/redmine/ruby/bin [root@ac214042296a plugins]# export RAILS_ENV=production [root@ac214042296a plugins]# git clone https://github.com/Loriowar/redmine_issues_tree.git Cloning into 'redmine_issues_tree'... remote: Enumerating objects: 1041, done. remote: Total 1041 (delta 0), reused 0 (delta 0), pack-reused 1041 Receiving objects: 100% (1041/1041), 137.47 KiB | 625.00 KiB/s, done. Resolving deltas: 100% (566/566), done. [root@ac214042296a plugins]# cd .. [root@ac214042296a htdocs]# bundle exec rake --trace redmine:plugins:migrate NAME=redmine_issues_tree Could not find gem 'haml-rails' in any of the gem sources listed in your Gemfile. Run `bundle install` to install missing gems.
あっ、Gemfileの修正が必要です。
[root@ac214042296a htdocs]# bundle install --no-deployment --without development test postgresql sqlite Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Your Gemfile lists the gem redmine_crm (>= 0) more than once. You should probably keep only one of them. While it's not a problem now, it could cause errors if you change the version of one of them later. The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`. Fetching gem metadata from http://rubygems.org/............. Fetching gem metadata from https://rubygems.org/.......... Fetching version metadata from http://rubygems.org/... Fetching version metadata from https://rubygems.org/.. Fetching dependency metadata from http://rubygems.org/.. Fetching dependency metadata from https://rubygems.org/. Resolving dependencies..... Using rake 12.3.1 Using i18n 0.7.0 Using minitest 5.11.3 Using thread_safe 0.3.6 Using builder 3.2.3 Using erubis 2.7.0 Using mini_portile2 2.3.0 Using crass 1.0.4 Using rack 1.6.10 Using mime-types-data 3.2016.0521 Using arel 6.0.4 Using public_suffix 3.0.2 Using bundler 1.14.6 Using coderay 1.1.2 Using concurrent-ruby 1.0.5 Using temple 0.8.0 Using tilt 2.0.8 Installing sexp_processor 4.11.0 Using thor 0.20.0 Using htmlentities 4.3.4 Using httpclient 2.8.3 Using liquid 2.6.3 Using mimemagic 0.3.2 Using mysql2 0.4.10 Using net-ldap 0.12.1 Using ruby-openid 2.3.0 Using rbpdf-font 1.19.1 Using redcarpet 3.4.0 Using redmine_github_hook 2.2.0 from source at `/opt/redmine/apps/redmine/htdocs/plugins/redmine_github_hook` Using request_store 1.0.5 Installing require_patch 0.3.3 Using rmagick 2.16.0 Using ruby-ole 1.2.12.1 Using rubyzip 1.2.1 Using vcard 0.2.15 Using ya2yaml 0.31 Using tzinfo 1.2.5 Using nokogiri 1.8.2 Using rack-test 0.6.3 Using mime-types 3.1 Using addressable 2.5.2 Using sprockets 3.7.1 Using haml 5.0.4 Installing ruby_parser 3.12.0 Using rack-openid 1.4.2 Using rbpdf 1.19.3 Using spreadsheet 0.6.9 Using zip-zip 0.3 Using activesupport 4.2.8 Using loofah 2.2.2 Using mail 2.6.6 Using css_parser 1.6.0 Installing html2haml 2.2.0 Using write_xlsx 0.85.5 Using rails-deprecated_sanitizer 1.0.3 Using globalid 0.4.1 Using activemodel 4.2.8 Using fiscali 2.4.3 Using rails-html-sanitizer 1.0.4 Using roadie 3.2.2 Using rails-dom-testing 1.0.9 Using activejob 4.2.8 Using activerecord 4.2.8 Using protected_attributes 1.1.4 Using actionview 4.2.8 Using acts-as-taggable-on 4.0.0 Using awesome_nested_set 3.1.4 Using actionpack 4.2.8 Using redmine_acts_as_taggable_on 1.1.0 from https://github.com/alexbevi/redmine_acts_as_taggable_on (at master@0ebef70) Using actionmailer 4.2.8 Using actionpack-xml_parser 1.0.2 Using railties 4.2.8 Using sprockets-rails 3.2.1 Installing haml-rails 1.0.0 Using jquery-rails 3.1.5 Using roadie-rails 1.1.1 Using rails 4.2.8 Using redmine_crm 0.0.37 Using redmine_extensions 0.2.12 Bundle complete! 53 Gemfile dependencies, 79 gems now installed. Gems in the groups development, test, postgresql and sqlite were not installed. Use `bundle show [gemname]` to see where a bundled gem is installed. Warning: the gem 'sexp_processor' was found in multiple sources. Installed from: https://rubygems.org/ Also found in: * http://rubygems.org/ You should add a source requirement to restrict this gem to your preferred source. For example: gem 'sexp_processor', :source => 'https://rubygems.org/' Then uninstall the gem 'sexp_processor' (or delete all bundled gems) and then install again. Warning: the gem 'require_patch' was found in multiple sources. Installed from: http://rubygems.org/ Also found in: * https://rubygems.org/ You should add a source requirement to restrict this gem to your preferred source. For example: gem 'require_patch', :source => 'http://rubygems.org/' Then uninstall the gem 'require_patch' (or delete all bundled gems) and then install again. Warning: the gem 'ruby_parser' was found in multiple sources. Installed from: https://rubygems.org/ Also found in: * http://rubygems.org/ You should add a source requirement to restrict this gem to your preferred source. For example: gem 'ruby_parser', :source => 'https://rubygems.org/' Then uninstall the gem 'ruby_parser' (or delete all bundled gems) and then install again. Warning: the gem 'html2haml' was found in multiple sources. Installed from: https://rubygems.org/ Also found in: * http://rubygems.org/ You should add a source requirement to restrict this gem to your preferred source. For example: gem 'html2haml', :source => 'https://rubygems.org/' Then uninstall the gem 'html2haml' (or delete all bundled gems) and then install again. Warning: the gem 'haml-rails' was found in multiple sources. Installed from: http://rubygems.org/ Also found in: * https://rubygems.org/ You should add a source requirement to restrict this gem to your preferred source. For example: gem 'haml-rails', :source => 'http://rubygems.org/' Then uninstall the gem 'haml-rails' (or delete all bundled gems) and then install again. [root@ac214042296a htdocs]# bundle exec rake --trace redmine:plugins:migrate NAME=redmine_issues_tree /opt/redmine/apps/redmine/htdocs/plugins/redmine_glossary/init.rb:6: warning: already initialized constant FCSV /opt/redmine/apps/redmine/htdocs/plugins/redmine_contacts/init.rb:29: warning: previous definition of FCSV was here ** Invoke redmine:plugins:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute redmine:plugins:migrate Migrating redmine_issues_tree (Redmine Issues Tree plugin)... ** Invoke db:schema:dump (first_time) ** Invoke environment ** Invoke db:load_config (first_time) ** Execute db:load_config ** Execute db:schema:dump [root@ac214042296a htdocs]# systemctl restart redmine
ということで、完了。
再起動の後、子チケットが階層的に表示されるようになりました。
、