youngmon/atlassian-qna huggingface dataset:
Customize Bamboo email notification
Asked by neethy ashok:

I have done the below changes for modifying the email subject of the notification

1. Locate the default notification templates in your Bamboo distribution in **`WEB-INF/classes/notification-templates/`**
2. Copy the notification template that you wish to modify into the**`templates/notification-templates`** folder of your[Bamboo home directory](https://confluence.atlassian.com/display/BAMBOO/Locating+important+directories+and+files), e.g.`HOME/templates/notification-templates`

Still the Email contents are not edited.Is there any other configurations to be done?


Answers:
author: Phil Rittenhouse
body: For me the issue was that I assume the Bamboo HOME path was the same as the install path. I found the correct path under Admin-\>Overview-\>System settings. Also the notification-templates subdirectory did not exist - I had to create it

Also be sure that you are modifying the correct template. I found that the template that has the subject for a build is ChainCompletedEmailSubject.ftl not BuildCompletedEmailSubject.ftl


author: Anu Vijayan
body: Even the same happened for me.restarting server also didn't did anything special.And i couldn't find the particular log entry also.Any help will be appreciated.


author: RambanamP
body: did you gone through the following doc?

[](https://confluence.atlassian.com/display/BAMBOO/Modifying+notification+templates)<https://confluence.atlassian.com/display/BAMBOO/Modifying+notification+templates>

once the changes has done then need to restart the server and still not working then check the logs

same question here

[](/questions/79941/bamboo-email-customization)<https://answers.atlassian.com/questions/79941/bamboo-email-customization>


author: neethy ashok
body: Please let me know if any of have customized the notification
How to turn off deployment concurrency control when using multiple runners to build dev branches
Asked by Chris Bauer:

I want to turn off deployment concurrency control (the pipeline pause) for our developer branches.
> I am a company
>
> I want my developer's individual commits to build simultaneously on multiple self-hosted runners
>
> So that there is no resource contention when I employ more than one developer


Answers:
author: Ankit Gupta
body: Hi Christopher,

If your developers are working on individual developer branches the pipelines would continue to build separately/concurrently.

However, if they are committing to a common \`development\` branch, then the concurrent builds are paused. The support page doesn't mentioned any setting to disable this. This is probably done to prevent multiple deployments to the same environment, so it's more of a safeguard against race conditions.

comments: author: Chris Bauer
body: We were using deployment: Development in order to substitute environment variables so the build would correctly substitute these values in artifacts. Doing some yaml-foo and removing the deployment from the build step and adding it to the step for develop only allowed us to do multiple simultaneous builds. Thank you.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
I Cannot Create File on My Remote Bitbucket Repo
Asked by ?zge K_:

On Bitbucket, I'd like to create a file on my remote repository. I searched on Google, it seems it can be performed but I cannot find that button on my repository. Add file button is missing. I have all the administration functions but could not get the main problem. The version of Bitbucket is v7.4.

Could you please help me?![Capture.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/183027iCDC60318CD8FA7B0/image-size/large?v=v2&px=999 "Capture.JPG")


Answers:
author: Christian Glockner
body: Hi ?zge,

The functionality you're looking for is not available in Bitbucket Server but only in bitbucket.org.

Cheers,

Christian

Premier Support Engineer

Atlassian


Tags: bitbucket-server

server
Is it possible to change a repository avatar using the Bitbucket Cloud REST API?
Asked by Nout Hoozemans:

Hello humans,

I have a million repositories, and I would like to make stepping through them a bit easier by colour-coding them using their avatars. Since it's an absolute \*\*\*\* to do this by hand, I wrote a python script that GETs the repository JSON, overrides //links/avatar/href and then PUTs it back.

This does not seem to do anything, however: the response is an HTTP 200 that contains the JSON with the original link, not the override.

Is it even possible to change the avatar using the REST API? Documentation has very little to say about this...

Thanks!


Answers:
author: seanaty
body: This isn't possible to do via the API, unfortunately.

comments: author: Nout Hoozemans
body: Thanks for the reply!

Do you know if this will be possible at some point, or if there's some other method of automating changing avatars for repositories?


author: Sander Mol
body: [@seanaty](/t5/user/viewprofilepage/user-id/1301071)Is it possible to create a feature request on <https://jira.atlassian.com> (BCLOUD) for this?

A rest API which is the backbone for an as-code definition can help in any recovery and for central repository management.


Tags: avatar

bitbucket-cloud

cloud

repository

rest-api
Want to pull on multiple server using hook
Asked by tanviiroid:

After commit changes on local environment, it should be auto pull on multiple server


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@tanviiroid](/t5/user/viewprofilepage/user-id/4754780) ,

welcome to the Atlassian Community!

It depends form your bitbucket instance type.

For Server : you can't do that using buitin features.

For DataCenter, you can mirror repository through the following feature : <https://confluence.atlassian.com/bitbucketserver/smart-mirroring-776640046.html>

For Cloud (Premium) : <https://support.atlassian.com/bitbucket-cloud/docs/use-smart-mirroring-for-bitbucket-cloud/>

Hope this helps,

Fabio
Bitbucket pipelines - Condition: Run or skip step based on build output
Asked by Robin van Tienhoven:

We have a monorepo that contains about 5 projects. All these projects are build based on the git change history, so if project A is not changed, it is not build. This is al managed by [Nx monorepo](https://nx.dev/).

e want to split every deploy into its own step so that we have more control over each project's deployment.

In order to achieve this we need to change our build step so that it only executes if the dist folder contains the portal it is ment to deploy. I've read about the [condition configuration](https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/#condition), but i cannot find anything about checking build artifacts in a condition instead of the git commit that triggerd the change. So is there a way to skip (or directly pass) a step if the portal is not in the build artifact?

**Build step**

```
- step: &build
    name: Build
    caches:
      - node
    script:
      - git fetch origin master:refs/remotes/master
      - npm run build
    artifacts:
      - dist/**
```

**Example Dist artifact**

```
.
??? dist/
? ??? login-portal
? ??? Portal-Y
```

<br />

**Our deploy step**

```
- step: &deployLoginPortal
    image: amazon/aws-cli:2.4.17
    deployment: test
    trigger: manual
    script:
      - aws s3 sync $LOGIN_OUTPUT_PATH s3://$LOGIN_S3_BUCKET/ --acl public-read # Sync the portal
```

```
# $LOGIN_OUTPUT_PATH = 'dist/login-portal'
```

**Example condition** (does not work)

```
condition:
   changesets:
      includePaths:
        - $LOGIN_OUTPUT_PATH/** # only run if dist contains changes in $LOGIN_BUILD_PATH
```

How can I check the build artifact if a specific path exists so that I can execute or skip the build step?


Answers:
author: dziugas_mikalkenas
body: as theres no out of the box solution from atlassian, what i did was something like:

```
- step:
? ? ?script:
       - | 
         if something exists; then
? ? ? ?    echo true > condition.txt
         fi
? ? ?artifacts:
       - condition.txt
```

```
- step:
    script:
      - |
        if $(cat condition.txt); then
          exit 0
        fi
      - do stuff
```

i know this is bullshit as it still has to go through \`build setup\` on each step which check for this condition, which takes time... but its still better than nothing


author: Norbert C
body: Hi [@Robin van Tienhoven](/t5/user/viewprofilepage/user-id/4754394)

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.

I would like to inform you that the functionality what you're looking for is unfortunately not available. The conditionsets configuration ONLY checks the content of the commit.

For example if you commit a change to your repository and the change is located in the "includePaths" location, a build will be triggered, but unfortunately we yet to have the feature which checks for artifacts.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
How should I use an app password to log in to Bitbucket?
Asked by susanpyne1:

I have created an app password in Bitbucket but I don't know how to use it. I have looked at a lot of Atlassian documentation about this but I don't understand the jargon. Please could someone explain in plain English how I should log in to Bitbucket in future?  
I use Ubuntu 20.04 and also MacOS.


Answers:
author: Alexis Robert
body: Hi [@susanpyne1](/t5/user/viewprofilepage/user-id/2369609) ,

Bitbucket app password should be used when you're connecting your Git client to your repository, or when you're using Git commands in the terminal.

For logging to the website to browse the repo, you should use your standard Atlassian account password.

Let me know if this helps,

--Alexis

comments: author: susanpyne1
body: Thank you - I had misunderstood. Could you give an example of how to use an app password in a terminal command so I can see the format?


author: Alexis Robert
body: For example, to do a "git clone" command :

```
git clone https://alexis@bitbucket.org/mycompany/repo.git
```

This would trigger a prompt for your password : this is where you can paste your app password.
Latest Docker image that works with bitbucket server
Asked by Tim Skov Jacobsen:

In the company I work for, we are still using the self-hosted Bitbucket server in the near future, even though it is end of service as of this month.

We are running Bitbucket in docker and want to update it to the latest docker image. However, we have not been able to identify which docker image is the latest that works with the "old" bitbucket server.

If anyone could point to the latest docker image it would be much appreciated.


Answers:
author: Alexis Robert
body: Hi [@Tim Skov Jacobsen](/t5/user/viewprofilepage/user-id/4754362) ,

you can find the latest official versions here : <https://hub.docker.com/r/atlassian/bitbucket-server>

Then you'll need to check which version is suitable for you : there's the LTS one (7.17) or the last build (7.19).

All of these versions are compatible with Bitbucket Server.

Let me know if this helps,

--Alexis

comments: author: Tim Skov Jacobsen
body: Okay, I will try with the image 7.19 (ca9679b8f94a).

Thanks Alexis.


Tags: bitbucket-server

docker

server
Bitbucket Server REST API Limit
Asked by felis paul:

I wanted to know if Bitbucket Server REST API has any rate limit like that of Bitbucket Cloud which has REST API limit of 60 requests per hour.

Thanks,

Felis Paul


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@felis paul](/t5/user/viewprofilepage/user-id/4747739) ,

for Bitbucket Cloud, REST API limit is 60 just for anonymous caller. For logged in user limits are provided in the following page <https://support.atlassian.com/bitbucket-cloud/docs/api-request-limits/>

for Bitbucket Server/Data Center there're no limits.

Hope this helps,

Fabio

comments: author: felis paul
body: Thanks Fabio for your quick response. Really appreciate it.


author: Fabio Racobaldo _Herzum_
body: You're welcome [@felis paul](/t5/user/viewprofilepage/user-id/4747739) . Please mark my answer as accepted


Tags: bitbucket-server
Conditional Steps Behavior
Asked by xicond:

I'm wandering the conditional steps behavior,   
when a commit failed on a pipeline, does another next commit will true on the change-set

Let say:

Change-set detect on File A

* commit 1: change File A, but Fail
* commit 2: change File B to fix it

Does commit 2 pipeline detected as true in conditional change-set ?


Answers:
author: Norbert C
body: Hi [@xicond](/t5/user/viewprofilepage/user-id/16360)

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!

Basically how Changesets works is that Changesets allows steps to be executed only when a condition or rule is satisfied. Currently, the only condition supported is changesets. Use changesets to execute a step only if one of the modified files matches the expression in includePaths. Changesets condition only checks whether if a file has been changed with a commit or not.

Please let me know if my explanation was clear, we're here to help.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support

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

Thanks for the reply,

I already know the Changesets \> includePaths  
But my query is, if there're 2 or more commits, and I did pull-requests hook in pipelines, could it be process all commits diff in the pull requests for the Changesets, instead of just each commit, because I could be missed/fail on previous commit, then the step need to retry  

Regards,

\~xicond


author: Norbert C
body: Hi [@xicond](/t5/user/viewprofilepage/user-id/16360)

Thank you for your reply and for your explanation.

In a pull-request pipeline, all commits are taken into account, and if you provide an includePath list of patterns, a step will be executed when at least one commit change matches one of the conditions

Please see: <https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/#condition>

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

condition

step
Change or delete the admin of bitbucket workspace
Asked by Winston Wu:

Hi,

The staff who manage the bitbucket from day 1 left the company.

Deleting this user from "User on Plan" is not successful. I guess it is because this user is the "admin of this workspace". So what should be done to delete or change the "admin of this workspace" to another user and remove this user from "Users on Plan" ?

Cheers,

Winston


Answers:
author: Pramodh M
body: [@Winston Wu](/t5/user/viewprofilepage/user-id/4753837)

Welcome to the community ?

Do you have only one admin for the workspace?

I would recommend you raise a Atlassian support ticket and get this resolved

If you are the admin, the other user who left the company can be removed from groups which is assigned with admin permission for the workspace

Thanks

comments: author: Winston Wu
body: I inherit it. I am the admin and can add/remove users for group, this staff now does not belong to any group. I will check and raise the support ticket if required.

Thank you very much.


Tags: bitbucket-cloud

cloud
How to integrate Bitbucket workspace with already existing Jira instance?
Asked by Wojtek Pilwinski:

Hello,

my project manager has it's own Atlassian account and with Jira subscription.

And I want make him able to track my Bitbucket projects with his Jira instance.

But in my Bitbucket Workspace settings I have only option to "Try Jira Cloud Now", and then it takes me to Jira website where I should create my Jira account.

But I want go integrate with Jira which already exists. Is it possible? How to do that?

For any help great thanks in advance.

Best Regards


Answers:
author: Vishwas
body: Hey [@Wojtek Pilwinski](/t5/user/viewprofilepage/user-id/2426165)

YES it is possible.

In Jira we will have "DVCS Accounts" from there we have to connect to bitbucket workspace.

Check this link <https://support.atlassian.com/jira-cloud-administration/docs/connect-jira-cloud-to-bitbucket/>

Regards,

Vishwas

comments: author: Wojtek Pilwinski
body: Oh man, great thanks for your answer.

It helped me. But I spent about 3 hours to figure it out.

Your advice with DVCS Accounts didn't help me immediately. I made a lot of tries with no success. But finally I found out that at first my manager need to invite me to his Jira, and then I need to grant access to his Jira from my Bitbucket account.

But now my manager still complain that I can see all of his Jira projects and I can even edit them. He have at the moment free version of Jira so he has no option to inviting me to single project. He need to invite me to his Jira globally.

But we wonder if he could change my permissions, at least to scenario where I can't edit all his Jira projects but only selected?


author: Wojtek Pilwinski
body: OK, so it looks like for free Jira subscription there is no option to edit permission for users.


author: Vishwas
body: Hey [@Wojtek Pilwinski](/t5/user/viewprofilepage/user-id/2426165)

yes that's correct


Tags: bitbucket-cloud

cloud

jira
I'm receiving no emails and I cant login / sign up with my company email
Asked by Tom?s Monteiro:

I can seem to receive any emails from Atlassian and I also can't sign up or login with the created account.

I get this error in the url:

\`blockedByReason=Blocked+by+SCIM\&blockedByType=orgAdmin\`

I checked trash can and spam and nothing.

Can someone help me with this?

Thank you


Answers:
author: Vishwas
body: Hey [@Tom?s Monteiro](/t5/user/viewprofilepage/user-id/4752663)

Welcome to Atlassian Community !!

The error looks like Bitbucket is enabled by SAML SSO hence this issue. SSO is blocking you to login i suppose. Check with Admin to get this sorted.

Regards,

Vishwas

comments: author: Theodora Boudale
body: Hi [@Tom?s Monteiro](/t5/user/viewprofilepage/user-id/4752663),

Vishwas is right, based on the error message it looks that your company is using SAML SSO for log in to Atlassian Cloud products, and your account may not be active in your company's Atlassian Organization in <https://admin.atlassian.com/>.

You will first need to speak with the admin who manages that in your company and ask them to make sure your account is activated. When this is resolved, if you still have issues with receiving Atlassian emails, you can raise a ticket with the support team and ask them to check if your email address is in a suppression list.

If needed, you can create a ticket via <https://support.atlassian.com/contact/>, in "What can we help you with" select "Technical issues and bugs" and then Bitbucket Cloud as product. Please make sure to share the email you have issues with when you fill in the details.

Kind regards,  
Theodora


Tags: bitbucket-cloud
Branches not visible and timeouts
Asked by Ashley Graham:

We manage our Bitbucket responsories code with Visual Studio (2019), and then commit changes etc with GitKraken.

We continually have 3 issues:

1. New branches and branches currently being worked (not ye checked out) are sometimes not visible. This occurs in GitKraken (even after a fetch) AND also in Visual Studio under Git manage branches.

2. Pushing any changes via GitKraken often times out. There seems to be only a few hours per day with no issues. All other times it may take a few attempts to push, or sometimes continues to time out and then we just have to give up and try the next day.

3. Fetching the latest from GitKraken often does not pull all changes

I know both VS and GitKraken are third-party applications and Bitbucket support have told me to raise point 1 with them, however, I find it strange how both applications have the same issue.

I understand point 2/3 are probably just a GitKraken issue. I do have a stable and fast fiber internet connection (Wifi).

Has anyone else run into any of these issues?


Answers:
author: Ben
body: Hey Ashley,

Whilst support for **GitKraken/Visual Studio** is unfortunately outside of our support scope, I thought I'd just reach out to you here on **point #1** as I have noticed that you have yet to receive a response from our community.

**Generally speaking** - you are able to check if the issue of missing branches exists at the Bitbucket Cloud side vs the **GitKraken/Visual Studio** side by running the **GIT branch** command locally in a **terminal window** separate from these applications with the -r (remote) switch.   
By running this command, you can see a list of the remote branches being reported by **Bitbucket Clou** d and compare this to the branches you see within **GitKraken/Visua** **l Studio**:

```
git branch -r
```

If the branch is **not visible** on this list, this may indicate that the changes have not yet been pushed to Bitbucket Cloud, you can further verify this by checking the UI to confirm if the branch is present or not.  
If the branch **is visible** on this list, this may indicate the opposite - **GitKraken/Visual Studio** has not yet pulled the changes from the remote **Bitbucket Cloud** repository.

Hopefully, you are able to find answers to your subsequent questions from our community. If you are unable to I would suggest reaching out to either **GitKraken support** or **Visual Studio support** for further assistance:  
<https://www.gitkraken.com/git-client/support>  
<https://visualstudio.microsoft.com/vs/support/>

I hope this information helps to steer you in the right direction.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud

gitkraken

visual-studio
How to move existing binaries files to git LFS
Asked by vedlatha111:

I need to move existing huge/binaries files to git LFS.

please let us know what are the options available.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@vedlatha111](/t5/user/viewprofilepage/user-id/2133990) ,

please follow this guide <https://confluence.atlassian.com/bitbucketserverkb/moving-git-large-files-to-git-lfs-in-bitbucket-server-1072486368.html>

Hope this helps,

Fabio


Tags: bitbucket-server

server
How do I ignore fail so that it can proceed to next step for using pipe. (Bitbucket Pipeline)
Asked by Mohamad Bathulah Bin Mohamad Mahir:

How do I ignore the error so that it can proceed to next step.

Why I want to ignore :

- This pipeline is for development environment.

- There is few of other issues need to be fix first, so some code need to be deployed first without waiting for security fix.

- The security fix is scheduled to fix at agreed time ( so there is few of other code need to be deployed first) .

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

My code :

```
- step: 
    name: Atlassian Security Scan
    clone:
      enabled: true
    script:
      - pipe: atlassian/git-secrets-scan:0.6.0
```


Answers:
author: Igor Stoyanov
body: [@Mohamad Bathulah Bin Mohamad Mahir](/t5/user/viewprofilepage/user-id/1249463) hi. Thanks for your question.  
It's a bad practice to ignore security checks.  
If you don't need to run step Atlassian Security Scan then you can exclude it from your configuration or make this step trigger manual.  
Also you can create two parallel steps NPM Audit and Compress build and then trigger step Atlassian Security Scan   

Regards, Igor.

comments: author: Mohamad Bathulah Bin Mohamad Mahir
body: The purpose of it actually not to ignore, but to fix it at a scheduled time, and during that there is few other code need to be deployed so yeah, instead of failing the process, how about give warning.


author: Igor Stoyanov
body: [@Mohamad Bathulah Bin Mohamad Mahir](/t5/user/viewprofilepage/user-id/1249463) hi.   
Maybe this can help you: <https://stackoverflow.com/questions/63204212/how-to-prevent-a-step-failing-in-bitbucket-pipelines>  

Regards, Igor.


author: Mohamad Bathulah Bin Mohamad Mahir
body: Thank you for your help


Tags: atl-gruland

bitbucket-cloud

bitbucket-pipelines

cloud

git

secret

security