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

Possible value for status filtering in API pipelines


Where can I get the list of statuses that I can filter for /pipelines/ endpoint?

I wanted to filter pipeline status that is queued/pending, in progress, and building.

As of now, I only know the endpoint is accepting status=BUILDING.


1 answer

1 accepted

1 vote
Answer accepted
Caroline R Atlassian Team Jul 23, 2021

Hi, @NazreenAR

Thanks for your question! I confirmed that currently, this information is not available on our API documentation, so I went ahead and created a feature request to update this info:

If you are not familiar with our Feature Request Policy, you can read more about it here

This is the list of statuses that you can filter for /pipelines/ endpoint:

  • Successful: status=PASSED,SUCCESSFUL

  • Failed: status=FAILED,ERROR


  • Paused: status=PAUSED,HALTED

  • Stopped: status=STOPPED,SKIPPED

I hope this helps, but do let me know if you have any questions. 

Kind regards,

How do you specify the status in a REST call? Is there a complete example with curl?

Patrik S Atlassian Team Jul 05, 2022

Hey @Ben Orgil ,

Please find an example below, which includes all the possible statuses for running pipelines : 

curl -X GET -u bitbucket_username:app_password "<workspace>/<repository>/pipelines/?status=PENDING&status=BUILDING&status=IN_PROGRESS"

This should return only the pipelines that are in progress. You can change the URL to filter for the different statuses that @Caroline R has outlined in the previous answer.

Hope that helps! Let me know if you run into any issues.

Thank you, @Ben Orgil  .

Kind regards,

Patrik S

Like Caroline R likes this

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events