Forums

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

Setting deployment variables via API

Lukas Maruniak
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!
July 30, 2025

Hi, 

I'd like to set deployment environments including variables via API. 

As far as I know - looking through API - this is not yet possible. 

 

Do you know some workaround, or even open ticket, where this is adressed ?

 

Lukas

1 answer

1 vote
Jim Knepley - ReleaseTEAM
Atlassian Partner
July 30, 2025

Hi @Lukas Maruniak welcome to the community.

I could be wrong, but I think what you want to do is part of the pipeline API, not the deployment API.

https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pipelines/#api-repositories-workspace-repo-slug-deployments-config-environments-environment-uuid-variables-post

Suggest an answer

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

Atlassian Community Events