This plugin enables you to add external items to Redmine issues.
The initial author of the plugin is Kirill Bezrukov
This plugin version is compatible only with Redmine 3 and later.
-
To install the plugin
- Download the .ZIP archive, extract files and copy the plugin directory into #{REDMINE_ROOT}/plugins.
Or
-
Change you current directory to your Redmine root directory:
cd {REDMINE_ROOT}
Copy the plugin from GitHub using the following commands:
git clone https://github.com/clairton/redmine_issue_external_item.git plugins/redmine_issue_external_item
-
Update the Gemfile.lock file by running the following commands:
bundle install
-
This plugin requires a migration. Run the following command to upgrade your database (make a database backup before):
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
-
Restart Redmine.
Now you should be able to see the plugin in Administration > Custom Field > Issues.
Create a connection called "external_item_production" to retrieve items,
PS: the query must be in custom field with columns named key and description for exemplo
Put configuration in your enviroment file like config/environment/production.rb as
select
id as key,
name as description
from
projects
Redmine ExternalItem plugin is open source and released under the terms of the GNU General Public License v2 (GPL).