Forums

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

Using new API Tokens in pipelines

victoryaremko
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!
September 18, 2025

 

I am using a Bitbucket pipeline to trigger another one.

Here is my current configuration:

 

pipelines: tags: "v*": - step: name: "Starting pipeline with settings" script: - pipe: atlassian/trigger-pipeline:5.7.0 variables: BITBUCKET_USERNAME: $BITBUCKET_USERNAME BITBUCKET_APP_PASSWORD: $BITBUCKET_APP_PASSWORD EXTENSION_ID: $EXTENSION_ID DEBUG: "true" REPOSITORY: "my-repo" BRANCH_NAME: "master" ACCOUNT: "my-account" PIPELINE_VARIABLES: > [{ "key": "EXTENSION_ID", "value": "$EXTENSION_ID" },{ "key": "REPO_ORIGIN", "value": "$BITBUCKET_GIT_SSH_ORIGIN" },{ "key": "REPO_NAME", "value": "$BITBUCKET_REPO_SLUG" }]

 

Since app passwords are becoming obsolete, I would like to integrate API tokens into my process, but I am running into problems.

My current approach no longer works — the pipeline fails with:
 

✖ Authentication missing. You must provide an access token or an Atlassian email and Atlassian API token.

I have tried using an API token instead of an app password, and my email instead of the username, but with no luck. The suggested solution from your AI chatbot to use API_TOKEN and BITBUCKET_EMAIL variables gives me the same result.

Could you provide some guidance on how I should modify my pipeline code to make it work with API tokens?

0 answers

Suggest an answer

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

Atlassian Community Events