Hook doesn't fire for commits on new branches

Description

I have a hook configuration like this, that should fire on all commits:

1 2 3 4 5 6 7 8 9 { "rules": [{ "notifications": [{ "address": "foo@bar.com", "sendSeparate": true, "includeDiff": true }] }] }

There is an edge case where I don't get emails:

  1. {git checkout tagname -b branchname}

  2. Do some work on the branch

  3. {git add files..; git commit}

  4. {git push --set-upstream origin branchname}

No emails are sent from this push though it succeeded and the commit and branch are on the remote. Commits/pushes on that branch after the {git push --set-upstream} do send notifications.

Environment

None

Status

Assignee

Stefan Kohler

Reporter

Eric Pederson

Labels

None

SEN

None

Bitbucket version

None

Fix versions

Affects versions

3.2.2

Priority

Major
Configure