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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get deployment environments variables?

Hi!

I would like to extract deployment environment variables through the Rest API, but I can't find a route to do that, just a url to list environments, like this:

/repositories/{workspace}/{repo_slug}/environments/

I need to list all variables by environment, how can I do?

Thanks.

3 answers

2 accepted

0 votes
Answer accepted

@Rafael Chebel we've released these to the public API now: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/deployments_config/environments/%7Benvironment_uuid%7D/variables

Our internal endpoints do not have a deprecation policy. So please move to the official API when possible.

Thanks,

Phil

Peter Plewa Atlassian Team Oct 13, 2019

Hi @Rafael Chebel,

This is currently using undocumented internal API, feel free to use it but be aware that it ma change.

Thanks,
Peter

Do you know if there is a estimate for release?

Peter Plewa Atlassian Team Oct 14, 2019

Hi @Rafael Chebel, unfortunately we don't have estimates for this.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

552 views 15 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you