Plugins Directory » Custom Workflows
Author: | Anton Argirov | |
---|---|---|
Website: | https://github.com/anteo/redmine_custom_workflows/wiki | |
Code repository: | https://github.com/anteo/redmine_custom_workflows | |
Registered on: | 2012-09-03 (over 12 years ago) | |
Current version: | 0.1.5 | |
Compatible with: | Redmine 3.1.x, 3.0.x, 2.6.x, 2.5.x, 2.4.x, 2.3.x, 2.2.x, 2.1.x, 2.0.x | |
User ratings: |
Plugin development is supported by DOM Digital Online Media GmbH
This plug-in provides a great functionality for those who is familiar with the Ruby language.It allows to customize workflow by defining own rules of issues processing. It's possible:
- To change issue properties if some conditions are met;
- To create new issues programmatically if the conditions are met (for example you can create an issue in another project if the status of source issue is changed to specific value);
- To raise custom errors which will display to user, if he does something wrong;
- To do anything that conforms to your needs;
- Issue (before_save, after_save, before_destroy, after_destroy)
- Group (before_save, after_save, before_destroy, after_destroy)
- User (before_save, after_save, before_destroy, after_destroy)
- Project (before_save, after_save, before_destroy, after_destroy)
- Attachment (before_save, after_save, before_destroy, after_destroy)
- Wiki Content (before_save, after_save, before_destroy, after_destroy)
- Group Users (before_add, after_add, before_remove, after_remove)
- Issue Attachments (before_add, after_add, before_remove, after_remove)
- Project Attachments / Files (before_add, after_add, before_remove, after_remove)
- Wiki Page Attachments (before_add, after_add, before_remove, after_remove)
- <Shared code>
<Shared code> - special type for workflows that running before all other workflows and can provide libraries of additional functions or classes.
Follow Wiki for finding answers.
Installation notes
- Download the latest version of the plugin
- Unzip to /plugins (Redmine 2.x) or /vendor/plugins (Redmine 1.x) folder of Redmine
- Run rake redmine:plugins:migrate (Redmine 2.x) or rake db:migrate:plugins (Redmine 1.x).
- Restart Redmine.
Changelog
0.1.5 (2015-11-22)
Compatible with Redmine 3.1.x, 3.0.x, 2.6.x, 2.5.x, 2.4.x, 2.3.x, 2.2.x, 2.1.x, 2.0.x.
- New observable objects added (Project, Wiki Content, Attachment, Issue Attachments, Project Attachments, Wiki Page Attachments)
- Ability to hook before_destroy and after_destroy events
0.1.4 (2015-07-15)
Compatible with Redmine 3.0.x, 2.6.x, 2.5.x, 2.4.x, 2.3.x, 2.2.x, 2.1.x, 2.0.x.
- Non-active workflows are now not checked for syntax. Now you can import non-valid (for your Redmine instance for example) workflow, make changes to it and then activate.
- Log message changed so that issue_id is before subject
- Fixed migration from version 0.0.4
0.1.3 (2015-06-24)
Compatible with Redmine 3.0.x, 2.6.x, 2.5.x, 2.4.x, 2.3.x, 2.2.x, 2.1.x, 2.0.x.
Compatibility with Redmine 2.x.x has returned
0.1.2 (2015-06-23)
Compatible with Redmine 3.0.x.
- Added new observable objects. Along with Issue objects you can now watch for changes in User and Group objects
- Added support of shared workflows - special workflows that running before all other workflows and can provide functions and classes for it
- Added Mailer helper for sending custom emails from workflows (check Wiki)
0.0.6 (2015-05-26)
Compatible with Redmine 2.6.x, 2.5.x, 2.4.x, 2.3.x, 2.2.x, 2.1.x, 2.0.x, 1.4.x.
Added import/export workflow abilities
0.1.0 (2015-05-08)
Compatible with Redmine 3.0.x.
Compatibility with Redmine 3.x, support of Redmine 2.x.x has dropped (for Redmine 2.x.x please use version 0.0.5)
0.0.5 (2015-05-08)
Compatible with Redmine 2.6.x, 2.5.x, 2.4.x, 2.3.x, 2.2.x, 2.1.x, 2.0.x, 1.4.x, 1.3.x, 1.2.x.
Compatibility with the latest versions of Redmine 2.x.x
0.0.4 (2012-10-08)
Compatible with Redmine 2.1.x, 2.0.x, 1.4.x, 1.3.x, 1.2.x.
- Added ability to enable workflows globally for all projects. No need to enable 'Custom workflows' project module anymore. Just go to the 'Administration' -> 'Custom workflows' section and enable or disable your workflows in one place.
- Fixed bug with 'Status transition prohibited' when updating the issue status by the repository commit
Don't forget to migrate plugins after installing the new version.
0.0.3 (2012-09-10)
Compatible with Redmine 2.1.x, 2.0.x, 1.4.x, 1.3.x, 1.2.x.
Added compatibility with 1.2.x, 1.3.x
0.0.2 (2012-09-08)
Compatible with Redmine 2.1.x, 2.0.x, 1.4.x.
- Added ability to define after_save script along with before_save
- Changed context of the script executing to the issue itself.
- Improved logging
0.0.1 (2012-09-03)
Compatible with Redmine 1.4.x, 2.0.x, 2.1.x.