Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-10945

Add commit approval date to "GET an individual commit" API (BB-12017)

    XMLWordPrintable

    Details

    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      The "GET an individual commit" API currently provides a list of participants who approved the commit. However it doesn't include the date that each participant approved the commit.

      Could this be added please?

      This data seems to be stored by Bitbucket since hovering over a participant's icon on a commit page shows a tooltip such as "James Bursa approved this changeset 4 hours ago".

      I would like to use this to collect statistics on how long it takes to approve commits for our team.

      Perhaps it might look like this in the API response:

      #!javascript
          participants: [{
              role: "PARTICIPANT",
              user: {
                  ...
              },
              approved: true,
              approved_date: "2015-01-21T07:21:51+00:00",   /* new field */
          }],
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: