Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-9785

Repository Hooks commit callbacks don't receive commits that are only reachable from annotated tags

      Plugins can register PreRepositoryHook and PostRepositoryHook modules to respond to changes to refs. These modules in turn can register a RepositoryHookCommitCallback to receive information about what commits are being added or removed from the updated branch and tags.

      There is an issue in the detection of which commit is added/removed to annotated tags.

      When pushing an annotated tag, the registered RepositoryHookCommitCallback callbacks do no receive callbacks for commits added or removed to that annotated tag. Lightweight tags and branches are not affected.

            [BSERV-9785] Repository Hooks commit callbacks don't receive commits that are only reachable from annotated tags

            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 2020337 ] New: JAC Bug Workflow v3 [ 3137308 ]
            Owen made changes -
            Symptom Severity Original: Major [ 14431 ] New: Severity 2 - Major [ 15831 ]
            Michael Heemskerk (Inactive) made changes -
            Fix Version/s New: 5.0.2 [ 72009 ]
            Resolution New: Fixed [ 1 ]
            Status Original: To be reviewed [ 10026 ] New: Closed [ 6 ]
            Michael Heemskerk (Inactive) made changes -
            Status Original: In Progress [ 3 ] New: To be reviewed [ 10026 ]
            Mark Ellis made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 293336 ]
            Michael Heemskerk (Inactive) made changes -
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Michael Heemskerk (Inactive) made changes -
            Assignee New: Michael Heemskerk [ mheemskerk ]
            Michael Heemskerk (Inactive) made changes -
            Affects Version/s New: 5.0.1 [ 71899 ]
            Michael Heemskerk (Inactive) made changes -
            Status Original: Needs Triage [ 10030 ] New: Open [ 1 ]
            Michael Heemskerk (Inactive) made changes -
            Description Original: Plugins can register  New: Plugins can register {{PreRepositoryHook}} and {{PostRepositoryHook}} modules to respond to changes to refs. These modules in turn can register a {{RepositoryHookCommitCallback}} to receive information about what commits are being added or removed from the updated branch and tags.

            There is an issue in the detection of which commit is added/removed to annotated tags.

            When pushing an annotated tag, the registered {{RepositoryHookCommitCallback}} callbacks do no receive callbacks for commits added or removed to that annotated tag. Lightweight tags and branches are not affected.

              mheemskerk Michael Heemskerk (Inactive)
              mheemskerk Michael Heemskerk (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: