youngmon/atlassian-qna huggingface dataset:
How to create service account?
Asked by Mbhaskara_rao:

We want to generate a service account, using which we can trigger and configure pipeline.

Can you help me in generating it?


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

Currently, Bitbucket Cloud does not have service accounts, but we have the following feature request to have this functionality implemented. I'd advise you to add yourself as a watcher to it to receive any updates and add any comments you think are necessary and/or important to the feature request.

* [Ability to use Service account on Bitbucket Cloud](https://jira.atlassian.com/browse/BCLOUD-15600)

In addition, more information about how Atlassian implements New Features can be found on [this page](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html).

As for now, we advised you to try one of the following solutions to your workflow, while the feature above is still in development:

1. Create a regular account to be used as a "service account" OR

2. Use an existing account, create an [App password](https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/) + add this app password as [secret environment variables](https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/) in your builds

Please feel free to share any additional questions or concerns regarding this case.

Kind regards,   
Caroline


Tags: bitbucket-cloud
firebase-deploy pipe's firebase-tools to version 10
Asked by Matti Kaivanto:

Firebase tools version 10 has introduced a change:

```
Function deploys now upload source to the deployed region instead of us-central1
```

We have a GCP Org Policy preventing the use of *us-central1* region. Function deployments with atlassian/firebase-deploy pipe fail due to this reason with firebase-tools version 9.

Would it be possible to have the pipe with firebase-tools v10?


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

I have created a feature request in our issue tracker for our development team to take into account:

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

I would suggest adding your vote in that feature request by selecting the **Vote for this issue** link. 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.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

deployment

firebase

google
Serverless-deploy Bitbucket pipe for version 3 of the Serverless Framework?
Asked by Kelly Farlow:

I am wondering if the Atlassian team will be releasing a new version of the atlassian/serverless-deploy Bitbucket pipe to work with version 3 of the Serverless Framework? And if so, when that might be available?


Answers:
author: Igor Stoyanov
body: [@Kelly Farlow](/t5/user/viewprofilepage/user-id/3757958) hi.  
We released a new version of the [serverless-deploy:1.2.0 pipe](https://bitbucket.org/atlassian/serverless-deploy/src/1.2.0/), which include upgrades to nodejs16.x and serverless framework V3  

Regards, Igor.


author: Theodora Boudale
body: Hi [@Kelly Farlow](/t5/user/viewprofilepage/user-id/3757958),

I have created a feature request in our issue tracker for our development team to take into account:

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

I would suggest adding your vote in that feature request by selecting the **Vote for this issue** link. 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.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
need to Export BitBucket users access - repository - group -
Asked by Denish Vagh:

simply need to get below data :

<https://bitbucket.org/asitesol/workspace/settings/user-directory>


Answers:
author: dlaser
body: Bitbucket Cloud has released this [User Export Feature](https://confluence.atlassian.com/display/BBKB/Exporting+user+list+from+your+workspace?moved=true&showComments=true). This exports your users into a CSV file.


author: Norbert C
body: Hi [@Denish Vagh](/t5/user/viewprofilepage/user-id/4705055)

Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you! Welcome to the Atlassian Community!

Unfortunately this functionality is not available, yet, but we're already working on the fix

Currently we have a feature request for adding additional information to account audit log as you can see in the link below:

[BCLOUD-13142 - Ability to export user list in Bitbucket Cloud](https://jira.atlassian.com/browse/BCLOUD-13142)

Our development team will give a first-hand update on that ticket if there's any progress made so I would suggest keeping a watch and vote for it.

Do note however that there's no ETA on enhancement request, and all enhancements are implemented with this policy in mind: [Implementation of New Features Policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html)

Please let us know if you need any further assistance.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud

cloud
Create a task without writing a comment
Asked by Alexander Slepnev:

If you want to create a task relates to some code line, you must write some comment and after that push on the button "Create task" and write the task name.

It's not easy for a code reviewer to do it, because you need to make three actions instead of one action.

<br />

[GitLab](https://docs.gitlab.com/ee/user/project/merge_requests/reviews/) fixes that problem and also provides more features of task creation, e.g. submitting all tasks by one notification.

So How can I do that in the Bitbucket?

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


Answers:
author: seanaty
body: In the task "card" within the right sidebar of the pull request, you should be able to add new tasks there. The won't be associated with a comment or a line and will only be associated with the pull request.

comments: author: Alexander Slepnev
body: [@seanaty](/t5/user/viewprofilepage/user-id/1301071)Yes, but this is the main problem. I want to create a task attached to some line without writing a comment to that line, and I didn't find any way to do that. The right sidebar doesn't help me to do that.

Maybe somewhere the adding request is like [this](https://jira.atlassian.com/browse/BCLOUD-19687)?


Tags: bitbucket-cloud

cloud
Compare various versions of pull request
Asked by Alexander Slepnev:

When a code reviewer checks a big Pull Request, a possibility to compare versions of it after updates can decrease check time and make it easier because a reviewer may not look whole pull request twice.  
There is an example: a developer creates a pull request, a code reviewer writes some comments, a developer fixes them and should update a pull request. He fixup fixes with a specific commit and force push it (so a pull request will contain a correct count of commits). As a result, a code review can't check the difference between the pull request versions from the WEB page.

So I think if Bitbucket will contain a such feature, a developer can use any way to update pull requests and a core reviewer can always have a method to compare versions. [Stack overflow](https://stackoverflow.com/questions/21437196/how-to-compare-two-revisions-in-bitbucket/25598128) offers some ways to do it, but you need to know both commit hashes to compare. A very good example of version comparing - is GitLab. It provides a way to do it ([link](https://docs.gitlab.com/ee/user/project/merge_requests/versions.html)).  
Does Bitbucket contain such a feature as in GitLab?


Answers:
author: Norbert C
body: Hi [@Alexander Slepnev](/t5/user/viewprofilepage/user-id/4695172)

Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you! Welcome to the Atlassian Community!

Unfortunately this functionality is not available.

Currently we have a feature request for adding additional information to account audit log as you can see in the link below:

[BCLOUD-19687 - Allow users to render diffs based on different commits on a PR](https://jira.atlassian.com/browse/BCLOUD-19687)

Our development team will give a first-hand update on that ticket if there's any progress made so I would suggest keeping a watch and vote for it.

Do note however that there's no ETA on enhancement request, and all enhancements are implemented with this policy in mind: [Implementation of New Features Policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html)

Please let us know if you need any further assistance.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support

comments: author: Alexander Slepnev
body: Hi [@Norbert C](/t5/user/viewprofilepage/user-id/1190200) !  
Thank you for the information, It's sad that this functionality is not available, but I will wait the update of the attached request.


author: Norbert C
body: Hi Alexander,

You're welcome for the information. Yes, unfortunately this functionality is not available yet, but our team is working on it.

Have a great day!

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud

cloud
error displaying jira issue tab in repository
Asked by Z:

I tried to integrate Jira cloud with Bitbucket cloud by following:

<https://support.atlassian.com/bitbucket-cloud/docs/connect-bitbucket-cloud-to-jira-software-cloud/>

After connecting I can see the connected workspace and repos in Jira DVCS accounts settings. But in bitbucket, the Jira Issue tab of the repo under the workspace shows a message of "We can't load the page" like following:

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

How to solve this problem?

Thanks


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

I couldn't reproduce this behavior on my side. In this case, could you please confirm what is the browser you are using to access Bitbucket?

Please feel free to share any additional information regarding this case.

Kind regards,   
Caroline

comments: author: Z
body: [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) I tried different browsers e.g. Chrome, Firefox, Edge with no luck. My old workspace (created before 2020) has no such issue. It seems only happens on newly created workspaces. You can try in a new workspace, or try with a new bitbucket account.

Please let me know if you can reproduce.


author: Bartosz Grabias
body: [@Caroline R](/t5/user/viewprofilepage/user-id/3934006), I'm facing the same issue with brand new Jira \& Bitbucket instances (Free license).


author: Caroline R
body: Hi [@Z](/t5/user/viewprofilepage/user-id/4786761) and [@Bartosz Grabias](/t5/user/viewprofilepage/user-id/4792437),

Thank you so much for the information, we were able to reproduce this behavior in new workspaces and we have already reported this issue to our dev team, so they can further investigate the problem.

We have also created the following public bug to track this case:

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

Our development team will post an update on the bug report when this is fixed. If you are not familiar with our Bug Request Policy, you can read more about it [here](https://confluence.atlassian.com/support/atlassian-cloud-bug-fix-policy-206865884.html).

You can add yourself as a watcher (by selecting the **Start watching this issue** link in the bug report) if you'd like to get notified via email on any updates and also select the **This affects my team** link to indicate you are affected by this issue.

Please don't hesitate to ask for any further information if needed.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud

jira-cloud
How change name of License on Source Tree?
Asked by deyvisonrocha:

Hello, i need change the name on the my license, how change it? The actual name is wrong.


Answers:
author: Bal?zs Szakm?ry
body: File\\Registration... brings you to the registration dialog. I think if you press the "Register Now - FREE" button here, you can change the details. You could also just leave it the way it is, though, it makes no difference.

comments: author: deyvisonrocha
body: Really, it makes no difference, but I thought I could change the license name.
Can I clone a local repo to Bitbucket.org?
Asked by Steven Gordon:

I'm a beginner... I created a new Xcode project and then added a pod to it. Having just downloaded SourceTree and read through getting-started topics in Help \> SourceTree, I dragged the project folder onto the SourceTree icon to create a local repo.

Now I want to clone that repo at my [bitbucket.org](http://bitbucket.org) account. Do I go online and create a repo at my account and then link the local and remote? Or do I Push my first local commit and SourceTree will create the repo at my [bitbucket.org](http://bitbucket.org) account?

If this isn't "best practice" for incorporating an existing project into a GIT at Bitbucket, what is the best practice?


Answers:
author: Steven Gordon
body: Figured it out... In the Overview (or is it Bookmark) window, select the Local project, right-click, and choose "Publish to remote." That should be added to the Help file section that describes creating a repo or adding a project to an existing repo. The Help section ends after the immediate action of creating or adding is done but instead should offer the next step of publishing it online.
SourceTree always crashes on start
Asked by Jeff:

I'm on the latest OS X 10.11 Beta (15A234d) since a few days, but just yesterday SourceTree keeps on crashing on every startup.   
<http://pastebin.com/raw.php?i=kNJ8Fj1A>


Answers:
author: fbartram
body: I filed bug report [SRCTREE-3181](https://jira.atlassian.com/browse/SRCTREE-3181) about this issue if anyone has any comments to make. The developers are aware of the issue.


author: Markus St?be
body: Same here with the final release of 10.11. We updated 5 machines, on 1 we experience constant crashes with sourcetree. the other machines work fine. I reinstalled sourcetree, updated to 2.5.3, downgraded to 2.5.2, deleted all Prefs and Files in AppSupport. I changed the used git-Version from the embedded one to system version and back, nothing helped.


author: fbartram
body: I can also report that the upgrade to 10.11 causes SourceTree 2.5.3 to crash on startup.


author: Jouni Mustalahti
body: Same here. After I updated to 10.11 Sourcetree keeps crashing when trying to open a repo. I tried re-installing, but to no avail
License Retrieval Failed
Asked by Kizuna Chiba:

RemoteAccessException: Could not access HTTP invoker remote service at \[<http://hams.intsys.atlassian.com/remoting/1.0/ExternalAccountManagementService>\]; nested exception is [java.io](http://java.io).IOException: Did not receive successful HTTP response: status code = 503, status message = \[Service Unavailable\]

I don't know why..


Answers:
author: Bal?zs Szakm?ry
body: You posted this 3h ago. Try again now. If it succeeds, it was some something transient. If not, you probably have a firewall or something else blocking the traffic.
How can I overwrite all my local changes and pull everything on the server to my machine?
Asked by Noah Yamamoto:

Without messing everything up, like last time I tried to work GIT by myself.


Answers:
author: Bal?zs Szakm?ry
body: * Press the big "Discard" button at the top of the SourceTree window and discard all your changes in the dialog that comes up
* Pull

comments: author: Noah Yamamoto
body: I'm using Mac, there is no "Discard" button, but there is a "Remove" one? Should I select all my files then click remove, then pull?


author: Bal?zs Szakm?ry
body: On Mac OS it is called "Reset", between "Checkout" and "Stash".


author: Seth
body: Do NOT "Remove". That will remove files from the repo, and register them as additional local changes.


author: caxix
body: This is more difficult than it needs to be due to some inconsistencies and bugs. First of all make sure to be on the File Status tab. Then use the Reset... context menu or the reset button in the main toolbar (the Reset button is hidden by default (mac) and needs to be installed in the toolbar first). The reset menu item or button will often only become active once at least on unstaged file is checked which is awkward since it also handles the Reset All command and at times it may become impossible to activate these. Finally the file status after reset is not immediately reflected and there is no progress indication.
How to force ST to use username from ssh config
Asked by Zbynek Vavros:

Hi,

since my PC username is different from my GIT username I have added this section into c:\\users\\myuser\\.ssh\\config

Host git  
HostName xxx.xxx[.xx](http://git.i.cz)  
Port 22  
User mygituser

This works just fine with command line where I can simply "ssh xxx.xxx.xx", my key is used and I am logged in.

But in ST UI whenever I try to fetch/pull a dialog asking for username/password pops up.

I did started the Pageant and added the key but this seems more like ST does not use the ssh config.

Running on Windows 7 and SourceTree 1.6.17.0...

Thanks for any pointers,

Zbynek

PS : I know I can place the desired user directly into URL (myuser@xxx.xxx.xx/path/to/repo) but since I have quite a lot of them I would like to avoid this.


Answers:
author: rrudnicki
body: Hi Zbynek,

Did you try the "Authentication" tab under Tools\>Options, you can modify information of saved users there.

Also, I've found this another answer which looks similar and might be useful.

<https://answers.atlassian.com/questions/219220>

Regards,

Renato Rudnicki

comments: author: Zbynek Vavros
body: Hey Renato,

thanks for taking the time to help me.

First off, the "Authentication" tab contains no records at all and since there are only "Edit" and "Delete" buttons I guess I can't add records myself.

Regarding the thread, they mention that ST **may** have it's own config - I haven't found any.

Also, I tried to switch between embedded and system GIT but no change ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")

I guess these shouldn't really have any effect since this is more SSH configuration than GIT one.

Anyway, still not working as expected...

Zbynek


Tags: ssh
During Commit, the submodule changes window is not working.
Asked by GlenLuettgerodt:

I am new to GIT so maybe I'm doing it wrong, but I seem to be having problems with submodules in SourceTree. I have setup a Stash server, and am using SourceTree as my UI on top of git. I have three repositories in Stash, consisting of two apps and one for a shared common set of libraries. I have added the common libraries repo as a submodule of the two app repos. When I make a change, such as adding a file to the submodule in one of the apps, SourceTree fails to function during the Commit. It sucessfully detects that there are changes in the submodule that should be comitted, but when I click the "open..." button in the submodules dialog, the new window shows nothing, in fact most of the dropdowns and labels are missing and the cancel button doesn't work (see screenshots). Am I doing something wrong here?

SourceTree Submodule Check.png

SourceTree Submodule Commit.png

git status output:

```
C:\Projects\FTAP\avails&gt;git statuswarning: refname 'HEAD' is ambiguous.warning: refname 'HEAD' is ambiguous.On branch masterYour branch is up-to-date with 'origin/master'.Changes to be committed:  (use "git reset HEAD &lt;file&gt;..." to unstage)        modified:   Another_test.txtChanges not staged for commit:  (use "git add &lt;file&gt;..." to update what will be committed)  (use "git checkout -- &lt;file&gt;..." to discard changes in working directory)  (commit or discard the untracked or modified content in submodules)        modified:   common (modified content)
```

[](https://community.atlassian.com/t5/Sourcetree-questions/During-Commit-the-submodule-changes-window-is-not-working/qaq-p/418262?attachment-id=7300){#link_1173dae4c1abab}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/12511/1/SourceTree%20Submodule%20Commit.png){#display_1173dae4c1abab_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/During-Commit-the-submodule-changes-window-is-not-working/qaq-p/418262?attachment-id=7301){#link_1173dae4c1abab_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/12511/2/SourceTree%20Submodule%20Check.png){#display_1173dae4c1abab_2}


Answers:
author: GlenLuettgerodt
body: Seems that this is a known issue... <https://jira.atlassian.com/browse/SRCTREEWIN-1912>

One commenter provided a workaround that effectively translates into "Cancel out of submodule check and commit submodules directly"
pushing to cloned repo with SourceTree
Asked by lgroger:

I am part of a team that is new to git and distributed version control and I am getting very frustrated...

We are using SourceTree. We created a new repo with SourceTree on our shared development server. We commited all of our existing files and then deleted all of the old Archived code and committed again. We can still see the old code but it's cleaned up. Life is good...

Each person then used SourceTree to clone the repo on their local machine. They now have all of the files, can make changes locally, stage them and commit them. Everything is great until we try to push changes back to the main repo that we cloned from. We get an error that we can't push to a non-bare repo.

So based on that error message and some googling, I changed receive.denyCurrentBranch to ignore in config of the repo we all cloned from. Now we can push to it, but, OOPS, now the main repo shows our changes in SourceTree, but the actual files didn't change. (and the main repo on our shared development server is now seeing all the file changes we made locally but weren't actually applied to the shared server as changes that need to be staged and committed now.)

It seems like this should all be so simple; I know thousands of people successfully use this everyday... what are we missing?!!


Answers:
author: Johannes Kilian
body: Why not convert your reference repository on development server to a bare repository? It's straightforward:

* Make a (new) clone of your reference repository to your local machine
* Delete the reference repository on the development server
* Create a new BARE repository on your development server (using the name of your repository)
* Push the previously cloned repository from your local machine to the new, bare repository on your development server
* After this anybody should be able to push to this new repository ...


author: Seth
body: See if this explanation of a bare repository helps: <http://www.saintsjd.com/2011/01/what-is-a-bare-git-repository/>


Tags: git
merging a branch
Asked by Marc O'Sullivan:

Hi there,

I've done some work on a branch and now want to put the work back in the master and discard the branch. how do I do that?

Many thanks,

Marc


Answers:
author: Seth
body: <https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging>


author: Johannes Kilian
body: Basically you checkout your destination branch (master) and do a *git merge branchname....*

About "discarding a branch":

Have a look at [Git Branching - What a Branch Is](https://git-scm.com/book/no-nb/v1/Git-Branching-What-a-Branch-Is). Deleting a branch is simply removing the symbolic name of the branch - all the commits done on the branch are preserved (that's one of the main purposes of a VCS: preserving old commits). If you want to get rid of all commits on the branch and want to have only one single commit (containing all changes made on the branch), there are more advanced git command (you have to do a *git merge --squash ....)*