Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Prior to this version, the notification hook from Notifyr was triggered for every important event, this didn't allow for more fine-grained notifications.
I received your feedback and added the option to specify these events. The documentation has been updated to reflect which events are recognized.


...

Get hook notifications on specified events

It is now possible to define for which events a rule should send notifications. Possible events are:

...

Code Block
languagejs
titleExample
{
  "rules": [{
        "events": ["Push", "BranchCreate"],
        "notifications": [
            { "address": "allthethings@example.com" }
        ]
  }]
}

Send hook notifications to users and groups

Another major change to the hook configuration is the possibility to specify an array of addresses and to use variables!

...

Code Block
languagejs
titleExample - Send to all group members
{
  "rules": [{
        "notifications": [
            { "address": "${group.bitbucket-users}" }
        ]
  }]
}

Notification on Fork events

Notifyr now sends notifications when a repository is being forked. This can both be specified from the JSON as on a per-user base.

...