Repository and deployment variables, can they be loaded automatically through a json file? my query is because these variables are loaded manually from the bitbucket website by repository and it would be very helpful to be able to load a file that generates them and not add them one by one
Hi, @Joan Arbelaez, thank you for reaching out to Atlassian Community.
You could use our API endpoints to create the variables, this way you wouldn’t need to manually load them from the Bitbucket website and access each repository. These are our endpoints:
Workspace variables - Create a variable for a workspace
Repository variable - Create a variable for a repository
Deployment environment variable - Create a variable for an environment
Please let me know if you have any additional questions regarding this subject.
Kind regards,
Caroline
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.