nanego / redmine_auto_update_status

This is a plugin for Redmine which helps to automatically update issues statuses
MIT License
7 stars 2 forks source link

Redmine Auto-Update-Status Plugin

This is a plugin for Redmine which helps to automatically update issues statuses.

Install

This plugin is compatible with Redmine 4.0.0+.

You can first take a look at general instructions for plugins here.

Then :

Usage

To apply the rules manually, utilize the link: 'Apply to all issues.'

However, for automated status updates, it is necessary to create a script and run it periodically, such as once a day, using cron.

Below is an example of the script:

#!/bin/bash

echo "Start applying rules on Redmine issues: " $(date)
source /usr/local/rvm/scripts/rvm
cd /PATH-TO/redmine
bundle exec rails redmine:auto_update_status:apply_rules RAILS_ENV=production

Test status

Plugin branch Redmine Version Test Status
master 4.2.11 4.2.11
master 5.1.3 5.1.3
master master master

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

MIT License.