youngmon/atlassian-qna huggingface dataset:
Customer can't use IT support (portal or email) anymore, but others can
Asked by Fuji:

I have a user / customer that can't send in support request through the customer portal or emails. She used to be able to, but can't suddenly. Other are still able. I don't know if it has anything to do with internal/external user or what it is.

On the picture below its the audit log and here you can see there is a failed one. Ignore the upper one, thats another account.

![Screenshot 2024-04-10 100341.png](/t5/image/serverpage/image-id/317375i0FBE210EDFF6D614/image-size/large?v=v2&px=999 "Screenshot 2024-04-10 100341.png")

On the picture below, its in "Customer" section and both these two emails is the same user (same email) as i understand. I don't know why it stand like this, but others profile has the same, and theirs are working.

![Screenshot 2024-04-10 100017.png](/t5/image/serverpage/image-id/317382i96B7289C7DB50238/image-size/large?v=v2&px=999 "Screenshot 2024-04-10 100017.png")

On the picture below the two same emails are internal and external, which don't make sense?

![Screenshot 2024-04-10 101120.png](/t5/image/serverpage/image-id/317380iE10C873111E23611/image-size/large?v=v2&px=999 "Screenshot 2024-04-10 101120.png")

Can you help me?


Answers:
author: Jack Brickey
body: Can you go to User management and find the user and look at show details. Feel free to share here.

comments: author: Fuji
body: As I'am not admin, but project administrator, I don't think I have access to User management.

Nonetheless i just removed and add the person again, and it seems to work at the moment now. Therefore I will close the ticket :)

Thank you for your answer.


Tags: cloud

jira-service-management

jira-service-management-cloud
Pipeline doesn't work with a system error
Asked by Jeongdae Ha:

Hello, My name is Jeongdae, a developer of Enuma.

I've found I couldn't even started the pipeline build steps.

and what is worse is there is no clue.

