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

created_on in filter api functions as updated_on

    XMLWordPrintable

Details

    Description

      GET {{/2.0/repositories/

      {username}

      /

      {slug}

      /pullrequests}} with query: {{created_on >=

      {date}

      }} returns Pull Requests objects with their created_on property before the requested date.

      Apparently it mistreats the parameter as updated_on and returns Pull Requests last updated after the date rather than created since then.

      On a related note, the documentation boldly claims to require ISO-8601 date string, but then fails on a string like this: 2018-04-05T10:09:09.973Z with Invalid filter query expression: Illegal character in input: \'Z\', line: 1, error

      Attachments

        Activity

          People

            Unassigned Unassigned
            3fc4ebd8ee12 l1bbcsg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: