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

Ability to filter by commit date in "List commits that modified a file" API endpoint

    XMLWordPrintable

Details

    • 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

      Currently, when using the List commit that modified a file endpoint of Bitbucket Cloud API, it's not possible to filter by the commit date.

      When trying to filter by commit date with a query similar to the below : 

      https://api.bitbucket.org/2.0/repositories/<workspace>/<repository>/filehistory/master/file_A.txt?fields=values.next,values.path,values.commit.date&q=values.commit.date<=2011-05-18
      

      The following error is returned :

      {"type": "error", "error": {"message": "Field \"commit.date\" does not support filtering"}}
      

      This feature request is to implement the ability to filter by the commit.date field in List commit that modified a file endpoint.

      Attachments

        Activity

          People

            Unassigned Unassigned
            641e77b2eb21 Patrik S
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: