youngmon/atlassian-qna huggingface dataset:
Cannot receive invitation email
Asked by Dat Nguyen:

Hello Bitbucket,

I could not receive the invitation email (an.pham@apacpro.com).

Can you help to check this problem?

Thanks,

Tony


Answers:
author: Ben
body: Hi Dat!

Based on our internal suppression list, we found that the email address which you have listed bounced the following SMTP error from your mail server and therefore the email was added to this list:

**550: 550-5.1.1 The email account that you tried to reach does not exist. Please try 550-5.1.1 double-checking the recipient's email address for typos or 550-5.1.1 unnecessary spaces. Learn more at 550 5.1.1 <https://support.google.com/mail/?p=NoSuch>... - gsmtp**

I have since removed your email address from our suppression list. Can you please try to remove and re-send the invitation for me? It should now reach the mailbox.

- Cheers!

comments: author: westprophet
body: Hi. I have a similar problem. I want to transfer my repositories to my other account. (on this email admin@redw.me)

12 hours have passed and I have not received a mail request to confirm the transfer of repositories


author: Dat Nguyen
body: Hi Ben,

It works now. Thanks for your supporting.

Cheers!


Tags: bitbucket-cloud

cloud
The dot in directory name
Asked by Sergey Yukish:

Hello!

Is it possible to use a directory with dot in its name, like XXX.YYY, as an artifact in pipeline description?

See the next example and let PROJECT_NAME be Test.Folder  

```
- step:

   name: Publish

   script:

     - dotnet publish $PROJECT_NAME -c Release

   artifacts:

     - $PROJECT_NAME/**
```

Unfortunately, it looks like a problem for bitbucket pipelines.


Answers:
author: Norbert C
body: Hi Sergey,

Thank you for contacting Atlassian Community! I'm Norbert from Bitbucket Cloud Support, it's nice to meet you! Also, welcome to the Atlassian Community :)

I'd like to inform you that I've tested this functionality and it worked for me. I've created a folder "test.folder" and I've created 10 files in it: test\[0001...0010\]. As you can see in the build teardown section it found the artifact pattern for "test.folder" and zipped the folder and 10 files:

