Skip to content

A redmine plugin to translade some fields from parent to subtask

Notifications You must be signed in to change notification settings

bicaret/redmine-inherit-fields-plugin

 
 

Repository files navigation

Subtasks Inherited Fields plugin

Code Climate

Subtasks Inherited Fields is a plugin that allows to choose which fields are inherited by default from parent issue when you create a subtask, in order to create subtasks faster. It also allows to select the default subtask tracker.

Features

  • Config which fields you want to inherit in the plugin administration page
  • Allows to select the default subtask tracker
  • Fast Create or Create and Continue subtask creation
  • Support for custom fields
  • Works on Redmine 4.0.x and 3.x.x (for Redmine 2.5.x and 2.6.x check out the 2.5.x branch)

Install

cd $REDMINE_FOLDER/plugins
git clone https://github.com/edosoft/redmine-inherit-fields-plugin.git redmine_subtasks_inherited_fields

Note: it is very important to clone the repository in the correct folder name: redmine_subtasks_inherited_fields

Then restart Redmine to apply the changes.

Usage

  • As an admin user, go to Administration -> Plugins -> Redmine Subtasks Inherited Fields plugin config link
  • Choose which fields you want to inherit by default and the default subtask tracker
  • Apply changes and go back to issues view

-alt text

  • Go to an issue in which you want to create a subtask

-alt text

  • Click on add subtask and observe how the configured fields are inherited

-alt text

Uninstall

rm -rf $REDMINE_FOLDER/plugins/redmine_subtasks_inherited_fields 

Then restart Redmine to apply the changes.

Testing plugin

To run tests for this plugin enter the following command:

rake redmine:plugins:test 

Additional RSpec tests can also be run by entering the following command:

rspec plugins/redmine_subtasks_inherited_fields/spec

Sponsors

Thanks to Luis Blasco for his contribution to support this plugin and implement the Create and Continue feature.

Contact

If you have any doubt please raise an Github Issue. Comments are Welcome!

License

This plugin is open source and released under the terms of the GNU General Public License v2 (GPL).

About

A redmine plugin to translade some fields from parent to subtask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 66.2%
  • Gherkin 20.3%
  • HTML 11.0%
  • JavaScript 2.5%