youngmon/atlassian-qna huggingface dataset:
How can we allow all users the ability to create an issue?
Asked by brian:

For years we've allowed any user to create an issue on our bitbucket.

As of a few days ago, users are reporting that they no longer can create issues, and instead they see a page that reads:

**We can't let you see this page**To access this page, you may need to log in with another account. You can also return to the previous page or go back to your dashboard.

So, while they can see the list of issues, they cannot create an issue themselves.

Does anyone know of the settings required to allow this functionality again?


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

Welcome to Atlassian Community!

I went ahead and created an internal support ticket using the email of your community account so we can look into this issue. You should be receiving an email soon with the ticket link, but in case you don't receive it, please let me know so I can share the ticket link here.

Thank you, [@brian](/t5/user/viewprofilepage/user-id/5186845) !

Patrik S

comments: author: brian
body: Thanks. Looks like I never received it. Please share when you can.


author: brian
body: Also, [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) , while I wait for the ticket link, do you know if a bitbucket paid solution would provide some kind of permission granularity that the free account doesn't have, that would make it so anyone could post an issue?


author: Patrik S
body: Hello [@brian](/t5/user/viewprofilepage/user-id/5186845) ,

You can access the ticket using [this link](https://support.atlassian.com/requests/BBS-200983/). Please make sure you are logged in with the same email you have used to comment on this question, otherwise, you will not be able to see the ticket.

As for your other question, the Bitbucket subscriptions (Standard or Premium) offers the same permission granularity as a Free account with regards to the Issue tracker.

Thank you, [@brian](/t5/user/viewprofilepage/user-id/5186845) !

Patrik S


author: Rakete
body: I don't think this is something you can control. It is an issue with bitbucket. I asked about it a while ago: <https://community.atlassian.com/t5/Bitbucket-questions/I-can-t-create-any-issues/qaq-p/2305123>

The problem disappeared after some time, but it is back again. Several people are experiencing the problem in the project I linked in my question.


Tags: bitbucket-cloud

cloud
How to pull a Docker image from Docker Hub in Bitbucket pipeline
Asked by Javier Fern?ndez Pastrana:

Hello,

I want to pull a public image from Docker hub from my Bitbucket pipeline. As it is said in the documentation is possible to do it. I tried different sintax without succes:

This is the public repository: [nordicplayground/nrfconnect-sdk Tags \| Docker Hub](https://hub.docker.com/r/nordicplayground/nrfconnect-sdk/tags)

This is what I tried:  
* image: nrfconnect-sdk:v2.2-branch
* image: nrfconnect-sdk:main
* image: nrfconnect-sdk:v2.2-branch

It reports always the same error:

![Capture.JPG](/t5/image/serverpage/image-id/249493iCFBF50C2F2F09129/image-size/large?v=v2&px=999 "Capture.JPG")

It should be something obvious.... but I do not know what.

Thanks


Answers:
author: Javier Fern?ndez Pastrana
body: As I said, it was something obvious:  
* image: nordicplayground/nrfconnect-sdk:v2.2-branch


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
4 GB above commits are rejected
Asked by Happenbox:

We are getting this error on pushing to repo.

remote: Repository is over the size limit (4 GB) and will not accept further additions.

I cant find a solution.

Can support help please?


Answers:
author: Robert Wen_ReleaseTEAM_
body: Hello [@Happenbox](/t5/user/viewprofilepage/user-id/5186725) ! Welcome to the Atlassian Community!

Let me escalate this to Atlassian to see if they can perform garbage collection.

comments: author: Happenbox
body: [@Robert Wen_ReleaseTEAM_](/t5/user/viewprofilepage/user-id/3970316) Thank you... I'll wait for an update


author: Ben
body: Gday [@Happenbox](/t5/user/viewprofilepage/user-id/5186725) !

I have just executed a garbage collection against your remote repository - it has reduced in size from 4.0GB to 1.4GB.

<br />

Would it be possible for you to check it on your end (by navigating to your **Repository \> Settings)** and see if that has helped?  

We want to inform you that we do have a Feature request to provide the option to run the GC from the end-user GUI. This way you need not raise a community ticket and wait for the support person to run the GC on your behalf:

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

I would suggest you **"Watch"** this ticket for future updates from our Dev team.

**NOTE:** You and your colleagues will need to perform a fresh clone of the repo before committing new changes, this is to prevent pushing back old refs and inflating the size again.

Cheers!

- Ben (Bitbucket Cloud Support)


author: Happenbox
body: [@Ben](/t5/user/viewprofilepage/user-id/4537226) Thank you for the update. I've followed your instructions and everything is back working now.

I'll keep an eye on the jira ticket also.

Thanks again,

- Happenbox


Tags: atl-rvw

bitbucket-cloud

cloud
Tow step verification
Asked by Neji Trabelsi:

hi, I don't remember activating tow step verification to my account, but here am i stuck to access bitbucket

I tried every think even with ssh :

\`\`\`

ssh git@bitbucket.org recovery_codes  
Bitbucket two-step recovery codes  
If you don't use a password to log in you'll need to contact support to recover your account: <https://support.atlassian.com/bitbucket-cloud/>  
Enter Bitbucket password (Warning: password displays when entered): xxxxx-xxx--xx

Your single-use recovery codes are

Once logged in, you should immediately visit  
<https://bitbucket.org/account/user/my-account-name/two-step-verification/>  
to add a new two-step device.

\`\`\`

but even here I don't have a recovery codes because i never configured !  
any help please to access !!!


Answers:
author: Patrik S
body: Hello [@Neji Trabelsi](/t5/user/viewprofilepage/user-id/5186372) ,

Welcome to Atlassian Community!

Having 2 step-verification enabled in your Bitbucket account will require you to go through the verification process upon the expiry of an existing active session or when attempting to log in from a new device.

If you lose access to your mobile device, you can access your account using a one-time link sent to the email address associated with user's account.

The recovery link will allow you to temporarily disable 2SV and log in to the account.

To request the recovery email through the login screen you will need to click on "**Forgot code** " \> **Send recovery e-mail** when prompted for the 2SV code.

There is a 24-hour wait period to receive the email. Please keep in mind that the 24h delay is a necessary measure to protect our customers and their data.

Thank you, [@Neji Trabelsi](/t5/user/viewprofilepage/user-id/5186372) !

Patrik S


Tags: 2-factor-authentication

bitbucket-cloud

cloud
what installation option should i select
Asked by Robert Moore:

We have a Data Center licence, but we are only currently running a single node, and no intimidate plans to stand up additional nodes.

When performing the installations using the Atlassian install scripts should we select server or data centre?


Answers:
author: Christian Glockner
body: Hi Robert,

In this case you can choose the Server option, as this will install the Opensearch component, which otherwise you'd have to manually install on another machine if you were to select Data Center.

Cheers,  
Christian  

Premier Support Engineer  
Atlassian

comments: author: Robert Moore
body: thank you


Tags: bitbucket-server

server
How can I change a commit message after push to remote
Asked by Jonas Engdahl:

I want to edit my commit message but see no command that supports this.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Jonas Engdahl](/t5/user/viewprofilepage/user-id/5186344) and welcome,

you can use git commit --amend command to do that.

Please take a look to the following article <https://www.atlassian.com/git/tutorials/rewriting-history>

Hope this helps,

Fabio

comments: author: Jonas Engdahl
body: Ok- Thanks! So limited to do this for only the last commit as I understand it.


Tags: bitbucket-server

server
external db requirement of bitbucket data center
Asked by Kunal Agrawal:

I have MySql for my Product. I cannot migrate to any other db now.

As Data center does not support MySql as external Db.

I would like to ask below questions.

1. what is the relation between product db and bitbucket required Db ?

2. can I install one more db postgreSQL only for bitbucket data center and continue using MySql for Product ?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Kunal Agrawal](/t5/user/viewprofilepage/user-id/5186172) and welcome,

if your product is a different application, you can use different database for your bitbucket instance (please take a look to the supported platforms <https://confluence.atlassian.com/bitbucketserver/supported-platforms-776640981.html> ).

Hope this helps,

Fabio

comments: author: Ulrich Kuhnhardt _IzymesCo_
body: I concur with [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) - I assume though that "your product" is a plugin/add-on/app (depending on who you ask) that is installed into Bitbucket via UPM.

Does your product have a separate DB layer or separate API (JPA) that's connected to MySql? I suppose you could let Bitbucket and the plugin infrastructure use Postgres and utilise a separate JPA based adapter (or any technology of your choosing) to Mysql.

Best, Ulrich


Tags: bitbucket-server

data-center

postgres

server
password reset for search server not working, during reset, securityadmin.sh script give ssl error
Asked by Inderdeep Singh:

Hi,

We're using Bitbucket server version 7.21.10 and its search functionality seems to be broken.

Test button in server settings gives access denied error. We did the steps mentioned in this article - [Test button in Search server for Bitbucket server results in the access denied](https://confluence.atlassian.com/bitbucketserverkb/test-button-in-search-server-for-bitbucket-server-results-in-the-access-denied-858570187.html) for resetting the search server password, but running securityadmin.sh script gives some SSL error while connecting to OpenSearch. Error log give below:

```
bash +x securityadmin.sh --port 7992 -f ../securityconfig/internal_users.yml -t internalusers -icl -nhnv -cacert /apps/bitbucket/data/shared/search/config/root-ca.pem -cert /apps/bitbucket/data/shared/search/config/bitbucket.pem -key /apps/bitbucket/data/shared/search/config/bitbucket-key.pem
WARNING: nor OPENSEARCH_JAVA_HOME nor JAVA_HOME is set, will use /usr/bin/java
Security Admin v7
WARNING: Seems you want connect to the OpenSearch HTTP port.
securityadmin connects on the transport port which is normally 9300.
Will connect to localhost:7992 ... done
00:57:05.585 [opensearch[_client_][transport_worker][T#1]] ERROR org.opensearch.security.ssl.transport.SecuritySSLNettyTransport - Exception during establishing a SSL connection: io.netty.handler.ssl.NotSslRecordException: not an SSL/TLS record

```

OpenSearch certificates are all available in this folder - $bitbucket_home/shared/search/config including root-ca.pem, bitucket.pem and bitbucket-key.pem


Answers:
author: Luiz Elias
body: Hi [@Inderdeep Singh](/t5/user/viewprofilepage/user-id/5186053)

Welcome to the Atlassian Community!  
Please use the HTTPS port: 7993, and check if your file "internal_users.yml" has "admin" in the backend_role section.

Best regards,

Luiz

comments: author: Inderdeep Singh
body: Thanks !

That worked.


Tags: bitbucket-server

server
Pipeline gets triggered on branch creation
Asked by safarnama:

Pipeline gets triggered on branch creation, But I don't want it, I want pipeline to get triggered only when there is a new commit on the branch. How can I achieve this?  
Thanks


Answers:
author: Syahrul
body: G'day [@safarnama](/t5/user/viewprofilepage/user-id/5185790) and welcome to the community!

By default, a new build will be triggered every time you make a commit on any branch or every time you create a new branch if you have the "pipeline: default" trigger in your YML file.

To avoid triggering builds automatically when a new branch is created, please remove the "pipeline: default" trigger from your YML file. Instead, you can use branch triggers that run a build on every push to a specific branch or pull request triggers that run a build on pull requests.

You can refer to the Bitbucket Cloud documentation on how to configure Pipelines for various triggers. Here's the link: <https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/>.

Cheers,  
Syahrul


Tags: bitbucket-cloud

cloud
"Undoing commits" in sourcetree
Asked by Rourke Sekelsky:

I know this question is everywhere online and almost everywhere has the solution, but each time I try a different solution I lose my work when switching branches or something. I figure this may be from the differences in command line vs. sourcetree's UI. Can someone help me with this scenario?  

What I want to do: move the master to the head, delete the throwaway branch.  
I don't care if the commits on the master branch are deleted.  

<https://gyazo.com/40b19c085f49132889964c1e6460352e>  

I made some changes to the project I was working on awhile back, but then decided I wanted to revert those changes. So I was left with the master a few commits up, and then I made a new commit after checking out the commit where the branch starts. What I wanted to do was move the master to the head, but some solutions require checking out master and making a new branch. I did just that, making a new branch called throwaway, but ironically that threw away my commit where the head is - not sure why. So now I am stuck with the throwaway branch there, and no progress toward moving master -\> head.  

Thanks a lot!


Answers:
author: Mike Corsaro
body: Hello! So it seems there's some confusion as to what "HEAD" means. HEAD is a pointer to a commit, and in this case it's a pointer to that commit you switched to rather than the latest commit on a branch. Specifically, you're on a detached HEAD, which means any commits you make right now might get lost.

The easiest way to fix this is to create a new branch. This is probably what the "throwaway" is supposed to be. Once you make that new branch, switch back to "master" and then merge that previous branch into master. Once merged, do a push, and that "origin/master" and "origin/HEAD" indicator should now be back on the "Reverted to Controller" commit.
The guide to merging for Sourcetree only mentions ONE commit. Suppose I have multiple?
Asked by Karl Schipul:

The guide to merging branch with main root/trunk/master/whatever assumes that you have one little commit prior to the merge. This seems misleading (or perhaps I am missing something), because there could be MANY commits in real world code merges. Suppose I want to merge 10 commits? Or a hundred?


Answers:
author: Mike Corsaro
body: Hello! Merging a commit doesn't just merge that one commit -- it merges all changes on that branch to the branch you're merging into.
Link SourceTree to BitBucket
Asked by Vivek_Pitumbur:

I have just installed Sourcetree, going through initial setup, and I want to link SourceTree to Bitbucket where I have account.

The error I am getting is: "Something went wrong while attempting to validate your credentials."

I have tried to reset my password but it is still failing.  

Thanks in advance for any help in resolving this.


Answers:
author: Ana Retamal
body: Hi Vivek!

Have you tried logging into Bitbucket via the browser using the same credentials? If that works but you're still unable to link Sourcetree, can you let us know if you're using Windows or Mac? If you're on Windows, make sure that Internet Explorer is updated to the latest version, as otherwise it will cause issues with the authentication.

Can you also confirm you followed the instructions [here](https://confluence.atlassian.com/get-started-with-sourcetree/connect-your-bitbucket-or-github-account-847359096.html)? If you're still having issues, can you send a screenshot of the error you get?

Cheers!

Ana

comments: author: Vivek_Pitumbur
body: Hi Ana,

Trust you are doing well.

I am able to login into BitBucket and I am using Windows and Google Chrome.

Thank you.

Regards,

Vivek
Not able to grant organization acess to GitHub
Asked by Ylva:

Hi,

When I try to connect SourceTree to Github with OAuth I cannot choose to grant my organisation any priviliges? Anyone know why?

![Image.jpg](/t5/image/serverpage/image-id/37448i6D6A79C12B51645F/image-dimensions/313x246?v=v2 "Image.jpg")

Compare to this website where I can grant Organization access??

![Screenshot 2018-11-13 at 10.34.03.png](/t5/image/serverpage/image-id/37449i1F9374AFEB264DB0/image-dimensions/475x447?v=v2 "Screenshot 2018-11-13 at 10.34.03.png")

Thanks for help!!!

Ylva


Answers:
author: Luke
body: I am having the same problem - rendering sourcetree unusable for my organizational repos. Is there an update on how to work around this?


author: bgannin
body: Hi,

I don't think we configured Sourcetree's OAuth consumer to be both personal and organizational, as you noted. Changing scopes or configurations would likely invalidate all existing sessions and we approach changes that might do so very cautiously. I'll sync up with the rest of the team to confirm this.

Thanks,

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: Ylva
body: Hi,

Can I change to just have it organisational then? My colleagues can view their organisation repositories in Sourcetree with OAuth. I have no need for my personal ones. I have version 3.0.1 and my colleague uses 2.3.2

Many thanks for help,

This is my account setup:![Screenshot 2018-11-20 at 09.11.10.png](https://community.atlassian.com/t5/image/serverpage/image-id/38055i31573F0C32E20AC2/image-dimensions/412x216?v=v2 "Screenshot 2018-11-20 at 09.11.10.png")

This is my colleague:

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


author: loriolio
body: My team is having the same issue on Sourcetree for Mac (v 3.0.1 (205)). We can install Sourcetree, set up OAuth with SSH, but it only accesses Public repos and content. We cannot see any Organization data, teams, or request access. Windows users have no issues.

Is there a way to have Organization access for Mac and GitHub?

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


author: Jonas Stawski
body: Same thing happening here


author: agrady42
body: I'm having this same issue. After a year and a half...is there any progress on this?


author: Dave Nattriss
body: 27 months later, and nearly 4 years since the original post... has there been any progress on this?


author: Filip Makaroni
body: I'm having the same problem, I can't believe it's still not fixed


author: Scott Kemp
body: This fixed for me:

<https://medium.com/@johnnyfekete/accessing-a-git-repo-after-transferring-it-to-an-organization-99b1c78f5286>


Tags: access

github

organization
How to fix showing multiple Bitbucket login windows? I don't want to login.
Asked by Denis Rubtsov:

![??????.PNG](/t5/image/serverpage/image-id/37421i2863E2DC07347555/image-size/large?v=v2&px=999 "??????.PNG")


Answers:
author: minnsey
body: Hi  

This is due to a bug in the Git Credential Manager for Windows which ships with Git for Windows.  

Quickest way to fix is to install Git for Windows 2.19.1 and then install Git Credential Manager 1.18.3 <https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/1.18.3> then set Sourcetree to use this install in the Tools/Options/Git tab System Git option,.
i can't create a new Feature
Asked by darckhoro:

when i try to create a new feature the program freezes

![010203.PNG](/t5/image/serverpage/image-id/37386i3B5547111FAA49BF/image-size/large?v=v2&px=999 "010203.PNG")![bug.PNG](/t5/image/serverpage/image-id/37387i26A11E6E3929F773/image-size/large?v=v2&px=999 "bug.PNG")


Answers:
author: bgannin
body: Hi,

Our apologies for the hiccup. Please [file a ticket](http://jira.atlassian.com/browse/SRCTREEWIN/) with complete details for our development team to follow up on.

Cheers,

Brian Ganninger  
Senior Mac Developer, Sourcetree
Newb: Setting up a Sourcetree/Acquia Dev Desktop environment *locally*
Asked by Smartin:

I'm very new to Drupal 8 development, although I have built a number of D6/7 sites...

D8 seems to require Composer in many cases. Composer is \*entirely\* new to me and I'm finding that I'm breaking sites very easily whilst I'm experimenting with it. Therefore I'd like to have a GIT safetynet where I can roll back any disasters!

I want to avoid any cloud services like GitHub for the moment and work entirely locally on my Mac.

I use the Acquia Dev Desktop to create my original sites and provide the working environment. This means that I can't move the original folder once the site is created in the first instance.

How do I set up Sourcetree in this environment?

I think I have set up a new Repo, using the folder the original D8 installation was made into.

Given that this is in effect also the 'Live server' is this a good idea? If not, how else do I set things up?

Do I create a 'Branch' as my fallback 'Safetynet' and then revert to this if disaster strikes?

I'm altogether a bit at a loss on how to start...

Simon


Answers:
author: Ana Retamal
body: Hi Smartin,

Are you using Git already? The first step would be to convert your code to a Git repository, you can do that following [this tutorial](https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-init).

Once you start using Git, you already have a safety net. Note that Sourcetree doesn't provide an extra layer of security or anything like that, Sourcetree is basically a graphical interface for Git so you don't need to use the terminal. You can also read [Get started with Sourcetree](https://confluence.atlassian.com/get-started-with-sourcetree).

Let us know if you have any questions!

Ana


Tags: administration

drupal

mac
Ctrl+D is not working on multiple file
Asked by Michael Walz:

I upgraded from Sourcetree 2.5.x (or something like that, I'm not sure which version I had actually installed before) to version 3.0.8.

Now I'm no more able to compare more than one file at a time with Ctrl+D

I'm using Beyond compare Version 4.2.2 (build 22384) and I configured External Diff / Merge like this with Tool-Options, tab Diff:

External Diff / Merge:

Diff command : C:\\Program Files\\Beyond Compare 4\\BCompare.exe

Arguments: \\"$LOCAL\\" \\"$REMOTE\\"

Steps to reproduce:

* Select one file in the "Unstaged files" pane
* Ctrl+D
* Beyond Compare shows the comparision as expected
* Back in sourctree select another file in the "Unstaged files" pane
* Ctrl+D
* Now Beyond Compare shows another TAB as expected, but apparently the left file could not be opened (the one in the temp directory with a name like *C:\\Users\\Michael\\AppData\\Local\\Temp\\9lspNa_MyFile.cpp) .*

This used to work in the previous version (2.5.x or something) I had installed on my system.

Is there any workaround?

Will this bug be fixed?


Answers:
author: bgannin
body: Hi Michael,

Please [file a ticket](http://jira.atlassian.com/browse/SRCTREEWIN/) with these details for our development team to triage accordingly for a future update.

Thanks,

Brian Ganninger  
Senior Mac Developer, Sourcetree