![pic1.png](https://community.atlassian.com/t5/image/serverpage/image-id/172095iD72CD61691A318D1/image-size/large?v=v2&px=999 "pic1.png")![pic2.png](https://community.atlassian.com/t5/image/serverpage/image-id/172093i1F13407D696E6A61/image-size/large?v=v2&px=999 "pic2.png")![pic3.png](https://community.atlassian.com/t5/image/serverpage/image-id/172092iE97F742D3FFEF9CA/image-size/large?v=v2&px=999 "pic3.png")![pic4.png](https://community.atlassian.com/t5/image/serverpage/image-id/172094iD252DC57AFCECD16/image-size/large?v=v2&px=999 "pic4.png")

Would it be possible for you to send me the build teardown section of your build? That would help me troubleshoot this issue.

I'm looking forward to hear form you, Sergey.

Have a great weekend!

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: artefact

bitbucket-cloud

bitbucket-pipelines

cloud

error
Bitbucket runner changelog?
Asked by Alan Hollis:

Hi Bitbucket,

We've noticed there's been a couple of version updates recently for the bitbucket runner but I can't seem to find a changelog anywhere?

Does one exist?

Thanks!

Alan


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

There is no changelog at the moment, but we plan to add one. I don't have an ETA on when it will become available, but the plan is for our team to start working on it early next year.

Kind regards,  
Theodora

comments: author: Sergei Haller
body: Hi [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) any news on that one?

Thanks!


author: Theodora Boudale
body: Hi Sergei,

I'm afraid I don't have an ETA yet. I went ahead and created a public ticket for this in our issue tracker so that updates will be posted over there when available:

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

You can add yourself as a watcher in that ticket (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Kind regards,  
Theodora


author: Karthik
body: Hi, Any update on this. Unfortunately, these new versions of runner comes with it's own new set of issue which are causing new issues in our pipeline. If release notes can be provided we can make a decision accordingly. Thanks


author: Karthik
body: NVM, I have up voted above ticket and added a comment. Hopefully, In 2024 they will at least take a look at it.


author: Otto Lepp?nen
body: <https://downloads-public-primary-us-west-2.s3-us-west-2.amazonaws.com/software/bitbucket/pipelines/CHANGELOG.md>   
Don't see old changes but from 2.1 I guess all will be there.


author: Tom Emerson
body: 30 Aug 2024, the URL is still valid, there are versions 3.0.0 and 3.1.0 noted.

<https://downloads-public-primary-us-west-2.s3-us-west-2.amazonaws.com/software/bitbucket/pipelines/CHANGELOG.md>


Tags: bitbucket-pipelines

bitbucket-runners

cloud
New SSH key does not work
Asked by Tomer Kfir:

I am trying to connect to my repositories using SSH key and it doesn't work.

The flow I'me doing is using Putty (on Windows OS):

1. Generated a new key using Putty (type -\> RSA).
2. Started authentication agent using the privare generated key.
3. Copy - Paste the public key in my personal settings -\> SSH keys -\> Add Key.

The ssh key doesn't work.

When trying to compare between the keys, I see that BitBucket is saving the key without the ending prefix *rsa-key-20211130*

But this is the only difference.


Answers:
author: Tomer Kfir
body: I was able to resolve it, the problem was in Git Extensions -\> Tools -\> Settings -\> SSH -\> **select PuTTY client to be used**


Tags: bitbucket-cloud

cloud
npm install not working with Bitbucket runner
Asked by Ajay _view26_:

I get the below error when using runner for the below pipeline. Is it because I am not using a custom docker image to run node?

pipelines:  
branches:  
develop:  
- step:  
runs-on: self.hosted  
name: Build the package  
script:  
- cd frontend  
- npm install  
- npm run build  
-  
artifacts:  
- build/\*\*

![Screenshot 2021-11-30 211610.png](https://community.atlassian.com/t5/image/serverpage/image-id/171448iAE2118FAC3397B5F/image-size/large?v=v2&px=999 "Screenshot 2021-11-30 211610.png")


Answers:
author: Norbert C
body: Hi Ajay,

Thank you for contacting Atlassian Community! I'm Norbert from Bitbucket Cloud Support, it's nice to meet you!

Based on my observation your build fails as the NPM is not able to authenticate with the remote repository.

Based on the following link, removing the ".npmrc" resolves this issue: <https://stackoverflow.com/questions/48823562/npm-install-resulting-in-401-unauthorized-for-private-repo>

Can I ask you to try to remove this file and let us know if it resolves the issue?

I'm looking forward to hear from you, Ajay.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support

comments: author: Ajay _view26_
body: Hi [@Norbert C](/t5/user/viewprofilepage/user-id/1190200)

Thanks for the reply.

As it tuned out I was using private modules in my package.json and therefore the 401. I followed the documentation mentioned [here](https://support.atlassian.com/bitbucket-cloud/docs/javascript-nodejs-with-bitbucket-pipelines/) to configure the .npmrc file and it works fine.

*** ** * ** ***

If you are using private modules from either the public npm registry or your own private registry you can simply check in a .npmrc file at the root of your repository using repository variables. To avoid conflict with the local \~/.npmrc file during development you can simply name it .npmrc_config and rename it as part of the pipeline script.

**.npmrc_config**

```
`//registry.npmjs.org/:_authToken=${NPM_TOKEN}registry=https://registry.npmjs.org`
```

\& in the Pipeline

```
pipelines:
  default:
    - step:
       script:
         - mv .npmrc_config .npmrc
         - npm install
```

*** ** * ** ***

Cheers

Ajay


author: Norbert C
body: Hi Ajay,

Thank you for your reply. We appreciate your detailed explanation and we're glad to hear that it works :).

Have a great week ahead!

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: atl-gruland

bitbucket-cloud

bitbucket-pipelines

bitbucket-runners

cloud
Someone has already added that SSH key.
Asked by NedraMbarki:

Someone has already added that SSH key.


Answers:
author: G subramanyam
body: Hi [@NedraMbarki](/t5/user/viewprofilepage/user-id/4654878) welcome to the Atlassian community.

It's nice to know someone has added the SSH key. May we know what is your query please?


Tags: git
Trigger pipeline after webhook is done
Asked by Vladim?r Jan?ich:

Hello,

is it possible to trigger bitbucket pipeline after webhook finishes its work? We have configured webhook for AWS Code Build and we want to start the pipeline after Code Build is done. We can see green checkmark in bitbucket when this is done. Is it possible to somehow use it for starting pipeline?

Thank you


Answers:
author: Theodora Boudale
body: Hi [@Vladim?r Jan?ich](/t5/user/viewprofilepage/user-id/4603108),

This may be possible if you use a second webhook that sends a request to a server of yours to trigger the pipeline.

* Since you see a green checkmark in Bitbucket when the AWS Code Build finishes, this means that a ++build status++ is created for that commit in Bitbucket.
* You could create a custom pipeline (that doesn't get triggered automatically) for the repo.
* You could then create a webhook in the repo with trigger Build status created that sends a request to your server.
  * <https://support.atlassian.com/bitbucket-cloud/docs/event-payloads/#Build-status-created>
* The script in your server could check the URL of the system that produced this status;  
  if it's a status created from AWS Code Build, then use our API to trigger the custom Pipelines build:
  * <https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pipelines/>

The last check would be important, as a pipelines build will eventually also create a new build status which will trigger the webhook, and in this case you wouldn't want to trigger yet another pipelines build. Otherwise, you would end up with an infinite loop of new pipelines builds.

Kind regards,  
Theodora


Tags: bitbucket-pipelines
Bitbucket Rest API error "Something went wrong" when requesting repository permissions
Asked by dat_billyfi:

Executing:

```
curl -s --user {user}:{app password}? "https://api.bitbucket.org/2.0/workspaces/${org}/permissions/repositories?pagelen=50&page=1"
```

Yields:

```
{"type": "error", "error": {"message": "Something went wrong", "id": "828ca9be093049179a71259182a906f5"}}
```

How can I continue to query repo permissions for the org?


Answers:
author: Jade_Cimafranca
body: Hi there, what was the resolution to this issue?


author: Caroline R
body: Hi, [@dat_billyfi](/t5/user/viewprofilepage/user-id/3794913)!

Thank you for reaching out to Atlassian Community!

I checked the code you received and confirmed it means "RequestTimeoutError". So, in order to further investigate this issue, we would need to review this workspace.

I saw that you created a ticket with our support related to the same question, so to avoid any possible misunderstandings or miscommunication that may arise from discussing the same matter on two different platforms, let's focus on the ticket instead.

Once the ticket is resolved, feel free to share the resolution here to help other community members that may have the same issue.

Kind regards,  
Caroline


Tags: api

bitbucket-cloud

cloud
Adding a subtree: Invalid path errors
Asked by kayy11:

I just tried to add a github hosted repository as a subtree to my current project. I get an error for each file like:

*From <https://github.com/kayy/BundleVersionChecker>*   
*\* branch master -\> FETCH_HEAD*   
*error: Invalid path '/Users/kay/Development/git/MyProject/Assets/Editor/BundleVersionChecker/.gitignore'*

The URL is reported as Git repository, there is only the master branch as I just have started and the local relative path points to a non-existing directory name immediately under an existing directory.

I use the embedded git version of SourceTree 1.9.0 reported as 1.8.4.2. Confusingly when I enter *git subtree* I get:

*git: 'subtree' is not a git command. See 'git --help'.*

I am new to subtrees but used this project as a submodule before. What I am doing wrong here?

Thanks


Answers:
author: KieranA
body: Hey Kayy,

Could you paste the entire output you're experiencing from the start? Perhaps put it in a pastebin for easier reading.

As for the latter problem you're experiencing, subtree is an extension. The command line Git you're using is actually different from the one SourceTree uses (if using embedded). The SourceTree documentation tells you all about this, actually, and provides a link with a guide to getting it working here: [](http://engineeredweb.com/blog/how-to-install-git-subtree/)<http://engineeredweb.com/blog/how-to-install-git-subtree/>

Hopefully the latter part helps, let me know about the former point.

Cheers

comments: author: kayy11
body: I tried it again after committing the next changes and suddenly it worked. I didn't change anything else - well this is what all the guys saying ;) Anyway, thanks a lot for shedding some light on the 2nd problem.


author: kayy11
body: My previous comment was wrong in that I accidentally created a submodule (which worked fine).

Now I tried to create a subtree again for another sub-project. At first I ran into the same problems but finally found the solution: The 'Add Subtree' dialog lets you select a directory and uses that as the **full path**. Editing it to be a relative path as stated in the label fixes the problem.

Maybe a future version of SourceTree can handle this automatically.


Tags: subtree
Encoding error in default diff view
Asked by mmjurov:

Hi there!

When I'm try to watch difference in my one file - it shows cyrillic symbols (encoding windows-1251) wrong. But when I select all files - diff viewer show symbols normally

![](http://i56.fastpic.ru/big/2014/0430/07/faec8a7f6f5c244762a03042798f4207.png)


Answers:
author: Seth
body: That's a wierd one.

I would file a bug report at [jira.atlassian.com](http://jira.atlassian.com). This answers site is mostly community members with no ability to modify the application.

comments: author: Seth
body: Also, if/when you post a bug report, answer this question with a link so other users with the same problem can vote it up.


author: mmjurov
body: ok, thnx. Found first link in google by 'support atlassian' on this QA
why change file status view in 1.9.0?
Asked by Bowie Xu:

I am Mac user and I love sourcetree ( I still think it is the best git GUI tool), but I realy hate new "File status view" layout in 1.9.0. First, files are no organized files into tree hierarchy which makes review and select files very hard when there are a lot of files. Second, there is no "Files staged in the index" windows where I can know my files status and recheck my files before commit. Is there any way that I can bring old layout back in 1.9.0? Otherwise I will stay on 1.8.1 and uncheck autoupdate.

Thanks

Bowie


Answers:
author: Seth
body: Go ahead and pitch in here:

<https://answers.atlassian.com/questions/289308/how-do-i-get-the-file-tree-back>


Tags: layout
Are there any plans for the built-in diff/merge tool in SourceTree?
Asked by yay:

I would personally find this very valuable, and I'm sure many would welcome this as well.

You already show the diffs, which makes me believe you already have the framework to build this upon, so "how hard can it be"?


Answers:
author: yay
body: I sure did.


author: Seth
body: Did you vote for that issue?


author: yay
body: Well, there that [](https://jira.atlassian.com/browse/SRCTREEWIN-1296%20)<https://jira.atlassian.com/browse/SRCTREEWIN-1296>for one, marked as minor.

It is by no means critical, but in terms of what new feature will make the most difference at this point when SourceTree is a mature product all around, the internal diff/merge/conflict resolution tool immediately comes to mind.

E.g. as much as I appreciate the latest UI tweaks in the update that just came out, this one would make a bigger impact.


author: Timothy
body: Same here. Have you looked in jira.atlassian.com?
Up-to-date version on AppStore
Asked by ondruska:

Is there going to be any more up-to-date version in Mac AppStore?


Answers:
author: KieranA
body: Hi Peter,

No, we will no longer publish to the Mac App Store. SourceTree is a *developer* tool, therefore it must do many things which don't adhere to MAS rules. It did these same things for a long time, even before the rules came into place. Apple allowed us to continue publishing for a while despite SourceTree unavoidably not being able to adhere to the guidelines.

SourceTree is perfectly safe to use and we are very strict on what the app can and can't do for your safety and security.

Hope that helps

comments: author: ondruska
body: Thanks, makes sense... I will use downloaded version and whitelist for Gatekeeper if needed.
Showing heading of the section following the hunk range in internal diff viewer
Asked by G S:

Hello,

Is the custom action required to achieve this output in the internal diff viewer?

Can't quite get the internal diff viewer to show the (optional) heading of the section that shows function that the hunk is part of, following the hunk range.

Is this showing of the function that the hunk is part of, even possible with current version of Sourcetree, 1.5.2.0 ?

Thanks much.


Answers:
author: G S
body: Yes, showing the method signature like it's shown in the "git diff" output.

Okay, so perhaps SourceTree isn't just using git diff under the hood.


author: Seth
body: It sounds like George wants SourceTree to parse the code being displayed in the diff so that method signatures would be included in the context. For example, a hunk would look like:

...  
function MyFunction() {  
...  
//precontext line 3   
//precontext line 2  
//precontext line 1  
/\*  
diffed lines  
\*/   
//postcontext line 1  
//postcontext line 2  
//postcontext line 3  
...

I expect most people would understand that the proposed feature is far too complex to implement reliably, especially in languages that allow nested functions. However, if you were able to implement this for even some languages, it would be incredibly helpful/cool.


author: KieranA
body: Hi George,

Could you re-phrase your original question. I'm not understanding what you're getting at.

Cheers.

comments: author: G S
body: Hello, in the SourceTree in Log/History view, right side is a diff pane.

In a given diff output, one sees the following as an example:

```
Hunk 1 : Lines 3-15 (previously 3-14)...... dif output...
```

That's good and all, but how do i show the diff heading that looks like following with the heading of the diff section that shows the function that the diff is part of ?

```
index b1d597c..1097bf4 100644--- a/src/foo.c+++ b/src/foo.c@@ -1809,6 +1809,7 @@ blah42_routine(char** argv,...... dif output...
```


author: G S
body: Bump. Did the above info help to clarify the original question? Thanks.


author: Seth
body: It did for me, I've never noticed that feature of git diff before, but it's pretty awesome.

Unfortunately, I don't think any existing options (including custom actions) are going to achieve what you want. File a feature request on [jira.atlassian.com](http://jira.atlassian.com), then post a link here so I (and anyone else who is interested) can vote for it.


author: KieranA
body: Hey George. We parse out the diff in order to generate the diff view. We don't expose any of these options, you'd have to do a Git call to get them :)


author: G S
body: Bump. Help... :(


Tags: diff

hunk
BitBucket and Sourcetree: How to set up multiple users on same system
Asked by PeterM:

I have several test systems where multiple users may login and pull latest tests and run them, as well as make changes and push back to the repository. We use Bitbucket and Sourcetree with Git. We are using SSH and not Mercurial.

For example, I want to be able to have UserA log into the system, and pull the latests tests, and also change tests and push them back. UserB then logs in later and does the same thing. But, all against a single repository on that system(i.e. when either user pulls, it goes to C:\\Tests).

What is required for this scenario? Can the same instance of Git be used, or do they need their own? Each user needs their own SSH key? Can they use the same instance of Sourcetree, but with different logins?

Thanks


Answers:
author: Seth
body: I believe what you are talking about should be doable, but all your obstacles are going to be in the OS, not SourceTree.

For starters, you'll need to make sure all potential users have read/write access to the repository directory and all subdirectories (including the hidden .git).

You'll also probably need to make sure the private key is accessible to all of the users. If you'd rather have per-user private keys, make sure to use an ssh agent (Pageant) that is configured to automatically start and load a key per user. You can use [these instructions](http://blog.shvetsov.com/2010/03/making-pageant-automatically-load-keys.html) to make the shortcut, and put each user's shortcut in their personal startup folder. You also obviously need to register all the public keys into BitBucket.


Tags: windows
How to add files to a branch?
Asked by carlos tobin:

How do I get all the files of the 2nd repo into a branch of 1st repo?   

I created a branch named "New_css_theme" in the 1st repo (see 1st image). However, the new HTML/CSS theme is located in the 2nd repo (see 2nd image).   

<br />

<br />

<br />

![](../../upfiles/Screenshot_2014-04-28_09.18.25.png)

![](../../upfiles/Screenshot_2014-04-28_09.19.51.png)


Answers:
author: carlos tobin
body: The first repo is the only one on a server (rails). That HTML/CSS was my first attempt at a HTML project. It's Ok for an internal prototype, but it's not good enough for public consumption. So now I want to switch out the html/css and replace it with a theme. However, I don't know what the proper workflow is to do this.


author: Seth
body: Why do you have two separate repos? Are these different projects? Or do you have two different servers (remotes) for the same project?


Tags: branch

git