youngmon/atlassian-qna huggingface dataset:
Displaying linked issues in Automated email restricted by link type
Asked by Mark Wheeler:

Is it possible to list linked issues in an automation email but restrict the linked issue displayed by link type?

Also, I'm using the below notation to list some linked issues and it works great, but the Issue Summary is not show and it is populated. The linked issue is in a separate project and it's a single project rule, but I didn't think that would affect data retrieval and display.

{{#issue.issuelinks.outwardIssue}}{{key}} ({{issuetype.name}}) - {{issue.summary}} - {{status.name}}{{/}}

Thanks

Mark


Answers:
author: Mark Wheeler
body: OK I've worked out the summary point. For linked issues lists you don't include the issue prefix, so to show summary it's:

{{summary}}

Would still like to know about restricting by issue link type (note not inward and outward but the link type).

comments: author: Mark Wheeler
body: And how do you display the name of the link type or anything about the link type? I've tried {{linkType}} and {{linkType.name}} but neither work.
Push request notification on Teams Getting an error as HTTP status: 400
Asked by Rajesh Konda:

Hi Team,

Have received a request to send notification on teams when a request is pushed in bitbucket. So i have created a webhook in Teams and added the webhook call on Bitbucket cloud and selected the required events.

Have updated the push request on bitbucket but no notification was received on Teams. Have Went through logs there it is shown as **HTTP status** : 400. Can any one help me in fixing this issue. Thanks in advance.


Answers:
author: Patrik S
body: Hello [@Rajesh Konda](/t5/user/viewprofilepage/user-id/2120286) ,

thank you for reaching out to Community!

Currently, it's not possible to send notifications to Microsoft teams directly using [Bitbucket webhooks](https://support.atlassian.com/bitbucket-cloud/docs/manage-webhooks/), because MS teams expect a different message format than the [bitbucket webhook payload](https://support.atlassian.com/bitbucket-cloud/docs/event-payloads/).

We have an open feature request to implement an integration with MS Teams which you can find in the following link :

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

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with [this policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) in mind.

In the meantime, you may want to look on [Bitbucket Marketplace](https://marketplace.atlassian.com/search?product=bitbucket&query=Microsoft%20teams) for Microsoft integrations developed by third parties that might serve as a workaround while this integration is not a native feature in Bitbucket cloud.

Thank you, [@Rajesh Konda](/t5/user/viewprofilepage/user-id/2120286) !

Patrik S


Tags: bitbucket-cloud

cloud
[Push request notification on Teams] Getting an error as HTTP status: 400
Asked by Rajesh_Kumar:

Hi Team,

Have received a request to send notification on teams when a request is pushed in bitbucket. So i have created a webhook in Teams and added the webhook call on Bitbucket cloud and selected the required events.

Have updated the push request on bitbucket but no notification was received on Teams. Have Went through logs there it is shown as **HTTP status** : 400. Can any one help me in fixing this issue. Thanks in advance.


Answers:
author: Patrik S
body: Hello [@Rajesh_Kumar](/t5/user/viewprofilepage/user-id/3533879) ,

thank you for reaching out to Community!

Currently, it's not possible to send notification to Microsoft teams directly using [Bitbucket webhooks](https://support.atlassian.com/bitbucket-cloud/docs/manage-webhooks/), because MS teams expect a different message format than the [bitbucket webhook payload](https://support.atlassian.com/bitbucket-cloud/docs/event-payloads/).

We have an open feature request to implement an integration with MS Teams which you can find in the following link :

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

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with [this policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) in mind.

In the meantime, you may want to look on [Bitbucket Marketplace](https://marketplace.atlassian.com/search?product=bitbucket&query=Microsoft%20teams) for Microsoft integrations developed by third party that might serve as a workaround while this integration is not a native feature in Bitbucket cloud.

Thank you, [@Rajesh_Kumar](/t5/user/viewprofilepage/user-id/3533879) !

Patrik S


Tags: bitbucket-cloud

cloud
Authentication Failed when attempting to commit to develop from Github Desktop
Asked by Gary Koo:

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

I receive this error every time I try to commit from GitHub Desktop. I use the proper username per my BitBucket profile, and enter the application password generated by BitBucket.  

I would appreciate suggestions / help in trying to resolve this issue.


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

First, ensure that you are using the username displayed on this page <https://bitbucket.org/account/settings/> next to the field **Username**.

Another reason for an authentication failure could be that the app password does not have the necessary permissions. The permissions needed depend on what the application is doing with these credentials. If it reads your account's info, then **Account - Read** permissions will be needed. If it needs credentials to pull or push to repos, then **Repositories Read** and **Write** permissions will be needed as well.

You could try creating an app password with the permissions I mentioned above and see if this works. If it doesn't work, try an app password with all permissions checked. (In order to use an app password with only the necessary permissions later on, you would need to know what operations are performed with these credentials).

Please also ensure that you are not omitting or adding any extra characters when copy-pasting the username and app password.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Error logging into Bitbucket account
Asked by Maceo Woodward:

Hello,

When I try to log into my Bitbucket account I get the following error:

"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: Laurie Sciutti
body: Hi [@Maceo Woodward](/t5/user/viewprofilepage/user-id/5401794) and welcome to the Community! In addition to the suggestions from there seems to be a lot of additional information/questions about the same issue [here](https://www.google.com/search?q=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.&rlz=1C1GCEA_enUS915US915&oq=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.&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBBzYyNmowajeoAgCwAgA&sourceid=chrome&ie=UTF-8). One is to delete your cookies but another is due to account issues which may require assistance from Support. HTH

comments: author: Laurie Sciutti
body: [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) may be able to assist as well.


author: Maceo Woodward
body: Hi Laurie,

Thank you for the response. I've tried all of the cookie/browser related suggestions.

I believe my issue is the common problem of my account having been marked as inactive, since it has been a while since I've tried to access it.


author: Laurie Sciutti
body: [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) \~ can you assist [@Maceo Woodward](/t5/user/viewprofilepage/user-id/5401794) ?


author: Patrik S
body: Hello [@Maceo Woodward](/t5/user/viewprofilepage/user-id/5401794) ,

Your account was indeed inactive due to a long period with no login. I've set it to active again, so you should be able to log in as usual now :)


author: Maceo Woodward
body: Thanks Patrik!


author: Laurie Sciutti
body: [@Maceo Woodward](/t5/user/viewprofilepage/user-id/5401794) \~ glad this is fixed for you! If you wouldn't mind accepting the answer, I would appreciate it!


Tags: bitbucket-cloud

cloud
the different between git diff and diff in Pull Request.
Asked by cowen:

Hi Team,

I have done some test for git diff and pull requests.

I found out that the result shown by git diff is different from the result of pull request in portal.

Could you help to explain it?


Answers:
author: Theodora Boudale
body: Hi [@cowen](/t5/user/viewprofilepage/user-id/5265389),

The following two commands take into account changes in both branches and will show the result of the merge commit:

```
git diff main develop
git diff main..develop
```

Pull requests in Bitbucket Cloud use a three-dot diff, equivalent to

```
git diff main...develop
```

A three-dot diff shows only changes on the second branch (source branch) starting at a common ancestor of the two branches.

I am copying from the Git documentation (<https://git-scm.com/docs/git-diff> :
> ***git diff* \[\<options\>\] \<commit\> \<commit\>...? \<commit\> \[--\] \[\<path\>...?\]**
>
> This form is to view the results of a merge commit. The first listed \<commit\> must be the merge itself; the remaining two or more commits should be its parents. Convenient ways to produce the desired set of revisions are to use the suffixes `^@` and `^!`. If A is a merge commit, then `git diff A A^@`, `git diff A^!` and `git show A` all give the same combined diff.
> ***git diff* \[\<options\>\] \<commit\>..\<commit\> \[--\] \[\<path\>...?\]**
>
> This is synonymous to the earlier form (without the `..`) for viewing the changes between two arbitrary \<commit\>. If \<commit\> on one side is omitted, it will have the same effect as using HEAD instead.
> ***git diff* \[\<options\>\] \<commit\>...\<commit\> \[--\] \[\<path\>...?\]**
>
> This form is to view the changes on the branch containing and up to the second \<commit\>, starting at a common ancestor of both \<commit\>. `git diff A...B` is equivalent to `git diff $(git merge-base A B) B`. You can omit any one of \<commit\>, which has the same effect as using HEAD instead.

You can find more details about pull request diffs in the following blog post, including what you can do if you want to see changes to the destination branch in a pull request:

* <https://bitbucket.org/blog/improving-performance-on-complex-diffs>

Please feel free to reach out if you have any questions!

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Need Assistance with Bitbucket API - "ERROR CONNECTION RESET" Issue
Asked by Eren Ba?:

Dear Atlassian Community,

I hope this message finds you well. I am writing to seek assistance regarding a critical issue I am facing while attempting to download a file through the Bitbucket API. Unfortunately, I have encountered the "ERROR CONNECTION RESET" message, and after thorough investigation, it appears that the issue lies on the Bitbucket side.

I have conducted several tests and researched extensively to ensure that the problem is not on my end. However, the attached video clearly demonstrates the issue, confirming that it is indeed a Bitbucket-related issue.

<https://s2.dosya.tc/server28/oc3k6w/st1___Bitbucket_-_Google_Chrome_2024-01-09_14-54-46.mp4.html>

I kindly request your support in addressing this matter as it significantly impacts our workflow. I believe that your expertise and guidance will help in resolving this issue promptly.

Thank you for your prompt attention to this matter. I look forward to your valuable insights and suggestions.

Best regards,


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

I would suggest to first check if the issue is reproducible in the following cases:

* when you use an Incognito window of your browser with all browser extensions disabled
* when you use a different network, e.g. your mobile network
* when you use a different device
* when downloading a different file from the Downloads page
* when downloading a file from the Downloads page of a different repo

This is to narrow down whether the issue seems to be specific to a certain network, device, file, or repo.

If the issue is still reproducible in all these cases, do you have access to a VPN to connect with an IP from a different country and check if you can download the file then? We've had two reports about a similar issue in the last few years, and the culprit was that certain authorities in the users' regions were blocking bbuseruploads.s3.amazonaws.com which is used for files in Downloads.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Not able to login to bitbucket in visual studio 2017. Getting Unauthorized/Invalid Credential error
Asked by Kirtee Yelmate:

I am able to successfully login on bitbucket on website.


Answers:
author: Theodora Boudale
body: Hi [@Kirtee Yelmate](/t5/user/viewprofilepage/user-id/5400987) and welcome to the community!

When you log in to Bitbucket Cloud website from browser you need to use your Atlassian account's email and password.

These credentials will not work if you try to authenticate from a client application that might make API calls or clone, pull, push to your repos via HTTPS. For these types of operations, you need to use:

* your Bitbucket username, which can be found here <https://bitbucket.org/account/settings/>
* an app password for your account, which can be generated from here <https://bitbucket.org/account/settings/app-passwords/>

Please see the announcement here about the deprecation of account password usage for Git over HTTPS and API:

* <https://community.atlassian.com/t5/Bitbucket-articles/Announcement-Bitbucket-Cloud-account-password-usage-for-Git-over/ba-p/1948231>

The necessary permissions for the app password depend on what exactly the application is doing. If the credentials are used for clone, pull, or push, then **Repositories - Read** and **Repositories - Write** permissions should be enough. If it needs to read your account info, then **Account - Read** permissions may be required as well.

Kind regards,  
Theodora


author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

This suggests that you are using the wrong credentials in VS. What is the detail of the error VS gives you?

comments: author: Kirtee Yelmate
body: ![errorvs.png](https://community.atlassian.com/t5/image/serverpage/image-id/299806i3371E6808377F0AF/image-size/large?v=v2&px=999 "errorvs.png")

this is the error.


Tags: bitbucket-cloud

cloud
I cant't create a branch from a Jira issue
Asked by Guillaume Cuffel:

Hello there!

In my company, we have a Jira endpoint/site per service and a unique Bitbucket account with different workspaces corresponding to each Jira site. Now, when I try to create a Bitbucket branch from a Jira issue, I'm always redirected to the same Bitbucket workspace (probably the first one created) and not to the targeted one. Everything seems to be well configured though... Any idea of what can happen?

Thank you for the help!


Answers:
author: Patrik S
body: Hello [@Guillaume Cuffel](/t5/user/viewprofilepage/user-id/5400585) and welcome to the Community!

When creating a branch through a Jira issue you will be redirected to a page like the following:

![Screenshot 2024-01-09 at 5.14.47?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/299744i4409405407F25286/image-dimensions/287x272?v=v2 "Screenshot 2024-01-09 at 5.14.47?PM.png")

This page is not particular to any workspace. Instead, it will list **all the workspaces** and **all their repositories** to which you have write access, in the format *workspace/repository*.

You can then click on the **Repository** dropdown, and start typing the name of the workspace and repository where you want to create the branch, and it will filter the list accordingly. When you find the workspace/repository you are looking for, you can click on it and select **Create**

Hope that helps! Let us know in case you have any questions.

Thank you, [@Guillaume Cuffel](/t5/user/viewprofilepage/user-id/5400585) !

Patrik S


author: Guillaume Cuffel
body: Thank you Patrick for the reply.

The problem came from the fact that I though the dropdown field you framed in your answer was nonwritable. We have so many projects that the repository was only showing the repos from the same workspace. Now, when I type the workspace name in it, I can filter the repos I'm looking for.

Guillaume


Tags: bitbucket-cloud

cloud
Request for Garbage Collection
Asked by afhall:

My repo hra is over 3.5gb I've removed a large db file can I request garbage collection to be run on my hra repo? Thanks!


Answers:
author: Syahrul
body: G'day, [@afhall](/t5/user/viewprofilepage/user-id/1194771)

The automated GC seems to have kicked in, as your repository size has reduced to a low size.

Regards,  
Syahrul


author: Harald Seyr
body: Hi [@afhall](/t5/user/viewprofilepage/user-id/1194771)   
I suppose as written on [Reduce repository size \| Bitbucket Cloud \| Atlassian Support](https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/#Undoing-the-last-push), you have to create a support ticket / request so Atlassian runs GC for you:

What can I do if my repository size was not reduced after following the above steps?  
If your repository size is not reduced after taking these steps, it may mean that you need to remove any large files in order to rewrite history. After you remove any large files, you will need to contact our [Support](https://support.atlassian.com/contact/#/) team to run GC for you and reduce your repository size.

Regards,

Harald


Tags: bitbucket-cloud

cloud
Can't reduce the size of the repository
Asked by ?ukasz:

A branch with a large number of files was accidentally pushed but not merged. Since then, the size of the repository has increased to 3gb. I removed the local and remote branch, but the size of the repository did not decrease. I have already used BFG Repo-Cleaner, but it did not help, the branch size still remains above 3gb.


Answers:
author: Patrik S
body: Hello [@?ukasz](/t5/user/viewprofilepage/user-id/5400558) and welcome to the Community!

After you clean up the repository, it may take some time for the git garbage collection (GC) to run in the backend for the repository and remove the deleted references/objects.

We from support can manually trigger GC on customer requests to cleanup the repo, so you don't need to wait for the automatic GC to be executed.

However, checking internally I see you have already deleted the old repo with size 3GB, and pushed the cleanup repository to a new repository. With this, the new repository is already clean and using only 37MB.

In the future, whenever you need to remove large files/branches from your repository and the size doesn't change immediately in Bitbucket, you can request support for garbage collection :)

Thank you, [@?ukasz](/t5/user/viewprofilepage/user-id/5400558) !

Patrik S


Tags: bitbucket-cloud

cloud
All Projects and Repositories are not viewable anymore
Asked by Kai Ravesloot:

Hir there,

I'm wondering, why all my projects and repos are not listed in my UI. I can fetch and push them, but I can't see them in the bitbucket-ui. Does anyone has a suggestion or a hint?

Cheers Kai


Answers:
author: Patrik S
body: Hello [@Kai Ravesloot](/t5/user/viewprofilepage/user-id/5329293) and welcome to the Community!

I suspect you may be looking for the repositories at the wrong workspace.

You can check the workspaces your account has access to by following the below instructions:

* Navigate to <https://bitbucket.org>
* Click on your avatar in the top right corner
* Select **All workspaces** option.
* Click on one of the workspaces to open it.
* After opening the workspace, select the Repositories option in the top navigation bar.

You can repeat that process to all the workspaces listed in the **All workspaces** to look for your repositories.

As you mentioned you have the repositories cloned locally, you can also find the name of the workspace id from a local clone following the instructions outlined in [My repositories are missing and I cannot see them in the repository list](https://confluence.atlassian.com/bbkb/my-repositories-are-missing-and-i-cannot-see-them-in-the-repository-list-1333332462.html) .

Thank you, [@Kai Ravesloot](/t5/user/viewprofilepage/user-id/5329293) !

Patrik S


Tags: bitbucket-cloud

cloud
In December 2023 I used my build minutes, but they didn't reset in January?
Asked by aronlmin:

just like the title says, I was committing changes in december knowing I have a specific amount of build minutes, expecting them to reset in January, now its January 2024 and they still haven't reset?  

We use bitbucket for my work and spend lots of money with them, so I know whats possible to do, I have some side projects I am working on using the free tier.  


Answers:
author: Aron Gombas _Midori_
body: It just guessing, but I could imagine that the "reset" does not happen on the first day of the month, but on the first day of the next billing cycle.

For example, if you started using Bitbucket many months ago, on 17th day of the month, then the next billing cycle will start on 17th of each month ("monthly subscription" even if you don't actually pay anything).

You should be able to check your billing cycle by going to the *Plan details* screen (at \`<https://bitbucket.org/YOUR-WORKSPACE-HERE/workspace/settings/plans-and-billing>\`).

comments: author: Ben
body: Hi Aron,

This answer is correct - whichever date you signed up for Bitbucket is the start of the billing cycle (even if it is not a paid subscription). Build minutes reset on this date every month.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Not receiving verification code on outlook (from slack) (NOT RELEVANT ANYMORE)
Asked by Berit Cecilie Brix:

Hi

I am not receving verification mails on outlook

bcbrix@arcanic.dk

I have whitelisted every possiblem atlassian adress and looked through my spam filters

Help would be much appreciated :)


Answers:
author: Patrik S
body: Hello [@Berit Cecilie Brix](/t5/user/viewprofilepage/user-id/4564207) !

Based on the title of the question it seems you were able to figure out the issue :)

I also confirmed from our internal tools that you have successfully received some emails in the last few days.

In case you are still facing issues, let us know!

Thank you, [@Berit Cecilie Brix](/t5/user/viewprofilepage/user-id/4564207) !

Patrik S

comments: author: Berit Cecilie Brix
body: Thank you patrik

Yes it was resolved .- don't really know how, but it did :)


Tags: unknown-hosting-type
Error login into Bitbucket
Asked by kzmm:

Hi

seeing the following error message when trying to login to my bitbucket account

"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. "

Can you please help me

kzm


Answers:
author: Patrik S
body: Hello [@kzmm](/t5/user/viewprofilepage/user-id/5400289) and welcome to the Community!

Your bitbucket account was in a dormant state due to a long period with no login. I went ahead and set it to active again.

You should be able to get into the account just fine as of now. If you are still facing issues, please let us know.

Thank you, [@kzmm](/t5/user/viewprofilepage/user-id/5400289) !

Patrik S


Tags: bitbucket-cloud

cloud