Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Fetch details of Bitbucket (cloud) pipelines with filters using the Bitbucket cloud REST API Edited

tried using this,

curl -G -H "Authorization: Bearer {mmpvgTwfY54A5Nv3Ggmsm35GULHwEsBlx3P1h_t5yrPwYbPZfm7T8xGtqUtc6thNcGvkzm1EBm6BFcKDtVY=}" -H "Accept: application/json" "" --data-urlencode 'sort=-created_on'

and it worked!

BUT this API end point doesn't seem to respond to any query params. Tried using --data-urlencode "q=created_on > 2020-10-17" for example, but it simply doesn't work. Returns the same JSON document that lists all of the pipelines.

Tried a few other end points like e.g.

curl -G -H "Authorization: Bearer {QwpvgYrfw69Z5Nv3Qgmsm3m8ULHwEsBlx3P1h_t5yrPwYbPZfmV78xGtqUtc6thNcGvkzm1EBm6BFcKTHVY=}" -H "Accept: application/json" "" --data-urlencode 'sort=-created_on&page=2' and they worked as documented.

Has anybody tried using the REST API for Bitbucket cloud pipelines? Would appreciate any explanation/insight. 


2 answers

0 votes

@kuwilk hello, we actually have a pipe that may cover your needs (look at This pipe gather statistics of run pipelines builds for given (or current) repository for n days.

Or if it does not cover what you'd like to implement, tell in more detail, what do you want to get from the build, what info?

Also look at bitbucket api doc


Cheers, Galyna

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

405 views 19 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you