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

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

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • 5.0.0
    • None
    • None
    • 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

              bturner Bryan Turner (Inactive)
              714061b26763 JamieA
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: