youngmon/atlassian-qna huggingface dataset:
atlassian/aws-elasticbeanstalk-deploy:1.0.1 S3_KEY is "None"
Asked by Ian Anderson:

With the changeover to Python for the aws-elasticbeanstalk-deploy pipe, the "S3_KEY" is set to

'{os.getenv("APPLICATION_NAME")}/{os.getenv("VERSION_LABEL")}' by default. However, "VERSION_LABEL" is not a required field, and as such is set independently to a logical value if not provided in the configuration. However, when setting "S3_KEY" this is not taken into account. The current default will make it so all versions are uploaded to S3 with "APPLICATION_NAME"/"None. this means that the zip files for all versions collide with the name "None" in S3,.

Either the default for S3_KEY should be set to use the same logic as the VERSION_LABEL, VERSION_LABEL should become required, or another reasonable default should be set that gives a valid, different name for the uploaded zip file for each deploy.


Answers:
author: Halyna Berezovska
body: [@Ian Anderson](/t5/user/viewprofilepage/user-id/4366915) could you please share the part of pipeline, so we can see the precise pipeline configuration and it will help us to reproduce it?

Regards, Galyna

comments: author: Ian Anderson
body: ```
 - step: &deploy 
     name: Deploy 
     deployment: test 
     script:
       - pipe: atlassian/aws-elasticbeanstalk-deploy:1.0.1
         variables: 
           APPLICATION_NAME: $APPLICATION_NAME 
           ENVIRONMENT_NAME: $APPLICATION_ENVIRONMENT 
           ZIP_FILE: "composer_build.zip" 
           S3_BUCKET: $S3_BUCKET
```


author: Halyna Berezovska
body: [@Ian Anderson](/t5/user/viewprofilepage/user-id/4366915) please, try our newest pipe

```
 atlassian/aws-elasticbeanstalk-deploy:1.0.2
```

Looking forward to seeing your feedback

Regards, Galyna


author: Ian Anderson
body: [@Halyna Berezovska](/t5/user/viewprofilepage/user-id/3865505) - It is working well from my end. The initial build I tried has been completely successful.

thank you!


author: Oleksandr Kyrdan
body: Hi [@Ian Anderson](/t5/user/viewprofilepage/user-id/4366915)

Thank you for your feedback!

We'll fix this behaviour and notify you.

Best regards,  
Oleksandr Kyrdan


Tags: aws

bitbucket-pipelines

cloud
Rename repository and solution name in Bitbucket and visual-studio
Asked by Tali Rabinovitz:

I want to change my repository and solution name of my project (cloned from open-source in GitHub), and to seep it to all the project and project history.

but I don't want my project to be injured from this step,

what is the best way to do it?  
and is it better than creating a Nuget-package from this project (this is .Net project) and install it in new one?

Thanks for your response


Answers:
author: Tali Rabinovitz
body: hi

someone have any information about it? that can help me?

Thanks

Tali
create user with rest api
Asked by Mansur Maratov:

hi, i am creating an application that creates an account for bitbucket. So my question is how can I create a user for free without subscribing to any product through rest api


Answers:
author: Ulrich Kuhnhardt _IzymesCo_
body: Hi Mansur,

unfortunately I don't know the answer - but here is the developer community for BB cloud \[1\] where you can post your question - and hopefully get a quick response

\[1\] <https://community.developer.atlassian.com/c/bitbucket-development/bitbucket-cloud/13>

comments: author: Mansur Maratov
body: thank you
GIT FLOW CHART, is it possible to work with private Workspaces/Repro
Asked by Martin Wohlfarter:

I can install the app and also access it. Then comes "Premium featurePlease upgrade to see private repositories" although I have premium. The Settings dialog cannot be called. What can I do? Or does the app only work on the server version


Answers:
author: Theodora Boudale
body: Hi [@Martin Wohlfarter](/t5/user/viewprofilepage/user-id/4502242) and welcome to the community.

The "Premium feature" doesn't refer to your Bitbucket billing plan, but to the add-on.

I can see on the following page that they have pricing info listed:

* <https://gfc.io/#pricing>

and the free version of the add-on allows users to see only public repositories.

The following page lists the contact details of the vendor:

* [https://marketplace.atlassian.com/apps/1212520/git-flow-chart?hosting=cloud\&tab=support](https://marketplace.atlassian.com/apps/1212520/git-flow-chart?hosting=cloud&tab=support)

You can contact them via email if you'd like to find out more or purchase one of their paid plans.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
lost recovery codes, authenticator app entry - Lost bitbucket access
Asked by Phani:

My bitbucket account is locked and I'm unable to receive any recovery emails. I have a recovery key but unable to use it.  
I enabled the two factor authentication for the bitbucket, but deleted the entry in the authenticator application. I lost the recovery codes as well.

Please help me recover my account


Answers:
author: Caroline R
body: Hi, [@Phani](/t5/user/viewprofilepage/user-id/2636954)!

Thank you for reaching out to Atlassian Community!

I reviewed your request and, checking your account, I confirmed that you requested the two-step verification recovery by selecting the "Forgot code?" option. Then, after 24 hours, Bitbucket sent you the two-step verification recovery email. So, could you confirm if you received any error messages when accessing the link on this email?

In any case, I went ahead and sent you a new two-step verification recovery email, could you confirm if you received it and test accessing the link on this email? This should allow you to access your Bitbucket account without the 2sv.

Please let me know how it goes and don't hesitate to ask for any further information if needed.

Kind regards,  
Caroline

comments: author: Phani
body: Thank you Caroline.

Is it possible that you could send me the code again. My organization was blocking the account recovery emails and hence I did not receive any till now.

The restriction is removed now and I am able to receive the acknowledgement emails when I request for email recovery. Should I wait for the next set of instructions or will you be able to resend the codes again?


author: Caroline R
body: Hi, [@Phani](/t5/user/viewprofilepage/user-id/2636954)!   

Sure, no problem! I sent you a new recovery email, could you confirm if you received it and were able to access your account?  

Kind regards,  
Caroline  


author: Phani
body: Thank you so much. I can access the account now.


author: Van Thuan Hoang
body: [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) I have same situation with Phani . could you send me a new recovery email .


Tags: 2-factor-authentication

account

bitbucket-cloud

cloud
Where's the "recover password" function?
Asked by Gavin Stokes:

Hi all.

Tried to do a git pull on a repo I use regularly, and was suddenly prompted for a user ID and password. I tried my credentials, and they were rejected. Went to my settings at BitBucket/Atlassian and found the password-change page, which also claims my password is wrong.

But there's no "forgot password" or other password-reset function, and no live support.

So what are people supposed to do in this situation?

Thanks for any insight.


Answers:
author: Gavin Stokes
body: Two years later, and no answer?
Access to Bitbucket Pipelines error information on failure of a step
Asked by Niall Flavin:

Hi,

I am looking for a way to process error information from a pipeline that is a result of a failed step. I'm looking to access this information via the bitbucket-pipeline.yml while executing an after-script. I am looking to post this error log/failure data to external site for visualisations (Grafana). Is this error data currently accessible in the pipeline or is there a better way to achieve this?

Thanks in advance.

NF


Answers:
author: Mark C
body: Hi [@Niall Flavin](/t5/user/viewprofilepage/user-id/4501194),

Welcome to the community.

As long as you can manually save the logs within the directory **$BITBUCKET_CLONE_DIR** , you can access it in the **after-script** step then POST it externally.  

Alternatively, you can also use the API 2.0 endpoint below to get your step's logs.

```
/2.0/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/log
```

[API Documentation](https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pipelines/%7Bpipeline_uuid%7D/steps/%7Bstep_uuid%7D/log)

To get the Pipelines and Step UUID's, you can use the below [default environment variables](https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/):  
![](https://getsupport.atlassian.com/images/icons/emoticons/information.png) Note that you'll have to URL encode it as it includes curly braces

* **BITBUCKET_PIPELINE_UUID**
* **BITBUCKET_STEP_UUID**

Hope it helps and let me know if you have further questions that I can help with.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Not receiving any bitbucket emails
Asked by Erwin van Kester:

Hi,

Since some weeks ago I abruptly stopped receiving any e-mail from BitBucket. I don't get commit updates, placed comments, or invites. They are not in my spam.

Who can help me get off some suppression list?

Regards,

Erwin


Answers:
author: Caroline R
body: Hi, [@Erwin van Kester](/t5/user/viewprofilepage/user-id/4500983)! Welcome to the community!

I checked our logs and confirmed that your email had a block on the server that prevented emails from being sent to your address. So, I removed your email from this suppression list.

Could you please confirm if you receive the Bitbucket notifications now?

Kind regards,  
Caroline

comments: author: Erwin van Kester
body: Thanks Caroline, that worked! Have a nice day.


author: wojtek-mentor
body: Hi, [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) I'm not receiving too, can you check it? I'm sorry for my English, if is not perfect :D

Regards

Wojtek W

comments: author: Caroline R
body: Hi, [@wojtek-mentor](/t5/user/viewprofilepage/user-id/4599613)! Welcome to the community!

I can definitely help you with your issue too ? I just would like to ask if you could please create a new question for your issue, providing details on the errors you see.

We generally encourage users to create a new question for their issue instead of posting on someone else's question, because 1) the root cause and resolution may be different for each case 2) a question can become cluttered and difficult to follow if we try to troubleshoot multiple users' issues in it.

Please feel free to let me know if you have any questions.

Kind regards,  
Caroline


author: wojtek-mentor
body: Ok ;) :D


Tags: bitbucket-cloud

cloud

email
My company's admin can't invite me to the company's workspace
Asked by lucca.martins:

Yesterday I tried to login into my new company's e-mail but Atlassian refused to sent the invite e-mail even if trying a couple times. The only way I got logged in was using the slack account but it only works for Jira. Now, even if I own a BitBucket account with company's e-mail, **the admin can't invite me to the workspace because it's necessary send an invite e-mail but it not work.**   

I read some posts from this community yesterday and I think my e-mail got in the "blocked list", I mean, the list with the bounced e-mails. Could you please remove my e-mail from this blocked list?


Answers:
author: Caroline R
body: Hi, [@lucca.martins](/t5/user/viewprofilepage/user-id/4500561)! Welcome to the community!

I performed an analysis on our logs and confirmed that your email had a block on the server that prevented emails from being sent to your address. This can occur when the system tries to send an email and the account does not exist yet, it's not activated, or it rejects the email for some internal reason.

So, I removed the block from your email. Could you please ask the admin of the workspace to remove the invitation and send you a new one?

Just to let you know, we already have an open bug for our development team regarding this problem, as currently there is no indication of when an invitation email is blocked/rejected. You can access it here:

* <https://jira.atlassian.com/browse/BCLOUD-20659>

You can add yourself as a watcher, this way you get updated as we make progress with this. If you are not familiar with our Bug Request Policy, you can read more about it [here](https://confluence.atlassian.com/support/atlassian-cloud-bug-fix-policy-206865884.html).

Please let me know if it works now and feel free to share any additional questions regarding this case.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud

email

issue

login
Unable to access 'Outdated Comments' on Pull Requests in bitcucket cloud.
Asked by Kirk Stevens:

When reviewing a PR with Bitbucket Cloud, I want to review the detail of outdated comments but when selecting the button the comments load very briefly and a something went wrong page is displayed  

The code provided for me to use with support is ae32c474597e4f198fddb3f644e39d33


Answers:
author: Caroline R
body: Hi, [@Kirk Stevens](/t5/user/viewprofilepage/user-id/1259715)!

Thank you for reaching out to Atlassian Community!

Our team is currently investigating and working on addressing this issue "PR outdated comments are not showing on the UI" as a matter of priority.

We will be providing further updates on <https://bitbucket.status.atlassian.com/>.

We sincerely apologize for the service interruption.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Rest API to download repository from bit Bucket to local system
Asked by manish kumar gupta:

Hello Team,

I have got an assignment where i need to download latest code base from bit bucket using Rest API. I have got api to get meta data but unable to find an API which could help to to download repository files.

Requesting you to let me know if we have an API to perform such type of activity.


Answers:
author: Christian Glockner
body: Hi Manish,

Is there any reason why you wouldn't just clone the repository using git clone?

If you must use the REST API, one way to do this is to request an archive of the repository using <https://docs.atlassian.com/bitbucket-server/rest/7.14.0/bitbucket-rest.html#idp199>

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: manish kumar gupta
body: Hello Christian,

Thank you to answer my query. Actually i have got a client request where we need to execute test script using batch file without CI/CD pipeline as a one click solution.

To achieve it we are planning to download/clone project using Rest API.

I have just checked the archive option as well, as per my understanding it should download the project in zip format at specific location.

I have executed "[https://nordlb-bitbucket.hosting.it-economics.de/rest/api/1.0/projects/TAUT/repos/DI2/archive?filename=test\&format=zip\&prefix=C:/temp/bit](https://nordlb-bitbucket.hosting.it-economics.de/rest/api/1.0/projects/TAUT/repos/DI2/archive?filename=test&format=zip&prefix=C:/temp/bit)" from postman which was executed successfully as i am getting response 200. but post execution of command did not see anything inside "C:/temp/bit" can you please help me if something i am doing wrong


author: manish kumar gupta
body: can someone pls help me to find the solution to download the project from git repository


author: Rabindra Roy
body: Hello Manish Jee  

Did you get the solution. Yes I am asking you after a long time, you may forget it too. Still if you got the solution or have in ur memory, Can you please share here? or if you want, I can share my email id to you.  

Thank you


Tags: bitbucket-server

server
My Bitbucket isn?t showing repository folders
Asked by avanti-dposada:

Today i logged in on my Bitbucket account and i can?t open my repository folders and seem to have disappeared. The commits still there but the files are not visible.


Answers:
author: Theodora Boudale
body: Hi [@avanti-dposada](/t5/user/viewprofilepage/user-id/4499954) and welcome to the community.

Are you still facing this issue? If so, I would like to ask a few questions so we can better help you:

**1)** Are you facing this issue on the **Source** page of the repo, in Bitbucket UI? Or on a different page?

**2)** Is there any error displayed on the page where you have this issue? Or the files/folders are simply not listed, and it's empty?

