Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-8802

Support for providing the committer (in addition to author) in the API

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed (View Workflow)
    • Resolution: Done
    • Fix Version/s: 5.0.0
    • Component/s: None
    • Labels:
      None
    • Feedback Policy:
      We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Description

      Users have a requirement to distinguish between the author and the committer in pre-receive hooks etc.

      Although this is possible to get the committer information via the low-level git API, it's much more cumbersome than the higher-level API which returns for example com.atlassian.bitbucket.commit.Commit objects.

      Consider adding the following methods to Commit:

      @Nonnull
      Person getCommitter();
      
      @Nonnull
      Date getCommitterTimestamp();
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bturner Bryan Turner
              Reporter:
              jamieechlin JamieA
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but there is no synchronization info for this issue.