-
-
Notifications
You must be signed in to change notification settings - Fork 121
Home
This is a plugin to generate and use issue templates, and its objective is to support user's issue creation work.
Please see README.md.
Now, this plugin works as a project module, and three permissions are defined.
-
Show template
-
Edit template
- Right to create/edit templates.
-
Manage template
- Right to add help message for templates, such as usage of templates.
(!) Note: These templates are available only for its project. (!) Note: Only Redmine administrator can set permissions for issue templates.
!permission.png!
Now, this plugin works as a project module. So, the project manager needs to check this plugin at the project module settings page for activation.
!set-as-project-module.png!
User who has "show templates" permission can use templates when creating an issue. First, enable, selectable templates related to the tracker are shown as a pulldown menu.
Select template from pulldown, ajax request is posted and template body is loaded into the issue description field.
!use_template1.png!
NOTE: Since templates are associated with a tracker, that template pulldown menu I changed if the tracker is changed at the new issue page. And if the selected tracker has no associated templates, issue template pulldown is blank. ( only "---" text is shown.)
!template-pulldown-is-blank.png!
To access create / edit templates menu, click "Issues" or "New Issue" project tab, and you can see the menu at the sidebar.
Click "Add template" and the form for creating template will be shown.
And each template is related to some tracker, so that if you change tracker of new issue, template pulldown is also reloaded and updated related to the tracker.
!gotomenu.png!
!add-template.png!
(!) Note: This is not shown without "show templates" permission.
Now, this is optional setting. Who has manage template permission can set custom help messages for template usage on his/her project.
This help message will be shown on the "New Issue" page, beside template pulldown.
!manage-template.png!
Here is a screenshot of custom template help message.
!template-help.png!
In case a tracker has some related templates, you can reorder the template on the index page.
If a template marked as default, template text will be loaded when the tracker is changed on creating the issue page.
For example, Bug tracker has 3 templates and "Bug3 default" template is marked as default.
!template-list.png!
At the new issue page, when the user selects Bug tracker, soon default template text is appended to the description field.
!load-default-template.png!
Administrators can make global templates from Administration menu, and associate global templates with each project.
!global-template.png!
- Feedback would be appreciated. You can send from issue tracker on bitbucket or tracker on this project.
- Translations, UI idea, CSS are also appreciated.