Could you please attach a screenshot of the page with the issue (after you blur in the screenshot any sensitive/private data)?

**3)** Is it possible that the folders/files you are looking for are in a different branch? The **Source** page of the repo (if this is the one with the issue) shows files/folders of a specific branch, and there is a dropdown to switch branches at the top.

**4)** Do more users have access to this specific repo? If so, can you check with them if someone perhaps rewrote history in the repo and deleted any files/folders, or perhaps committed files/folders deletions?

Kind regards,  
Theodora


Tags: bitbucket-cloud
bitbucket.org Cant create PR because commits not seen
Asked by Cornel Buz:

I have an account on bitbucket.org. I worked locally and I promoted/pushed my changes in a dev branch. When I go on bitbucket.org to create a pull request and I select the dev and master for branches, I'm told that

\<\<\<

There are no changes {#toc-hId--1238967725}
-------------------------------------------

No commits on dev that aren't on master.

\>\>\>

And I cannot create the PR using the web interface provided by bitbucket.org. If I browse the source of the two branches, I do see they're different. If I go and search for commits, I can see the commit there too. The only kind of strange thing I see is that the dev branch is not listed in the branches unless I select "All branches", that is, it is not displayed when the (default) active branches filter is selected.

Any ideas what's going on?

Tks,


Answers:
author: Valentyn Shtronda
body: After a year, the same happened to me. In half an hour the problem went away without any actions from my side. Seems like temporary problem on BitBucket server side.

Are they doing some upgrade on August 2-4? :)