I succeeded in a previous deployment and no changes after that.![?????????? 2023-05-15 ???? 12.33.53.png](https://community.atlassian.com/t5/image/serverpage/image-id/257161iF01A4A8ED46F9148/image-size/large?v=v2&px=999 "?????????? 2023-05-15 ???? 12.33.53.png")


Answers:
author: Theodora Boudale
body: Hi Jeongdae,

I believe this error was caused by a partial outage of our systems at the time.

Bitbucket Cloud status page:

* <https://bitbucket.status.atlassian.com/>

Specific incident:

* <https://bitbucket.status.atlassian.com/incidents/10ws2wytyfl2>

The issue has since been resolved, are your Pipelines builds running as expected now?

On the status page, there is an option **Subscribe to updates** (top right corner), if you would like to receive email notifications when Atlassian creates, updates, or resolves an incident in Bitbucket Cloud.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Lost access to my BitBucket/Atlassian account
Asked by Tamim Arafat:

This is a weird problem I discovered a month or two ago. I could not log in to my personal account \& access [my workspace](https://bitbucket.org/pastysucker) anymore. I kept getting an "account doesn't exist" message and tried resetting it, but the password reset email never appeared in my inbox. Note that I've never gotten an email from Atlassian/BitBucket mentioning anything related to my account getting deleted, so I created this new account using the same email address in order to post on this forum.

I can still access only the public facing repositories in the projects under that workspace and push, pull \& clone from my local machine. [Here](https://bitbucket.org/pastysucker/otv_scraper/) is an example of a repository that I can still read \& write to from my machine.

How can I get myself out of this situation?


Answers:
author: Theodora Boudale
body: Hi Tamim and welcome to the community.

The email address of your community account is not associated in any way with the Bitbucket Cloud account that has access to the workspace and repo you mentioned.

If you remember the username of the account that has access, and if you have an app password for this account that has at least **Account: Read** permissions, you can use the following API endpoint to get the email addresses associated with this user:

* <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-users/#api-user-emails-get>

Example:

```
curl -u Bitbucket_Username:App_Password -X GET -H "Content-Type: application/json" https://api.bitbucket.org/2.0/user/emails
```

If there are email aliases in your account those will be returned as well, but the field **is_primary** will indicate the primary email of the account that you need to log in with. Please note that the API call requires an app password for authentication and not the account's password, as we have deprecated the use of account passwords for API.

If you don't remember the username or if you don't have an app password for that account, then I would suggest trying to log in to <https://bitbucket.org/> from browser (and request a password reset email if needed) with any of the email addresses you own, and see if any of them logs you into the correct account. Please note that if you get asked to give a username and create a new account after logging in with a certain email, this means that there is no Bitbucket Cloud account with that email as primary, so you can skip that email from the process.

Kind regards,  
Theodora

comments: author: Tamim Arafat
body: Thanks for the reply Ms Boudale,

I've discovered that I did indeed change my Bitbucket Cloud email address \& forgotten about it, so that's a gaffe on my part. I've resolved the issue \& regained access to my account.

Thanks again.


Tags: account

bitbucket-cloud

cloud
I can't clone my Bitbucket repository in VS Code
Asked by Paco Mateu:

I'm using the official extension for Visual Studio from Atlassian. I do Login to Bitbucket cloud and it works, then I go back to VS Code.

![image4.png](https://community.atlassian.com/t5/image/serverpage/image-id/257105iADD2B7CE93161434/image-size/large?v=v2&px=999 "image4.png")

Then, from my repository, I click Clone in VS Code

![image1.png](https://community.atlassian.com/t5/image/serverpage/image-id/257106i6B2D2F214ABADE7C/image-size/large?v=v2&px=999 "image1.png")

But I obtain always the next error:

![imageError.png](https://community.atlassian.com/t5/image/serverpage/image-id/257108i3EAE1BAA73ECBFC8/image-size/large?v=v2&px=999 "imageError.png")

I don't know where to check this log. Don't know what else I can do.

Any ideas? I have VS Code Version: 1.78.2 for MAC. I have uninstalled and installed everything twice.

Thank you,


Answers:
author: Aron Gombas
body: This article explains where to find the log files: <https://stackoverflow.com/questions/46373762/where-are-visual-studio-code-log-files>

Note that the error occurs in an extension (I guess), therefore you need to check the logs written by the extensions!


Tags: atl-gruland

bitbucket-cloud

cloud
Bitbucket Data Center
Asked by Roman Barrios:

Hello,

In the case i use Bitbucket Data Center i will be able to host it? or bitbucket hosted?

so will i have a dedicated ip if i use that service?


Answers:
author: Charly [DEISER]
body: Hi [@Roman Barrios](/t5/user/viewprofilepage/user-id/5218286)

If you use Bitbucket DC you will host the application, you are the infrastructure owner and will be able to configure it as you like.

In case of cloud service there is no dedicated IP, yo can review the public ip addresses here [IP addresses to allowlist in your corporate firewall \| Bitbucket Cloud \| Atlassian Support](https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/)

Hope this helps!

Regards


Tags: bitbucket-cloud

cloud
Is there any built-in way to restrict build images that can be used in a workspace?
Asked by Jonathan Joseph:

It'll be a big security concern for our team if a dev is able to reference any public docker image for their builds.

Is there any built-in way to restrict which ones can be used? If not, is there anything on the roadmap for such a feature?


Answers:
author: Theodora Boudale
body: Hi Jonathan and welcome to the community.

I'm afraid that there is no way to restrict the Docker images that can be used as a build container in Pipelines and such a feature is not in our [roadmap](https://www.atlassian.com/roadmap/cloud?selectedProduct=bitbucket&) at the moment.

I can create a feature request in our issue tracker, so we can gather interest in such a feature, would you like me to proceed with that? I assume you are looking for a way to restrict this via the **Repository settings** which are available to admins only? A restriction configured in the yml file could always be overwritten by a developer by simply editing the yml file in the branch they are working on.

Kind regards,  
Theodora

comments: author: Jonathan Joseph
body: Hi Theodora,  
Yes, please create that ticket for me and keep me updated. And like you mentioned it would be best if it was done via Repository or Workspace settings.

Thank you


author: Theodora Boudale
body: Hi Jonathan,

I went ahead and created a feature request in our issue tracker:

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

Please make sure to add your vote (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](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Groups inside groups
Asked by Mark Robertson:

We are currently in the process of moving from Subversion to Bitbucket and I have added all the users manually. Is there a way to have groups inside groups to make it easier when adding users to have specific roles based on the overview group?

For example, I want to assign all our Project Managers, 10+, to a group called PM and assign it to all these different groups, A, B, C, D, E, and F, and would like to only do it once.

I want to assign groups to do different things, then assign each person to a single group. So if a developer joins, assign them to the group "Develop 1" and they're added to the groups that can only write to all the assigned projects.


Answers:
author: Aron Gombas _Midori_
body: There is no such thing as "nested group" on Bitbucket Server.

But, you can connect Bitbucket to Crowd, a more advanced identity management product. And Crowd does support nested groups!

See: <https://confluence.atlassian.com/bitbucketserver/connect-bitbucket-to-crowd-776640399.html#ConnectBitbuckettoCrowd-Advancedsettings>


Tags: bitbucket-server

server
1 Bitbucket repo to trigger 2 Jenkins jobs
Asked by Genevieve Awa:

Can a single Bitbucket repository trigger multiple Jenkins jobs?

I was able to successfully trigger one Jenkins job with a push to the Bitbucket repository, but when attempting to create another Jenkins job for the same repository, it did not work. However, I am able to manually start a build from the repository. Both jobs are targeted for different branches.

It's worth noting that I tried using Jenkins multibranch pipeline, which worked for my needs, but it did not provide environment variables for each job. Instead, I had to specify them in my Jenkinsfile, which is not ideal. I want the Jenkinsfile for each branch to be the same to avoid merge conflicts.


Answers:
author: jennifer.dempsey_Appfire
body: Hi [@Genevieve Awa](/t5/user/viewprofilepage/user-id/5218038)

As Theodora suggested, you may want to consider a plugin. Appfire's **[Webhook to Jenkins for Bitbucket](https://marketplace.atlassian.com/apps/1211284/webhook-to-jenkins-for-bitbucket?tab=overview&hosting=datacenter)** is an easy-to-configure integration app for Cloud or DC that will allow you to trigger a build in Jenkins when a Pull Request is merged.

You can reach out to our awesome [support](https://appfire.atlassian.net/servicedesk/customer/portal/11)team to ask any questions you might have.

You can also email me at [Jennifer.dempsey@appfire.com](mailto:Jennifer.dempsey@appfire.com) and I can put in contact with our PM to further discuss your needs and schedule a demo. We'd be happy to help you any time!

Best,

Jennifer Dempsey, Product Marketing Manager, Appfire


author: Igor Stoyanov
body: [@Genevieve Awa](/t5/user/viewprofilepage/user-id/5218038) hi. Also you could try to use [jenkins-job-trigger pipe,](https://bitbucket.org/atlassian/jenkins-job-trigger/src/master/) which allows you to trigger jobs from pipelines.  

There is also a guide of [how to setup pipelines for specific branches](https://support.atlassian.com/bitbucket-cloud/docs/pipeline-start-conditions/#Branches).  

Maybe combining this two guides should help you to solve you problem.  

Regards, Igor


author: Theodora Boudale
body: Hi Genevieve,

I think it may be best to ask this question to the [Jenkins forum](https://community.jenkins.io/) or check the plugin's documentation in case they have a different place where you can ask questions related to the plugin.

There are several plugins available to integrate Bitbucket Cloud and Jenkins, however, none of them are developed by Atlassian. The way that most of these plugins work is by setting up a webhook in a Bitbucket Cloud repo, that will send a request to Jenkins once an event that triggers the webhook occurs (e.g. on every push). What happens once that request is sent, depends on Jenkins and the plugin's configuration.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

jenkins

webhook
Environment variables in condition/changeset for steps
Asked by Enrico Sita:

Hi,

I am trying to figure out a way to achieve this: I would like to execute a step only if there have been changes in a particular folder of my repo, BUT the way I want to specify this path is via an environment variable defined for the repo.

In my mind it would be something like this:

```
- step:

    name: 'my step'

    script:

       - echo $ENV_VAR

    condition:

       changesets:

          includePaths:

              - 'myfolder/${ENV_VAR}/*'

    artifacts:

      - '**'
```

Is this possible at all? Is there any alternative, workaround to achieve something similar?

Thank you very much in advance.


Answers:
author: Theodora Boudale
body: Hi Enrico and welcome to the community.

I'm afraid that this is not possible, you will need to specify the path in **includePaths** without the use of a variable.

We have a feature request for allowing variable names in that path:

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

The request has been closed due to inactivity, but I would recommend leaving a comment with your feedback in that ticket, as our product managers continue to monitor even closed requests.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

variable
Account contribution overview
Asked by Patrick SAM:

Where can I enable my bitbucket account contribution overview like this?

<br />

![bitbucket-overview.png](/t5/image/serverpage/image-id/256860i8497EF5175BD60F6/image-size/large?v=v2&px=999 "bitbucket-overview.png")


Answers:
author: Aron Gombas _Midori_
body: The screenshot you posted is about Bitbucket **Data Center** , not Bitbucket **Cloud**(the deployment type you're using). Therefore, it is not available for you.

To be honest, it is not part of the core Bitbucket feature not even on DC, but offered by [this app](https://marketplace.atlassian.com/apps/1212147/charts-graphs-for-bitbucket?hosting=datacenter&tab=overview). And that app is not available for Bitbucket Cloud.


Tags: bitbucket-cloud

cloud
Unable to import git repository to bitbucket repo using rest api
Asked by Anil B:

Please provide a solution to import other git repositories into the bitbucket repo using API.


Answers:
author: Theodora Boudale
body: Hi Anil and welcome to the community!

I'm afraid that we don't have an API endpoint for importing a repository to Bitbucket Cloud.

You can import manually from our website, via [https://bitbucket.org/\<workspace-id\>/workspace/repository/import](https://bitbucket.org/<workspace-id>/workspace/repository/import) where **\<workspace-id\>** replace with the id of the workspace you want to import to.

If you need to import a large number of repos, you could write a script that does the following for each repo you want to import:

* creates a new empty Bitbucket Cloud repo via our API  
  <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-post>
* takes a mirror clone of the repo you want to import using Git
* pushes from the mirror clone to the newly created Bitbucket Cloud repo

We have a feature request for providing an API endpoint for import that you can vote for  
(by selecting the **Vote for this issue** link) to express your interest:

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

Kind regards,  
Theodora

comments: author: Anil B
body: Thank you for the suggestion.


Tags: bitbucket-cloud

cloud
Not receiving verification email
Asked by j:

Hi!

Attempting to set up two-factor authentication at <https://bitbucket.org/account/settings/two-step-verification/confirm>

I've reached "

Two-step verification {#toc-hId--466848463}
-------------------------------------------

You're almost ready to go!  
Check your email to finish enabling two-step verification.

"  

but have been waiting several hours and no emails. Address is correct (this one I'm posting with) \& nothing in spam  

Thank you!

Jeff


Answers:
author: Theodora Boudale
body: Hi Jeff!

I see that you created a support ticket as well and the issue was caused by an email filter that was deleting emails from bitbucket.org

Please feel free to reach out if you ever need anything else!

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
What updates the "builds" widget on the repository dashboard?
Asked by Jimmy.Diep:

On the right side of the repository page, there is a widget that shows builds status.

![Screenshot 2023-05-11 at 11.07.46 AM.png](/t5/image/serverpage/image-id/256737i47FC3E3630B1AC5F/image-dimensions/254x168?v=v2 "Screenshot 2023-05-11 at 11.07.46 AM.png")

<br />

This will show status of builds that are triggered in Jenkins. The build jobs can have different status (pending, building, failed, success, etc) depending on the progress. I have multiple Webhooks that will send updates to the repos but for some repositories, the same Webhooks may or may not update the status of the builds.  

I am trying to find out what exactly updates this widget as Webhooks notifications doesn't seem to be the one that updates this widget.  


Answers:
author: seanaty
body: Hi [@Jimmy.Diep](/t5/user/viewprofilepage/user-id/5217350)

It's not a webhook but a build status (AKA commit status) API.

<https://developer.atlassian.com/cloud/bitbucket/rest/api-group-commit-statuses/#api-repositories-workspace-repo-slug-commit-commit-statuses-build-post>

Bitbucket's own CI/CD tool, Pipelines, also uses this API to create these statuses.  

I'm not familiar at all with how Jenkins works and identifies when it needs to run (likely a webhook) but creation of these statuses has to be done via the API posted above.

comments: author: Jimmy.Diep
body: Thanks [@seanaty](/t5/user/viewprofilepage/user-id/1301071) ,

<br />

I was reading about that earlier. I had enabled history collection on multiple Webhooks but didn't see anything that would match the build status api.

![Screenshot 2023-05-11 at 1.09.10 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/256778iA94B7F8F44680DA6/image-size/large?v=v2&px=999 "Screenshot 2023-05-11 at 1.09.10 PM.png")

If it's build status api, can I see logs for that anywhere?


Tags: bitbucket-cloud

cloud
Don't receive verification mail
Asked by Ricardo Hern?ndez P?rez:

Hi, we are trying to loggin with the email address of our work, its been months that we dont receive any email.

Like many other posts here, ?Its likely due to being on the email suppression list?. Is it possible to take us off this list?

our dommain is:

\<domain_removed\>

The emails afected are:

\<email_removed\>

\<email_removed\>

\<email_removed\>

and Invitation email not received: \<email_removed\>

Thanks


Answers:
author: Theodora Boudale
body: Hi Ricardo and welcome to the community.

I checked our email logs for the last 30 days and there were bounces for the first three emails you mentioned, but no event for the last one. However, none of these email addresses or any other email address from the domain you mentioned is in our suppression list, so there's nothing for us to remove.

Based on the error message of the bounced events, it looks like your SMTP server is doing [callback verification](https://en.wikipedia.org/wiki/Callback_verification) that is failing.

The bounced events were for emails sent from notifications-noreply@am.bitbucket.org and noreply+XXXXX@am.atlassian.com (where XXXXX is some string).

You will need to ask the admin of your mail server to look into this and adjust the configuration so that these emails are not bounced.

Just a heads up, I removed the domain and email address from your post to comply with our privacy policy.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

email
Email Notifications - May 11 - Stopped receiving
Asked by alan.agana:

Hello,

My Devs stopped receiving email notifications for Bitbucket recently. Can the suppression list please be checked on our domain \<domain\>?

Thank youl


Answers:
author: Theodora Boudale
body: Hi Alan,

I have cleared from the suppression list all email addresses from your domain.

Could you please ask your developers to keep an eye on their inboxes and let me know if the issue is resolved now?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
I' m Getting error while cloning the code from bitbucket to visual studio as out of memory the size
Asked by Sri Kanth:

I' m Getting error while cloning the code from bitbucket to visual studio as out of memory the size approx file size is 11GB


Answers:
author: Baskar Annamalai
body: Hi [@Sri Kanth](/t5/user/viewprofilepage/user-id/5217298)

Could provide the error trace? Would it be possible to attempt to clone the machine directly via terminal/CLI to ensure that the factor is Bitbucket otherwise VS? - If you are able to reproduce the error via terminal/CLI, please provide the error trace as well.

Best regards,  
Baskar Annamalai  
ServiceRocket.


Tags: bitbucket-server

server
Is it possible to make cache last forever instead of 7 days?
Asked by Bla? Mrak:

Is there a setting that would allow a cache to be permanent unless invalidated by a key/manually?


Answers:
author: Theodora Boudale
body: Hi Bla?,

It is not possible to extend the cache expiry past seven days.

We recently released a feature for caches that allows a stored cache to be updated when a dependency is updated:

* <https://bitbucket.org/blog/announcing-smarter-caches-bitbucket-pipelines>
* <https://support.atlassian.com/bitbucket-cloud/docs/cache-dependencies/#Caching-with-file-based-cache-keys>

Caches still expire after seven days though. We have a feature request for configurable TTL for the cache:

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

I would suggest adding your vote to the features request (by selecting the **Vote for this issue** link) to express your interest. You are more than welcome to leave a comment with feedback and 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](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud