youngmon/atlassian-qna huggingface dataset:
Bamboo build exception, nothing changed?
Asked by Charles Richard:

Hi,

This morning, we are getting the following exception when we start Bamboo:

You cannot access Bamboo at present. Look at the table below to identify the reasons:
\<th\>Time\</th\>\<th\>Level\</th\>\<th\>Type\</th\>\<th\>Description\</th\>\<th\>Exception\</th\>

|---------------------|-------|-----------|-------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 2013-10-29 08:43:54 | fatal | bootstrap | Could not load bootstrap from environment | java.lang.IllegalStateException: Unable to bootstrap Bamboo: Your build of Bamboo (2812) is too old to work with the data in your Bamboo home directory (/ttfmserver/webapps/bamboo/home), which comes from build number 3715 |

We have found this article relating to this error:

<https://confluence.atlassian.com/display/BAMKB/Bamboo+doesn%27t+start+up+-+Unable+to+bootstrap+Bamboo>

What I have difficulty understanding is how could this have happened as we haven't changed anything in Bamboo. Could it have upgraded itself? If I follow the article above, how do i relate a buildNumber to a version?

Thanks,

Charles


Answers:
author: felipe ieder
body: Charles, we found what the problem was: make sure you execute bamboo.sh from the right directory. We had 2 directories

/bamboo-3.4.2

/bamboo-5

We are using the latter so the mistake was to execute bamboo.sh start from the former directory (/bamboo-3.4.2). I guess it would have helped to know which version of bamboo is related to build# because it's not straight forward to realise that build #2810 = v3.4.2 whereas build #3715 = v5.0

I hope it helps.

Cheers.

Felipe

comments: author: Charles Richard
body: Thanks! :)

Cheers,

Charles


author: core VTAF
body: Can you specify the file path which should execute?


author: felipe ieder
body: We are facing the same here. We are running bamboo 3.4.2. Thanks for the help!

```
bootstrap	Could not load bootstrap from environment	 java.lang.IllegalStateException: Unable to bootstrap Bamboo: Your build of Bamboo (2810) is too old to work with the data in your Bamboo home directory (/var/bamboo-home), which comes from build number 3715
```


Tags: bamboo-administration
how to use NFS in the pipeline
Asked by Sumanth Anumolu:

I am planning to use the NFS for my build because it is taking 3 hrs of time. How to use it in the pipeline. How to mount the NFS to pipeline?


Answers:
author: Caroline R
body: Hi, [@Sumanth Anumolu](/t5/user/viewprofilepage/user-id/4740174), thank you for reaching out to Atlassian Community.

Currently, it's not possible to mount NFS in Pipelines, and we already have a feature request for that:

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

An alternative would be to mount NFS on a different server and then transfer files to that server using an SFTP client. In case you would like to read more about this, you can access the following doc:

* <https://support.atlassian.com/bitbucket-cloud/docs/pipelines-runners-frequently-asked-questions/#How-I-can-access-files-on-the-host-from-the-build-script>

I hope this helps, but do let me know if you have any questions.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Script Runner Merge Check: Code Snippets for approvers is not working
Asked by Michelle Geppert:

I created a conditional merge check. Then I copy in either the "Named user approves" or "At least one user from experienced developers group has approved" code snippet and my pull request can still be merged in despite the condition not being met. I copy in the "Target branch is master" code and that blocks my code merge. What do I need to change to make these work?

mergeRequest.pullRequest.reviewers.find {it.approved \&\& it.user.name == "seniordev"}

and

import com.atlassian.sal.api.component.ComponentLocator  
import com.atlassian.bitbucket.user.UserService

def userService = ComponentLocator.getComponent(UserService)  
mergeRequest.pullRequest.reviewers.findAll { it.approved }.any {  
userService.isUserInGroup(it.user, "experienced-developers")  
}


Answers:
author: Michelle Geppert
body: The group didn't exist in the scope I was using. To check that, you use

import com.atlassian.sal.api.component.ComponentLocator  
import com.atlassian.bitbucket.user.UserService  
import com.atlassian.bitbucket.hook.repository.RepositoryHookResult

def userService = ComponentLocator.getComponent(UserService)  
if (userService.existsGroup("experienced-developers")) {  
RepositoryHookResult.rejected("Merge rejected", "exists")  
} else {  
RepositoryHookResult.rejected("Merge rejected", "does not exist")  
}


Tags: bitbucket-cloud

cloud
I'm not receiving email notifications from Jira and Bitbucket
Asked by anat28dec:

Hello, I have stopped receiving email notifications since yesterday all of a sudden. There were no changes made in the settings. Is the email address added in the suppression list?

My account is \<email removed due to privacy reasons\>

Thanks,

Anamika


Answers:
author: Caroline R
body: Hi, Anamika, thank you for reaching out to Atlassian Community.

Checking our internal logs, I can see the following error on your email:

```
421 4.4.0 [internal] no mail servers for this domain could be reached at this time
```

Checking your domain, it seems there is a problem with your DNS settings. In case you would like to check that too, you can get an email health report through the following link:

* <https://mxtoolbox.com/emailhealth/>

In this case, I would suggest you check this issue with your Domain Admin.

I hope this helps, but do let me know if you have any questions.

Kind regards,  
Caroline

comments: author: Anamika Trivedi
body: Hi Caroline!

It looked like there were some issues reported on the mail server but it looks like the email domain is reporting healthy from office.com now. So the issue resolved on its own after a while.

Thanks,

Anamika


author: Caroline R
body: Hi, Anamika!

Thanks for the update, I'm glad to know the issue is resolved now!

Kind regards,  
Caroline


author: anat28dec
body: Looks like I spoke too early. I'm not receiving any emails again :(

The DevOPs team member has created the ticket with Atlassian support to find out about users with this domain not getting notifications.


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

In this case, to avoid any possible misunderstandings or miscommunication that may arise from discussing the same matter on two different platforms, let's focus on the ticket they created with our support instead.

Once the ticket is resolved, feel free to share the resolution here to help other community members that may have the same issue.

Kind regards,  
Caroline


author: Pramodh M
body: Hi [@anat28dec](/t5/user/viewprofilepage/user-id/4739588)

Welcome to the Community!!

Sharing email is not recommended in Community.

Do you have access to Jira and Bitbucket application?

Adding [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) for assistance.

Thanks,  
Pramodh

comments: author: Anamika Trivedi
body: Yes I do have access to Jira and Bitbucket.


Tags: bitbucket-cloud

cloud
Bitbucket view change in Jira tickets
Asked by Urmo Luts:

Hi

Is it possible to change what fields bitbucket show from jira ticket? I did not find fast looking any possible solutions.![fields.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/181187iA65F57B649A2A6EE/image-size/large?v=v2&px=999 "fields.PNG")


Answers:
author: Mikael Sandberg
body: The short answer is no, you cannot customize what fields from Jira that are being displayed when you open the issue from Bitbucket.


Tags: bitbucket-server

server
Not receving Account verifcation emails
Asked by jpf198:

I am trying to create a new account for a new dev from our domain. Email is created and working, but your "verification email" is not arriving?

Seen other posts that you have some sort of email suppression list can you check if it please?

\<email removed due to privacy reasons\>

Thanks

John


Answers:
author: Caroline R
body: Hi, John, welcome to the community!

I checked the email you shared here and confirmed it had a block on the server that prevented emails from being sent to them, so I removed this email from the suppression list.

Just to give you some context around this issue, it can occur when the system tries to send an email to the user and the account does not exist yet, is not activated, or it rejects the email for some internal reason.

Could you please ask them to test it now and confirm if they receive the email?

Please let me know how it goes and feel free to share any additional questions regarding this case.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
How to get the list of folders present in the repository of a bitbucket using scrip
Asked by srikanth:

I need to get the list of folders which are present in a bitbucket repository...

*** ** * ** ***


Answers:
author: Pramodh M
body: Hi [@Yash Pradhan](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4677554)

Here's the API to get the details of the root repository files of the main branch

<https://developer.atlassian.com/cloud/bitbucket/rest/api-group-source/#api-repositories-workspace-repo-slug-src-get>

Ref here

<https://developer.atlassian.com/cloud/bitbucket/rest/api-group-source/#api-group-source>

Thanks,  
Pramodh


Tags: devops
Not receiving invitation or recovery email
Asked by Monica Stoica:

Hi,

I have recently rejoined the company and my Atlassian account was deactivated but not deleted I believe.

I could log in with no issue on Jira/Confluence but on Bitbucket, I am missing the 2FA - and I am not getting any recovery e-mails.

Moreover, the Admin sent me an invite to join the private space, but those are not arriving either.

Could I please get some suggestions on how to fix this?

Thank you in advance!


Answers:
author: Theodora Boudale
body: Hi Monica,

Your email address was in one of our suppression lists. This occurs when we attempt to send an email to an email address and receive a hard bounce response from the mail server, indicating that the email address doesn't exist or that there is some other permanent failure.

I went ahead and removed your email address from the suppression list.

Could you please request another 2FA recovery email now, and also ask your admin to send you a new invitation? (This is necessary as the previous ones got dropped)

Kind regards,  
Theodora

comments: author: Monica Stoica
body: Hi Theodora,

Thank you for your quick reply. I just requested the two (recovery \& invite) now. I see that it takes 24h for me to get the one-time login. is there any way I can skip that? perhaps with the help of the Admin of the space?

Kind regards,

Monica


author: Theodora Boudale
body: Hi Monica,

Apologies for the late reply, I just saw your message. I'm afraid there is no way for admins to expedite the process, the support team has the ability to do that but we do so only in exceptional cases.

I can see in our logs that a 2FA recovery email was sent to your email address yesterday. Please feel free to let me know if you have received that and if you can access your Bitbucket Cloud account now. Otherwise, I can check if we can expedite the process.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Getting warning : To avoid any disruptions, change the password used in your Git client
Asked by Arqam Ahmad:

I am using Windows OS, and cmd to do git operations.  

Lately I have started receiving following warning :   
remote: You are using an account password for Git over HTTPS.  
remote: Beginning March 1, 2022, users are required to use app passwords  
remote: for Git over HTTPS.  
remote: To avoid any disruptions, change the password used in your Git client  
remote: to an app password.  
remote: Note, these credentials may have been automatically stored in your Git client  
remote: and/or a credential manager such as Git Credential Manager (GCM).  
remote: More details:  
remote: <https://bitbucket.org/blog/deprecating-atlassian-account-password-for-bitbucket-api-and-git-activity>  

I created the app password as mentioned and in the cmd I did `git config --unset credential.helper`  

But again, when I did git push it didn't ask me for password and gave the same warning.  

Help please!!


Answers:
author: Theodora Boudale
body: Hi [@Arqam Ahmad](/t5/user/viewprofilepage/user-id/4738738),

The command *git config --unset credential.helper* will unset a credential helper set on a repository level, and not the one set on the system level (for all users on your computer) or on the global level (set for your user only).

Please also keep in mind that if you unset the credential helper, you will be required to give an app password in every clone/pull/push operation.

You can check what credential helper is set on the system and global level with the following commands:

```
git config --system credential.helper
git config --global credential.helper
```

Then, instead of unsetting the credential helper, I would recommend

* Removing any saved credentials for bitbucket.org from that credential helper
* In case you use any Git GUI client as well, check the settings of that client to see if it has any saved credentials for bitbucket.org and remove them as well

If you remove any saved credentials from the credential helper, you should get asked for a password next time you clone, pull or push. You can then provide the app password, and it should be saved in the credential helper.

