Forums

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

How to pass password bitbucket script runner

Ahmet Said Oyanık_
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!
March 2, 2025

Hello everyone,

Im using bitbucket script runner and i need to use a API for checking default reviewers so im using an API request which demands my password.
When giving the password in the script as a variable the script working fine but i need to hide the password. So how can i do that. 

Need some help :)

1 answer

1 vote
Fabio Racobaldo _Herzum_
Community Champion
March 14, 2025

Hi @Ahmet Said Oyanık_ and welcome,

my suggestion is to use an API token https://confluence.atlassian.com/bitbucketserver/http-access-tokens-939515499.html and use it instead of password.

It should solve your issue.

Fabio

Suggest an answer

Log in or Sign up to answer