The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Fabio Racobaldo _Catworkx_
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