ramlez / redmine-inherit-fields-plugin

A redmine plugin to translade some fields from parent to subtask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 3.0.x and 3.1.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!

About

A redmine plugin to translade some fields from parent to subtask


Languages

Language:Ruby 66.3%Language:Gherkin 20.2%Language:HTML 11.0%Language:JavaScript 2.5%