Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How can I query a bitbucket rest API using the date created?

I want to get the data regarding all the pull requests made after a particular date. I have the api for that. I'm able to fetch data by giving state and limit. But I need to fetch only the pull requests made on or after a particular date.

This is the way i tried to get for the date '2019-08-03' :>=2019-08-03T14:00:00-07:00


1 answer

1 vote

Hi @Govind Haridas

Sorry I'm confused because you labeled your question with bitbucket-cloud whereas the API you referred to looks more like Bitbucket Server's.

I'm not sure if filtering by creation date is possible with Bitbucket Server. It can be done with Bitbucket Cloud though. Please clarify which product you're using.


Hi @Daniil Penkin ,

I'm using BitBucket server only. I need to filter the pull requests made on or after a particular date from the rest api.

Like Daniil Penkin likes this

Hello @Govind Haridas,

I double checked with Bitbucket Server team: unfortunately, pull requests REST API doesn't support filtering PRs by creation date.

The only date-related parameter is order, but it works with last update date, not creation date.


Hi Daniil,


Can you tell me the parameter name through which I can get pull requests created after a certain date in Bitbucket Cloud? Requesting you to please reply to this query on urgent basis as we are stuck in our work.



Felis Paul

Like felis paul likes this

Thanks a lot Daniil for your quick response. Really appreciate it.

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events