Plugin to generate and use issue templates for each project to assist issue creation. The latest version 1.0.x is not compatible with IE11. (Related: #310) Please use version 0.3.8 or 0.3-stable branch (uing jQuery version) as a stable release for Redmine4.x.
Copy the plugin directory into the $REDMINE_ROOT/plugins directory. Please note that plugin's folder name should be "redmine_issue_templates". If changed, some migration task will be failed.
Do migration task.
e.g. rails redmine:plugins:migrate RAILS_ENV=production
(Re)Start Redmine.
Try this:
If the migration is cancelled with the error like following message for the first time you try to install this plugin:
Caused by: Mysql2::Error: Table 'DATABASE_FOR_REDMINE.issue_templates' doesn't exist
You can fix this error to remove migration records related to this plugin from shema_migrations table.
If you can access and select database for Redmine, try this command:
select * from schema_migrations where version like '%redmine_issue_templates%';
If there are any records shown like this and there is no table named 'issue_templates', your installation has been incomplete state.
1-redmine_issue_templates
2-redmine_issue_templates
So, you should better to uninstall task first, and retry the migration.
If you have not created any template records yet, and hope to uninstall and re-install this plugin, please see README.
Uninstall:
rails db:migrate_plugins NAME=redmine_issue_templates VERSION=0 RAILS_ENV=production
After that, records of migration are removed from schema_migrations table.
Re-install:
rails db:migrate_plugins NAME=redmine_issue_templates RAILS_ENV=production (for Redmine4.x)
Related issue:
Login to your Redmine install as an Administrator
Enable the permissions for your Roles:
Enable the module "Issue Template" on the project setting page.
The link to the plugin should appear on that project's navigation.
This plugin aims to assist contributor's feedback by using template if the project has some format for issues.
This plugin repository includes some test code and gem settings. If you have some trouble related "bundle install", please try --without option.
Exp. bundle install --without test
If you have any requests, bug reports, please use GitHub issues. https://github.com/akiko-pusu/redmine_issue_templates
Drop off the feature to integrate with Checklist plugin, for maintenance reason. Please see for more details: https://github.com/akiko-pusu/redmine_issue_templates/issues/363
Bugfix and final release to support Checklist integration. Please see: https://github.com/akiko-pusu/redmine_issue_templates/issues/363
Release to implemented some additional built-in/custom fields support.
Thank you for the valuable information and feedback, @ChrisUHZ!
RESTRICTION: This version is still not compatible with IE11. (Related: #310)
NOTE: Mainly, maintenance, bugfix and refactoring only. There is no additional feature.
RESTRICTION: This version is still not compatible with IE11. (Related: #310)
Release to implememted Global note templates feature.
NOTE: Migration is required to use global note template.
--without
argument for bundle
is no longer necessary. (GitHub: #335 / by @vividtone)RESTRICTION: This version is still not compatible with IE11. (Related: #310)
This is bugfix release against v1.0.0. Updating to 1.0.1 is highly recommended, if you're using 1.0.0. Migration is also required.
Thank you for the valuable information and feedback, @AlUser71!
RESTRICTION: This version is not compatible with IE11. (Related: #310) Please use version 0.3.8 or 0.3-stable branch (uing jQuery version) if you need to support IE11.
NOTE: Migration is required.
Since Support Built-In / Custom Fields
is an experimental feature, please be careful if you hope to try it.
And some browsers may not work fine because Support Built-In / Custom Fields feature uses Vue.js for frontend. So feedback, issue report, suggestion highly appreciate!
This is bugfix release.
This is bugfix release to prevent the conflict with other plugins.
Thank you for the valuable information and feedback, @ChrisUHZ!
This is bugfix release against v0.3.5. Updating to 0.3.6 is highly recommended!
NOTE: This version requires migration command to enhance note template's feature.
Note Template visibility per role
feature is still a prototype, so feedback highly appreciate!
This is bugfix release against v0.3.3.
This is bugfix release against v0.3.2. Updating to 0.3.3 is highly recommended!
NOTE: This version requires migration command to use note template feature.
rails redmine:plugins:migrate RAILS_ENV=production
v0.2.x-support-Redmine3
branch
in case using Redmine3.x.NOTE: Mainly, maintenance, bugfix and refactoring only. There is no additional feature, translation in this release. Thank you for creating patch, Mizuki Ishikawa!
Mainly, bugfix and refactoring release. Updating to 0.2.1 is highly recommended in case using CKEditor or MySQL replication. NOTE: Migration is required, especially using MySQL replication.
A cookie named "issue_template_confirm_to_replace_hide_dialog" is stored from this release. (Related: #190)
Bugfix and refactoring release. Updating from v0.1.9 to 0.2.0 is highly recommended. In this release, some methods which implemented on Redmine v3.3 are ported for plugin's compatibility. (To support Redmine 3.0 - 3.4)
Thank you for reviewing, Tatsuya Saito!
For release notes before v0.2.0, please see: RELEASE-NOTES.md
Pull requests, reporting issues, stars are always welcome!
I'm always thrilled to receive pull requests, and do my best to process them as fast as possible. Not sure if that typo is worth a pull request? Do it! I will appreciate it.
You can see rake task, with (bundle exec) rake -T, related to this plugin.
Exp.
# Apply inhelit template setting to child projects
$ rake redmine_issue_templates:apply_inhelit_template_to_child_projects[project_id]
# Run test for redmine_issue_template plugin
$ rake redmine_issue_templates:default
# Run spec for redmine_issue_template plugin
$ rake redmine_issue_templates:spec
# Run tests
$ rake redmine_issue_templates:test
# Unapply inhelit template setting from child projects
$ rake redmine_issue_templates:unapply_inhelit_template_from_child_projects[project_id]
# Generate YARD Documentation for redmine_issue_template plugin
$ rake redmine_issue_templates:yardoc
You can apply/unapply inherit templates for all the hild projects.
rake redmine_issue_templates:apply_inhelit_template_to_child_projects[project_id] # Apply inhelit template setting to child projects
rake redmine_issue_templates:unapply_inhelit_template_from_child_projects[project_id] # Unapply inhelit template setting from child projects
If you want to apply inherit templates setting all the child project of project_id: 1 (as parent project), please run rake command like this:
rake redmine_issue_templates:apply_inhelit_template_to_child_projects[1]
Please see .circleci/config.yml for more details.
% cd REDMINE_ROOT_DIR
% cp plugins/redmine_issue_templates/Gemfile.local plugins/redmine_issue_templates/Gemfile
% bundle install --with test
% export RAILS_ENV=test
% bundle exec ruby -I"lib:test" -I plugins/redmine_issue_templates/test plugins/redmine_issue_templates/test/functional/issue_templates_controller_test.rb
or
% bundle exec rails redmine_issue_templates:test
Please see .circleci/config.yml for more details.
% cd REDMINE_ROOT_DIR
% cp plugins/redmine_issue_templates/Gemfile.local plugins/redmine_issue_templates/Gemfile
% bundle install --with test
% export RAILS_ENV=test
% bundle exec rspec -I plugins/redmine_issue_templates/spec --format documentation plugins/redmine_issue_templates/spec/
By default, use chrome as a webdriver. If you set environment variable 'DRIVER' to 'headless', headless_chrome is used.
% DRIVER='headless' bundle exec rspec -I plugins/redmine_issue_templates/spec --format documentation plugins/redmine_issue_templates/spec/
This software is licensed under the GNU GPL v2.