Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

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

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

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!

Leaderboard

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
4,456,379
Community Members
 
Community Events
176
Community Groups

Can you override a repo variable in bitbucket via code?

Deleted user Jul 08, 2022

Hi! I want to know if I can & how could I override a repository variable via code that i push there?

1 answer

1 accepted

0 votes
Answer accepted
Mark C Atlassian Team Jul 10, 2022

Hi @[deleted],

Thank you for reaching out to the community.

You can override Bitbucket Cloud Pipelines repository variables via the API 2.0 endpoint below:

PUT /2.0/repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid}

You can also check this API 2.0 endpoint documentation for more information.

Hope it helps and do let me know if you have further questions.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events