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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,456,300
Community Members
 
Community Events
176
Community Groups

Bitbucket REST Api: How can I filter and sort API Object by created_on date ?

Edited

Hello,

I am trying to filter all pipelines that got created after a specific date.

When i do 

https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines/?sort=-created_on&created_on=2020-01-03T18:28:27.943Z

I get a result

I want to fetch only the items with created_on >= 2020-01-03T18:28:27.943Z

https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines/?sort=-created_on&created_on>=2020-01-03T18:28:27.943Z

I get no result. That is not correct.

How do i filter with the created_on date?

Thanks,

1 answer

No luck.

I get no result when i remove the Z.

When i remove the Z and do created_on = 2020-01-03T18:28:27.943

I get the error below

{

    "code": 500,

    "message": "There was an error processing your request. It has been logged (ID 7e3820543aac8ef8)."

}

Like Shailendra Singh likes this

Hello ixb / Lenin Raj,

I am also facing the same problem, any luck on this? how can we filter pipelines using created_on>=2020-01-03 i.e. (date or datetime) ? 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events