https://github.com/petoc/redmine-http-integration
Plugin for sending notifications about issue updates to external URL.
https://github.com/petoc/redmine-http-integration
redmine redmine-plugin webhook
Last synced: 5 months ago
JSON representation
Plugin for sending notifications about issue updates to external URL.
- Host: GitHub
- URL: https://github.com/petoc/redmine-http-integration
- Owner: petoc
- License: mit
- Created: 2020-07-25T09:25:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-05T05:19:44.000Z (about 2 years ago)
- Last Synced: 2024-06-05T06:33:37.441Z (about 2 years ago)
- Topics: redmine, redmine-plugin, webhook
- Language: Ruby
- Homepage:
- Size: 26.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redmine HTTP integration
Issue update notifications to external URL.

## Features
- project specific configuration
- custom HTTP headers
- configurable method (GET, POST)
- option to allow insecure HTTPS connection (mainly for development)
- option to include notifications for issue updates over Redmine API
## Compatibility
Tested with Redmine deployments in table below.
| Redmine | Ruby | Rails |
|---------------|-------------|----------|
| 5.1.2.stable | 3.2.4-p170 | 6.1.7.7 |
| 4.2.10.stable | 2.7.8-p225 | 5.2.8.1 |
| 3.4.13.stable | 2.4.10-p364 | 4.2.11.1 |
| 2.6.10.stable | 2.2.5-p319 | 3.2.22.2 |
| 2.3.0.stable | 1.8.7 | 3.2.13 |
## Setup
```sh
RAILS_ENV=production bundle exec rake redmine:plugins:migrate
```
## Limitations
Only individual issue updates are processed. To provide same functionality for bulk editing, issue controller in Redmine needs to be patched.
```diff
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -323,6 +323,7 @@
call_hook(:controller_issues_bulk_edit_before_save, { :params => params, :issue => issue })
if issue.save
saved_issues << issue
+ call_hook(:controller_issues_bulk_edit_after_save, { :params => params, :issue => issue, :journal => journal })
else
unsaved_issues << orig_issue
end
```
Note: Line numbers from patch above may be different across Redmine versions.
## License
Licensed under MIT License.