Please feel free to let me know how it goes and if you have any questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Online recurring credit card payments are getting declined
Asked by gowtham.k:

Online recurring credit card payments are getting declined, So every month we are getting read-only warning messages after that in some days plans changing to free. Kindly suggest how to resolve this issue so that recurring payment can happen.


Answers:
author: Caroline R
body: Hi, [@gowtham.k](/t5/user/viewprofilepage/user-id/4033492), thank you for reaching out to Atlassian Community.

License and billing cases are handled by the Customer Advocate team and you can open a ticket directly with them. In order to do that, you can follow this process:

1. Access <https://support.atlassian.com/contact/>

2. Under the field **What can we help you with?** select **Billing, payments, and pricing**

3. Fill in the mandatory fields and click **Submit support request**

In your specific case, I see you have already created a ticket with the CA team and they have already answered you there, so in case you have any other questions related to this topic, feel free to add this to your internal ticket, so they can help you with that.

Kind regards,  
Caroline


author: Pramodh M
body: Hi [@gowtham.k](/t5/user/viewprofilepage/user-id/4033492)

Looping [Caroline R](https://community.atlassian.com/t5/user/viewprofilepage/user-id/3934006) for assistance


Tags: bitbucket-cloud

cloud
I have 0 files in specific commit.
Asked by Basit Alvi:

Hi everyone.  

1. git add some files.  
2. git commit.  
3. git push. (git ask me to pull first)  
4. git pull  
5. git push  

After git push, when I check my specific commit. I have 0 files in specific commit. because of that commit, someone else pull the code, latest changes will be discard from that person system and my latest changes are lost.  
I have no idea why this happen. Any idea?


Answers:
author: Caroline R
body: Hi, [@Basit Alvi](/t5/user/viewprofilepage/user-id/4738551), welcome to the community!

It's hard to say what happened without accessing the repository in question. I see that you have access to a workspace that is under the Standard billing plan, so if you are still facing this issue, you should be able to open a support ticket if you'd like us to investigate this further.

You can open a support ticket via <https://support.atlassian.com/contact/#/>, in "What can we help you with?" select "**Technical issues and bugs** " and then **Bitbucket Cloud** as the product. Please remember to inform the workspace ID that is under the standard plan. The support ticket will be visible only to you and Atlassian staff.

If you have any further questions or concerns, let us know.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Pipeline??UnicodeDecodeError
Asked by shohei satsuma:

???Bitbucket????????????????  
?????????????????????????????????  
Bitbucket?????AWS S3?????????????????????Pipeline????????????????UnicodeDecodeError??????????  
?????????????????????????????????

?????  
===  
aws s3 sync /opt/atlassian/pipelines/agent/build s3://XXX/  
Traceback (most recent call last):  
File "/usr/bin/aws", line 27, in \<module\>  
sys.exit(main())  
File "/usr/bin/aws", line 23, in main  
return awscli.clidriver.main()  
File "/usr/lib/python2.7/site-packages/awscli/clidriver.py", line 59, in main  
rc = driver.main()  
File "/usr/lib/python2.7/site-packages/awscli/clidriver.py", line 232, in main  
write_exception(e, outfile=get_stderr_text_writer())  
File "/usr/lib/python2.7/site-packages/awscli/utils.py", line 194, in write_exception  
outfile.write(six.text_type(ex))  
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 29: ordinal not in range(128)  
? Deployment failed.  
===

?????bitbucket-pipelines.yml?????????  
====  
# This is an example Starter pipeline configuration  
# Use a skeleton to build, test and deploy using manual and parallel steps  
# -----  
# You can specify a custom docker image from Docker Hub as your build environment.

image: atlassian/default-image:2

pipelines:  
default:  
- step:  
name: Default deployment  
script:  
- echo "Your deployment,build and test goes here!"  
branches:  
develop:  
- step:  
name: Development Deployment  
deployment: Test  
script:  
- pipe: atlassian/aws-s3-deploy:0.3.8  
variables:  
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID  
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY  
AWS_DEFAULT_REGION: ?AWS_DEFAULT_REGION  
S3_BUCKET: 'XXXX'  
LOCAL_PATH: '$(pwd)'

master:  
- step:  
name: Production deployment  
deployment: Production  
script:  
- echo "Your deployment to production script goes here.."  
- pipe: atlassian/aws-s3-deploy:0.3.8  
variables:  
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID  
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY  
AWS_DEFAULT_REGION: ?AWS_DEFAULT_REGION  
S3_BUCKET: 'XXX'  
LOCAL_PATH: '$(pwd)'  
===


Answers:
author: Caroline R
body: Hi, [@shohei satsuma](/t5/user/viewprofilepage/user-id/4682707), welcome to the community!

I saw that you created a ticket with our support related to the same question, so to avoid any possible misunderstandings or miscommunication that may arise from discussing the same matter on two different platforms, let's focus on the ticket instead.

Once the ticket is resolved, feel free to share the resolution here to help other community members that may have the same issue.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
App Passwords - create - where
Asked by hogtownrocketsled:

The mail says - From your avatar in the bottom left, click Personal settings.  
What screen am I supposed to be on in order to find this/my particular Avatar on the bottom left ?  

Is the video walking folks thru this?  

thx


Answers:
author: seanaty
body: It could be the top right if you're looking at the horizontal navigation. Here is a direct link to the page where you can create the app password:

<https://bitbucket.org/account/settings/app-passwords/>

comments: author: hogtownrocketsled
body: sweet. thanks


Tags: bitbucket-cloud

cloud
Stuck in "We couldn't log you in"
Asked by mryellow:

I haven't logged in for a good while, can you please unblock my account.

We couldn't log you in {#toc-hId--1184654707}
---------------------------------------------

You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again.


Answers:
author: mryellow
body: That worked...

With all JS blocking extensions turned off and after "Application - Clear site data" I get stuck with some state which keeps me in this page. The message seems to indicate it's expecting a referer to match, but then if I'm always on that page... Maybe it's a bug.

Not sure where you're saving state which wouldn't be cleared.

comments: author: Pramodh M
body: Yeah!! Plugins

Could you please mark the answer as accepted


author: mryellow
body: The browser extensions are all disabled.

They may have originally blocked something, but now they're switched off and no matter how many times I clear browser "site data" the state somehow remains and prevents me from logging in.


author: Pramodh M
body: Re install the browser clearing all the data

It's not supported when you don't have standard browser otherwise, raise an Atlassian support ticket!!


author: mryellow
body: Reinstalling browsers to fix websites is never a solution.


author: Pramodh M
body: You are not fixing website, the website is fine.

Its the browser that needs fixing!!


author: mryellow
body: It's okay. All other websites on the internet work fine. I'll use incognito to access the site in order to move everything back to github and call it a day.


author: mryellow
body: p.s. If I "Clear Site Data" and your website retains state somehow indicating that I should be immediately forwarded to an error page. Then this is not browser fault but a UX failure of the website caused by some kind of server-side fingerprinting or the like.


author: Pramodh M
body: Hi [@mryellow](/t5/user/viewprofilepage/user-id/4738367)

Welcome to the Community!!

There is no blocking in Bitbucket Cloud Account.

Can you try once with incognito and make sure it's not really working?

Thanks

comments: author: mryellow
body: To be clear, this is a great debugging step which does indicate that with a different browser I can login.

However with extensions/plugins since turned off and all browser state cleared, it also indicates something may be finger-printed and blocking my access from the server-side (assuming Bitbucket hasn't managed to hide state somewhere on the browser which is not cleared by "Application - Clear Site Data).  

It's productive, but it's not a solution to the problem as I'm still unable to login with the standard (non-incognito) browser.


Tags: bitbucket-cloud