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
Community Members
Community Events
Community Groups

Is there a way to export my repository variables between repos?

My use case is as follows -

I've created.a new repo to test the bitbucket pipeline out.
I've created a lot of variables for the repo.

I'd like to import it into the other repo.


Please advise

1 answer

1 accepted

0 votes
Answer accepted
Caroline R Atlassian Team Dec 16, 2021

Hi, @Firdaus Aga! Welcome to the community! 

Unfortunately, this functionality is not available. Currently, we have a feature request for this as you can see in the link below:

I would suggest that you add your vote there (by selecting the Vote for this issue link) as the number of votes helps the development team and product managers better understand the demand for new features. 

You are more than welcome to leave any feedback, and you can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to get notified via email on updates.

Implementation of new features is done as per our policy here and any updates will be posted in the feature request. 

In case you would like to use the same variables for all the repos under a workspace, you can use the workspace variables. However, workspaces variables will be overridden by repository variables if you have repo variables a well. You can check more details about this here: 

Please, feel free to share any additional questions or concerns regarding this case. 

Kind regards,

Thanks @Caroline R !
I've added my vote to the feature request, as a workaround I will definitely look at Workspace variables too.

Like Caroline R likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,449 views 3 10
Read article

Atlassian Community Events