Receiving Redmine events for an integration

Added by Geoff Johnson almost 3 years ago

I would like to write an integration with a different product, how is this generally done for applications outside of Redmine that need to receive events? For instance on issue change, on new time entry, on forum comment, etc. I've been looking at Redmine hooks, but is it only possible for a plugin that's internal to Redmine to get a notification of an event?

What I want to do:

            events                   events
[Redmine] <--------> [Integration] <--------> [Other Service]

Is it necessary to add a plugin in between as:

             hooks              events                   events
[Redmine] <--------> [Plugin] <--------> [Integration] <--------> [Other Service]

where the plugin receives the events via a Redmine hook, and then relays those to the thing that I want?

Replies (3)

RE: Receiving Redmine events for an integration - Added by Bernhard Rohloff almost 3 years ago

Hi Geoff,
welcome to the Redmine community!

There are several places in Redmine which offer an Atom feed you can subscribe to. Or you somehow gather your events over the REST API.

RE: Receiving Redmine events for an integration - Added by Geoff Johnson almost 3 years ago

Thanks for the thoughts Bernhard. I'm using the REST API to pull the data that I want, but what I'm looking for is something to notify me of the changes so that I can pull on event, instead of polling. This way I get the data that I need very quickly, instead of all of the data that I don't all of the time. An Atom feed may be a way of receiving these notifications, but as far as I'm aware there's no feed for all changes on all issues on all projects.

RE: Receiving Redmine events for an integration - Added by redmineservices . almost 3 years ago

Hello,

Consider using Custom Workflow plugin. You can define custom events after save some redmine entities.

(1-3/3)