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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events