author: Cornel Buz
body: FYI

As a workaround, I just created a new branch (wip) off the dev branch, I added a small change in it and then I was able to create the PR from wip into master and it contained both the commit from dev and the new one from wip. Oh, well, very strange.

comments: author: Shane West
body: I'm seeing the same behavior, but this workaround also worked for me.


Tags: bitbucket-cloud

cloud
How to make pullrequests API to return all the details from bitbucket
Asked by Pavan_Nayakanti:

01. The challenge now am trying to deal is that "API reflects only those pull requests information associated with the credentials am using for triggering API".  
I mean, if i use my credentials of user1 to trigger the API, it returns the pull requests created by only the user1 despite it has admin privileges over the bitbucket-dev instance.  
[https://bitbucket-dev.xxxxxxxxxxxx.local/rest/api/1.0/dashboard/pull-requests?state=OPEN&participantStatus=UNAPPROVED](https://bitbucket-dev.associatesys.local/rest/api/1.0/dashboard/pull-requests?state=OPEN&participantStatus=UNAPPROVED)  
So, am exploring ways to make the API to return all the Pull requests irrespective whoever is created. Please advise.


Answers:
author: Pavan_Nayakanti
body: The below helped

* Get all projects - `/rest/api/1.0/projects` [REST Resources Provided By: Bitbucket Server - REST](https://docs.atlassian.com/bitbucket-server/rest/5.16.0/bitbucket-rest.html#idm8297225296)
* Get all repos of a project `/rest/api/1.0/projects/{projectKey}/repos` [REST Resources Provided By: Bitbucket Server - REST](https://docs.atlassian.com/bitbucket-server/rest/5.16.0/bitbucket-rest.html#idm8287395680)
* Get all pull requests of a repo `/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests` [REST Resources Provided By: Bitbucket Server - REST](https://docs.atlassian.com/bitbucket-server/rest/5.16.0/bitbucket-rest.html#idm8287391664)


Tags: bitbucket-server

server
Rename a file using Sourcetree and Mercurial?
Asked by Alex Bilstein:

Is there a way to rename a file in the Sourcetree UI when paired with Mercurial? I know I can do it in the command line using "hg rename", but just wondering if there is a way to do it without leaving the app.

Am I just missing it?


Answers:
author: stevestreeting
body: You can do this via right-clicking the file and selecting 'Move'. It's called 'Move' rather than 'Rename' because you can also change the location of the file while you're at it.

comments: author: Joe Staroba
body: Steve,

What about renaming/moving an entire folder in Sourcetree when paired with Mercurial? I've only been able to do this via command line.


author: JonathanG
body: That worked, although it would be nice to have a "rename" option too. I would not have guessed to use "move" to rename a file...


Tags: mercurial

rename
Why can't I install 1.4.4.2 update?
Asked by danhoo:

I'm having a little trouble updating my Sourcetree. I have version 1.3.2 running on Mac OS X 10.6.8. When I try to update to 1.4.4.2, the update (approx 16MB) downloads successfully, but then I get an "Update Error!" msg telling me to "please try again later". I've been attempting this for the last couple days, and I always get this error.

Any thoughts or suggestions? Thanks in advance.

Dan

![](../../../upfiles/Screen_shot_2012-06-20_at_9.36.04_PM.png)


Answers:
author: stevestreeting
body: Yes, this is a known error, please see <https://jira.atlassian.com/browse/SRCTREE-1066> . This problem doesn't occur in Mac OS X 10.7 or 10.8, this seems to be caused by a bug in the 10.6 implementation of NSFileManager which was subsequently fixed in 10.7. We only started hitting its limit after 1.4.4.

For the moment, if you're running 10.6 please just re-download from <http://sourcetreeapp.com>. I'm trying to come up with a work-around, but even once I do you will probably have to manually update one more time (to get the work-around in to the app so it can auto-update again afterwards).

comments: author: danhoo
body: Thanks Steve! I will download and manually update.


author: Ken Turkowski
body: You are not th eonly one having this problem.
Software Update Error!
Asked by Brian Johnstone:

During the update process for SourceTree I get this error after the download:

"An error occurred while extracting the archive. Please try again later."

Previous updates have worked, but I get this error every time now with my MacBook Pro running 10.6. I have a Mac Pro desktop that's running 10.7 and it has updated SourceTree without any problems at all. What could be going on here?

When I look in the system log I see these messages as well:

Jun 13 20:33:59 --- /Applications/SourceTree.app/Contents/MacOS/SourceTree\[42669\]: error processing extended attributes: Argument list too long  
Jun 13 20:33:59 --- \[0x0-0x272272\].com.torusknot.SourceTreeNotMAS\[42669\]: "disk1" unmounted.  
Jun 13 20:33:59 --- \[0x0-0x272272\].com.torusknot.SourceTreeNotMAS\[42669\]: "disk1" ejected.


Answers:
author: kula85
body: xattr -dr com.apple.quarantine path/to/Sourcetree.app


author: Jamie Reynolds
body: Built in.

I have downloaded manually and it update fine.


author: Jamie Reynolds
body: "An error occurred while extracting the archive. Please try again later."

Mac OS 10.7.5

Sourcetree current version: Version 1.6.3.1 (1.6.3.1)

Version trying to update to: SourceTree 1.7.4.1

comments: author: Jeff Thomas
body: Jamie: Are you getting this from using the built-in upgrade process or when downloading the install file manually from <http://sourcetreeapp.com/>?


author: stevestreeting
body: Yes, there appears to be a problem with the Sparkle update process on 10.6 with the new Developer ID signature. The build does work on 10.6 though, so please just download manually for now from [sourcetreeapp.com](http://sourcetreeapp.com). I don't have a 10.6 machine with me to investigate (I'm at WWDC right now) but will try to figure out what's up after my return.


Tags: update