Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Pipeline cannot access own workspace API due to IP allowlist

Simba Choi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 18, 2025

We have IP allowlist enabled on our Bitbucket Cloud workspace for security purposes. However, we're facing an issue where our Bitbucket Pipeline cannot call the Bitbucket API for the same workspace

 

Issue Details:

  • We have a Pipeline step that fetches PR diff and posts comments using Bitbucket REST API
  • The API calls fail with HTTP 403: "To access this repository, an admin must whitelist your IP"

 

What we tried:

  1. Added atlassian-ip-ranges: true and size: 4x to the pipeline step - did not work
  2. Checked the outbound IP using curl -s ifconfig.me - confirmed it's not within Atlassian IP ranges

 

Questions:

  1. Is there a way to bypass IP allowlist for API calls made from Pipelines within the same workspace?
  2. Why is atlassian-ip-ranges: true not assigning Atlassian IP ranges to our Pipeline?
  3. Can Repository Access Tokens be exempted from IP allowlist restrictions?
  4. Are there any other solutions for this use case without setting up a self-hosted runner or proxy server?

 

Thank you for your assistance.

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 21, 2025

Hi @Simba Choi 

Can you please raise a support ticket so that we may assist you further? We need to check your Pipelines environment/IP configuration settings, but to access this - a formal support ticket is needed for our systems to allow us to grant this access to investigate further:

Please let me know if you encounter issues raising the ticket, and I will raise one on your behalf (please share your timezone so I can raise it in the correct region).

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events