youngmon/atlassian-qna huggingface dataset:
REST API for custom merge checks
Asked by Alexander Stone:

Hey team,

We have recently completed a proof of concept to implement custom merge checks using a forge app within our workspace. The custom merge checks and forge app have been awesome and super easy to set up, however there doesn't seem to be a way to manage these programatically?

Use case:

- We have implemented and installed the forge app with a number of custom merge checks across workspace. We would now like to define which checks are required / recommended per repository configured and deployed through code.

Currently it seems the only way to enable these checks is to have a repo admin come in and manually click through the GUI. It would be awesome if there was a REST API we could call to configure this similar to the existing branch restrictions:

<https://developer.atlassian.com/cloud/bitbucket/rest/api-group-branch-restrictions/>

Please let me know if this exists somewhere else and I've just missed it, or any other advice on how to achieve this without the need for manual click ops.

Thanks in advance!


Answers:
author: Ben
body: Hi Alexander,

I'm glad to hear that you are making good use of the Forge app and that custom merge checks have been helpful for you! :D

With regards to the API, we don't currently have an endpoint available for this specifically - but I have raised a [feature request](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) with our developers to consider implementing this. Feel free to **Watch** this for future updates and **Vote**for it to improve its visibility with regard to customer demand:

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

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Alexander Stone
body: Thanks for raising the ticket Ben. As useful as these checks are, its not feasible for us to maintain them across hundreds of repos without programatic modifications. So unfortunately we will be parking this functionality until there is an associated API. Thanks again for raising the ticket and we hope to see it implemented in the near future!


Tags: bitbucket-cloud

cloud

forge
Request for git gc on repo
Asked by shwebs:

Hi---I need a git gc on my repo

\*\*\*st/ins\*\*\*-\*\*\*te

Thanks!


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

Welcome to the community!

I can't find any repository under your account, so I would like to know if you are using a different account with access to the repository. If yes, I suggest creating a new community post using an account that has access to the repo, as it'll help me locate them.

Regards,  
Syahrul

comments: author: shwebs
body: Sorry about that!

<https://community.atlassian.com/t5/Bitbucket-questions/Request-for-git-gc-on-repo/qaq-p/2796949#M107235>


author: Syahrul
body: Hey [@shwebs](/t5/user/viewprofilepage/user-id/5577143)

It's all good. I have triggered the GC, and it looks like the size has been reduced a bit. However, it's still reasonably huge, so you may have to remove the large size.

Let me know once you complete it, I can trigger another GC.

Regards,  
Syahrul


Tags: atlassian-support

bitbucket-cloud

cloud

git
i need help connecting my local repsos to cloud
Asked by Bonny Makaniankhondo:

I have done all the commands asked of in the terminal, everything works is good to go until I have to enter my password. I have checked the password a hundred times lol.

it keeps saying invalid credentials. this is for Ruby Rails(class on web applications) by the. I have some homework I'm trying to turn in, also a first-time user. I even went and made a token thinking that would work that didn't either. just frustrated


Answers:
author: Patrik S
body: Hey [@Bonny Makaniankhondo](/t5/user/viewprofilepage/user-id/5577083) ,

and welcome to the community!

Based on your description, it seems like you're facing authentication issues.

In order to authenticate git operations over HTTPS, you need to provide your username (which you can find under your [Personal Bitbucket settings](https://bitbucket.org/account/settings/)), along with an [App Password](https://bitbucket.org/account/settings/) (it's not the same password you use to login in the UI).

In this case, if you haven't already, could you please [create an app password](https://support.atlassian.com/bitbucket-cloud/docs/create-an-app-password/) and provide it as the credential when trying to interact with your repository ?

Let us know in case you have any questions.

Thank you, [@Bonny Makaniankhondo](/t5/user/viewprofilepage/user-id/5577083) !

Patrik S


Tags: bitbucket-cloud

cloud

rails

ruby

terminal
Invite emails not being received
Asked by Simon Quick:

None of our invite emails for both Bitbucket and Atlassian Cloud are being received. This includes users on our domain, and also external users we invite to Bitbucket.


Answers:
author: Jerrold - Empyra
body: Hi [@Simon Quick](/t5/user/viewprofilepage/user-id/5574782)

There might be a possibility that those email addresses are on the bounce list. To resolve this, please refer to the steps outlined in [Unblocking Office365 emails for Atlassian Cloud](https://community.atlassian.com/t5/Jira-articles/Unblocking-Office365-emails-for-Atlassian-Cloud/ba-p/1870108) to whitelist Atlassian emails on your domain. This action will prevent email bounces and mitigate the issue. If you encounter any difficulties following these instructions, kindly contact the Atlassian support team at [![](https://wac-cdn.atlassian.com/assets/img/favicons/atlassian/favicon.png)Atlassian Support](https://support.atlassian.com/) for assistance.

Thank you.

comments: author: Simon Quick
body: Hi Jerrold,

Thanks for the reply.

We don't use Office365, and there have been issues receiving on personal Gmail accounts as well as our corporate email.

We also can't expect external parties to unblock Atlassian.   

When i follow the support link it referred me to this forum.  

<br />


author: Jerrold - Empyra
body: Hi

sorry for that can you please try this support link - <https://support.atlassian.com/contact/>

Thank you.


author: Patrik S
body: Hello [@Simon Quick](/t5/user/viewprofilepage/user-id/5574782) ,

When the destination email provider bounces Atlassian's emails, those email addresses are internally added to a suppression list so Atlassian domains don't get flagged as Spam. This may have been the case for your domain.

I've internally removed all the entries related to your domain from our internal suppression list. Could you try resending the invitations again and let us know if they are correctly delivered now ?

comments: author: Simon Quick
body: Thanks Patrick. I resent some invites again 8 hours ago and unfortunately none of them have been received. I've checked spam folders too and nothing there.

Any ideas?

Thanks again


author: Patrik S
body: Hey [@Simon Quick](/t5/user/viewprofilepage/user-id/5574782) ,

In such case, as I see you have access to a workspace with active Bitbucket Cloud subscription, I would recommend opening a support ticket so our team can investigate this further.

You can raise a ticket on <https://support.atlassian.com/contact/> choosing Bitbucket Cloud as a product and making sure to provide the URL of the workspace that has a paid plan.

If you want me to create a ticket on your behalf, please let me know which timezone you're in, so I can direct it to the correct team.

Thank you, [@Simon Quick](/t5/user/viewprofilepage/user-id/5574782) !

Patrik S


Tags: bitbucket-cloud

cloud
Unable to create workspace - Something went wrong on our end. Please try again.
Asked by EcoMiner Administration:

For a few days I'm unable to create workspace, keep getting this error:

Something went wrong on our end. Please try again. If this keeps happening, [contact support](https://support.atlassian.com/contact/). (Issue ID for Atlassian use: 57c792c3ab7a412bacc61e62c9bb6001)


Answers:
author: vikram
body: Hi [@EcoMiner Administration](/t5/user/viewprofilepage/user-id/5576678)

Welcome to Atlassian community.

For your error you have to contact Atlassian Support, as it is specific to your instance or application. Raise an support ticket from <https://support.atlassian.com/>.

But if you want to try something, try as below:-

Clear History, clear cache and check.

Vikram P


Tags: bitbucket-cloud

cloud
rpc error: code = NotFound desc = failed to pull and unpack image "..." no match for platform in man
Asked by Felipe Rodriguez:

Hi guys,

I set up the pipeline to do a deployment at personalized image with architecture **arm64**.

I follow these instructions for doing a pull in private docker hub repo

<https://support.atlassian.com/bitbucket-cloud/docs/use-docker-images-as-build-environments/#Private-images-hosted-by-Docker-Hub>

But the pipeline gives me this error:

```
rpc error: code = NotFound desc = failed to pull and unpack image 
"username/ci-cd:latest": no match for platform in manifest: not found
```

<br />

If the error was because bitbucket don't support this architecture... one possible solution is to set up a job runner arm64, and do all the steps that we're doing at image at pipeline... install deps and more... ? Thanks,  

BR,


Answers:
author: vikram
body: Hi [@Felipe Rodriguez](/t5/user/viewprofilepage/user-id/5576622)

Welcome to Atlassian Community.

Please check whether the image name is correct or not.

This issue happens intermediatorily, after few hours it works fine.

or

Sometimes works when we change maven version/python version.

Vikram P

comments: author: Felipe Rodriguez
body: Hi Vikram,

Thanks for reply, not is a problem related with name or private - public docker hub image, I try with both with the same result.

I saw the similar issue in other thread, and colleagues say something like that "try after ten minutes" but I'm not sure if that is a correct answer.

I think in my case is because the image is arm64, but I'm not sure that I need test it.

Regards,


author: Felipe Rodriguez
body: Hi [@vikram](/t5/user/viewprofilepage/user-id/5005662)

I try with the same docker image with architecture amd64 and works great, so my suppose was right...


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

docker
steps needed to update an container id to ip address for crucible.
Asked by vineethsamala:

When I am trying to create an application link from bamboo to crucible application and display URL are showing different.

![picture-1.PNG](/t5/image/serverpage/image-id/108746i944896DB87931E1E/image-size/large?v=v2&px=999 "picture-1.PNG")

Bamboo is running as a standalone and Crucible is running on docker container.

In order to fix my issue i need to update URL for Crucible under application navigator tab. but i don't see any edit option. please guide me on this.![picture-2.PNG](/t5/image/serverpage/image-id/108747i09B5C353F6767725/image-size/large?v=v2&px=999 "picture-2.PNG")

Regards,

Vineeth Samala.


Answers:
author: vineethsamala
body: Here is my current Crucible url: http://8e09c322cc73:8080/ which is under the application navigator tab. I can't update this manually in the console. The work around for this is update the on the database side.

Below is the table where i found the url info.

SELECT \* from**cru_repository_property**;

<br />

\| com.atlassian.troubleshooting.plugin-fecru  
44 \| \<ALL_REPOS\> \| com.atlassian.plugins.custom_apps.customAppsAsJSON \| 1027EF04ED3D1E520A5  
1927CC41EBA979C9D5271A84354E6FF5578DF1CFB2DDB \| \[{"baseUrl":"**http://8e09c322cc73:8080** /","applicationType":"fecru","hide":false,"displayName":"C  
rucible","editable":false,"self":true,"id":"1","url":"**http://8e09c322cc73:8080/** ","applicationName":"Crucible","allowedGroups":\[\]},{"application  
Type":"fecru","hide":false,"displayName":"Bamboo","editable":true,"self":false,"id":"2","url":"<http://165.110.173.76:8085/","allowedGroups>":\[\]}  
\]

please provide me the steps to take the backup of db and sql query to update App url and display url.

Regards,

Vineeth Samala.
Fisheye setup blank page
Asked by fkoehn:

Hey All,

I face a problem while setting up Fisheye.

Fisheye is running on a Linux server (Centos 8) and shares it with Jira.

when accessing the Fisheye link i was able to generate a licence which can be found in the config.xml file.

i also added \<web-server context="/fisheye"\> so it has a distinctive URL.

My Problem starts after the Licence generation. I now get redirected to "http://\<URL\>/fisheye/setup/jiraConnect.do which is just a blank page.

I tried restarting Fisheye but the redirect stays.

Can anyone help me resolve this issue?


Answers:
author: fkoehn
body: I reinstalled Fisheye from scratch and the issue has been resolved.

i pointed FISHEYE_INST to a home directory and not the installation directory this time.


author: redlin6688
body: I encounter this issue ("http://\<URL\>/fisheye/setup/jiraConnect.do which is just a blank page.) when using the crucible/fisheye ,and did following to recover it to normal.

1. stop the service

2. remove the config.xml file under path "FISHEYE_INST",

3. copy a config.xml file from latest backup zip package to path "FISHEYE_INST"

4. start the service.

Finally it recover to normal page, and all my data is still there and correct.


author: fkoehn
body: ERROR - Exception "javax.servlet.ServletException: java.lang.IllegalStateException: Response is committed" (javax.servlet.ServletException) while processing "/fisheye/setup/jiraConnect.do" (Referer:"null")  
javax.servlet.ServletException: javax.servlet.ServletException: java.lang.IllegalStateException: Response is committed

This is from the logs
Strict-Transport-Security header
Asked by stevezohn:

All of our atlassian products are showing a vulnerability due to incorrectly configured Strict-Transport-Security header on the web servers. I've found fixes for jira, and I'm assuming confluence. But fisheye seems to be a different setting, is there any way to adjust header without doing some kind of reverse proxy?


Answers:
author: Daniel Eads
body: Hi Steve,

While a reverse proxy would be my first choice, you might have success modifying the config.xml file. Fisheye uses Jetty for its application server (vs Tomcat for Jira and Confluence), so the setup is different than other documentation you might use for other products.

Here's some discussion around adding the stsMaxAge value into a config.xml file for Jetty:

<https://issues.sonatype.org/browse/NEXUS-20268>

Note that this is untested on my end. Using a reverse proxy is typically how I'd recommend terminating SSL with Fisheye.

Cheers,  
Daniel
Error Occurred on creating review
Asked by sangok:

Hello

I'm fixing our team's crucible system these days, but I found strange error I can't understand.

Our git repository is linked with crucible , displaying it's commit on crucible.

But I can't make review.

On \[Projects\] -\> \[ProjectD(our project)\] menu, I can find new commits.

If I select "**create review**", an error occours.

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

If I select "**create review from branch**", it shows no data on review.

![branchReview.png](https://community.atlassian.com/t5/image/serverpage/image-id/106399iB88C74E107B56EE4/image-size/large?v=v2&px=999 "branchReview.png")![nodata.png](https://community.atlassian.com/t5/image/serverpage/image-id/106400i545C8B5D6A396372/image-size/large?v=v2&px=999 "nodata.png")

I'm new to crucible, hard to find what's wrong.

Any help will be greate thanks

**EDITED**:

few days ago, I fixed git.exe executable path on \[Administration\] -\> \[Server\] -\> \[Git Executable\] because that path link was broken. (there was no data)

After fix, while loading project, I did "create review from branch" and it shows edited file list successful, but fail to show contents when I come back next day.

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

On \[Create Review\] -\> \[Choose Change Set\] menu

I can find my repository name, but when select it, Repository turn back into "No Repository"

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


Answers:
author: sangok
body: It was git version error.

I linked Cygwin git which is not supported


Tags: error

review
Repository not getting updated and it stuck at "Status message:Processing commit ...."
Asked by Buddhi Edirisinghe (?????? ?????????):

In my local fecu server cant add repository which is in bitbucket. I have a few repositories in the bitbucket. So randomly added each repository to check this issue. every time it's getting stuck at Processing commit status. Does anyone have any idea about this?

![Screenshot 2020-08-10 at 21.24.01.png](/t5/image/serverpage/image-id/106152iA5FF372FF2DD5E46/image-size/large?v=v2&px=999 "Screenshot 2020-08-10 at 21.24.01.png")


Answers:
author: Buddhi Edirisinghe (?????? ?????????)
body: finally, I found the issue. The git diff.tool was not configured in the .gitconfig. it should be added a tool for diff.tool or keep it to take the default. In my case, it was not correctly added.
Unable to login after connection to LDAP and users added to fisheye and crucible groups
Asked by Jeffrey Kayzerman:

Users pulled from active directory are unable to log into fisheye/crucible. The user list does show up and I can see their details. Furthermore I was able to give a few of them access to the fisheye-users and crucible-users groups and make them admins but they are still unable to login. I do get a failure on retrieving users during the directory connection test. Not sure what else to try, any help greatly appreciated.

Some other details that may be important.

1. Our AD server uses a load balancer

2. We are still using an evaluation license

![LDAP Error.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/105842iB602762ED37FFE9C/image-size/large?v=v2&px=999 "LDAP Error.PNG")![User Details.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/105841iA48FECFDE9189A03/image-size/large?v=v2&px=999 "User Details.PNG")


Answers:
author: Jeffrey Kayzerman
body: The answer ended up being that the username and password fields in the connection setup screen are not optional for us and needed to be populated. It also had to point to one of the specific nodes, pointing to the other wouldn't work for some reason.
Not working with MySQL
Asked by Mike Rubin:

I've seen the other posts and I've downloaded mysql-connector-java-5.1.48-bin.jar and placed it in $FISHEYE_INST/lib and it's got proper ownership/permissions. I've stopped/started crucible/fisheye and it still can't load the driver. What is missing?


Answers:
author: Mike Rubin
body: -Dfisheye.inst wasn't properly set on the java command. I have FISHEYE_INST set and can run echo $FISHEYE_INST and it prints the right thing, but those settings are not getting picked up by bin/start.sh. I had to modify the fisheyectl.sh
url????????????????/url???????
Asked by ????:

SourceTree??url???????**????????/url???????**

????????????????????????

???????????????????????

??????????????????????????

?????

??????????????????

SourceTree???????????

SourceTree?????????

Git?????????????????????


Answers:
author: K.Kitajima
body: ?????????????????????

???????????????????????????????????

* [SourceTree url???????????](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-url%E3%81%8B%E3%82%89%E3%82%AF%E3%83%AD%E3%83%BC%E3%83%B3%E3%81%8C%E3%81%A7%E3%81%8D%E3%81%AA%E3%81%84/qaq-p/2551462#U2552565)


Tags: bitbucket

bitbucket-cloud

cloud
SourceTree url???????????
Asked by ????:

???url???????**????????/url???????** ???????????????????????????????  
remote: Invalid credentials  
fatal: Authentication failed for '<https://bitbucket.......?>

????url?Chrome????????**?????????????**????????????????

?????????????????????  
???????????????????????????


Answers:
author: ????
body: ??????????????

??OAuth - SSH?????Bitbuckt ?Soucetree ??SSH ????????????????????????????????????????????????

???mac??????


author: K.Kitajima
body: ?????????????????????????

??????????????????????????????

????????????????????????????????????????????

* [Authentication Error - "remote: Invalid username or password" / remote: Invalid credentials fatal: Authentication failed](https://confluence.atlassian.com/bbkb/authentication-error-remote-invalid-username-or-password-942864127.html)

??????????????

comments: author: ????
body: ??????????????

??????????????????????????

????????????????

????????????


author: K.Kitajima
body: ??????????????

SourceTree??????????????(Auth Type)???????????????????????????

?????????????????

* Soucetree \> Settings \> Account?

Basic????

Bitbucket???[??? ??????????](https://support.atlassian.com/ja/bitbucket-cloud/docs/create-an-app-password/) ??Soucetree???????????????

![Screenshot 2023-12-06 at 14.56.57.png](https://community.atlassian.com/t5/image/serverpage/image-id/295475iF2438605213B7E34/image-dimensions/326x158?v=v2 "Screenshot 2023-12-06 at 14.56.57.png")

OAuth - SSH???:

Bitbuckt??Soucetree???SSH???????????????????????????????

* [Sourcetree ????? SSH ?????](https://support.atlassian.com/ja/bitbucket-cloud/docs/set-up-ssh-with-sourcetree/)


Tags: bitbucket

bitbucket-cloud

cloud
How to prevent sourcetree from hanging when dealing with text files?
Asked by ron ze:

Using source tree v3.4.11 on windows 10. I have a number of updated text files, about 150KB in size each, whenver I selected them in sourcetree to either stage/discard, the program hangs for about 10 seconds. If there are more files, it may hang more minutes. Is there a way to prevent this from happening? I don't need to see the difference, I just need to either stage or discard them as a group, is there a way to disable diff for these file types?


Answers:
author: Kimmo Keskinen
body: "Diff" tab in Options has some settings that can probably help with that:

* You can ignore some file types like \*.txt so that they won't ever appear in diff
* you can set a max file count, so that if you still wish to see .txt files in diff, just not when you're selecting multiple files at once, you can only ignore files in masses
* then there's "Size Limit (Text)" and "Size Limit (Binary)" for both file types, meaning "do not show diff for files that exceed this size limit"