youngmon/atlassian-qna huggingface dataset:
no longer receiving email notifications
Asked by katie:

I stopped receiving emailed notifications when I am mentioned on a card on approximately Oct 12, 2023. I have checked my settings for email notifications and they are set to Instantly for all of the options. I do not see any notifications going to Junk Mail, so believe the problem is at the Atlassian end. Is anyone able to assist?

....a little later...

After I posted the question above I received the Mail Delivery Subsystem error message below. Could this be part of the same problem?

|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Message not delivered {#toc-hId--410508814} -------------------------------------------                                                                                                                                               |
| Your message couldn't be delivered to **[community-do-not-reply@em.atlassian.com](mailto:community-do-not-reply@em.atlassian.com)** because the remote server is misconfigured. See the technical details below for more information. |

|--------------------------------------------------------------------|
| The response from the remote server was: 550 5.7.1 relaying denied |


Answers:
author: Dreamsuite Mike
body: Hi [@katie](/t5/user/viewprofilepage/user-id/5376719)

This is an odd one and I recommend you contacting Atlassian directly using the link below:

<https://trello.com/contact#/>
Building a Query with a custom checkbox field
Asked by Scott Nelson:

I am trying to query a list of issues that don't have "Design Signoff" checked?  

![2023-11-30_10-45-11.png](https://community.atlassian.com/t5/image/serverpage/image-id/294707i23A9F38ED6E559D5/image-size/large?v=v2&px=999 "2023-11-30_10-45-11.png")


Answers:
author: Hannah Humbert - Simpla Workflows
body: [@Scott Nelson](/t5/user/viewprofilepage/user-id/5376658) someone might be able to help you here in the Trello community, but you'll probably have more luck over in the Jira community: <https://community.atlassian.com/t5/Jira/ct-p/jira>
Do we need to be on a specific Bamboo server version to run a remote agent on Windows 10?
Asked by Edward Duarte:

Description of issue

(Windows 10, 64 bit):

* Bamboo Remote Agent Installed
* Before PC Restart: Able to run Builds successfully with any User ID without any issues
* After PC Restart: Not able to run Builds successfully through any of the User IDs
* After PC Restart: Able to Run the Build with My User ID by configuring my User ID as Log on at Bamboo Service level through Service Manager. Not what we want. We want any user logged onto the machine


Answers:
author: Edwin Kyalangalilwa
body: Hi [@Edward Duarte](/t5/user/viewprofilepage/user-id/1478204),

It is recommended to create a local Bamboo user account that runs the service.

[Running Bamboo as a Windows service as the local user](https://confluence.atlassian.com/bamboo/running-bamboo-as-a-windows-service-as-the-local-user-416580754.html)


Tags: developer
How to link Bamboo & my JIRA repository
Asked by Haythem Benizid:

hi,

I tried to link Bamboo with JIRA repository by following a tutorial ( <https://www.youtube.com/watch?v=jqCitQ3W_RA> ) but I am stuck when creating **JIRA USER APPLICATION**. which I can not find this option in my JIRA \> user managment

idea how to do it with the last version of JIRA cloud !!

Cdt,


Answers:
author: Yogesh Mude
body: Hi [@Haythem Benizid](/t5/user/viewprofilepage/user-id/1276262)

Welcome to the community!  

I found some already accepted answers related to this, please have a look at it.

I think this functionality is available for old Jira versions.

<https://community.atlassian.com/t5/Jira-questions/How-do-I-link-user-repositories-from-jira-to-bamboo/qaq-p/107978>

[https://community.atlassian.com/t5/Bamboo-questions/Linking-Jira-user-repository-to-Bamboo-5-2/qaq-p/292014](https://community.atlassian.com/t5/Bamboo-questions/Linking-Jira-user-repository-to-Bamboo-5-2/qaq-p/292014?)


Tags: jira

jira-server

server
Profile and Target for .Net application in Bamboo
Asked by Yogesh Mude:

HI Team,

I want to know what is the profile and Target in the .net application and how to use this while building the .net application using Bamboo


Answers:
author: Gabriel Ribeiro
body: Hi Yogesh,

To build a .Net application in Bamboo you just need to have the MSBuild executable available as a capability in Bamboo Server or remote agents and the project file. Please take a look at the "[MSbuild in Bamboo](https://confluence.atlassian.com/bamboo/msbuild-289277044.html)" documentation for more details.

thanks


Tags: bamboo-administration

build
how to do automatic branch creation for very new commit.
Asked by Niharbabu:

Hi All,

Currently i have choose a create option as "When new branch in repository is created" to create a branch automatically under a plan and delete option as "After branch inactivity in repository".

My situation:

Currently say Branch B1 is created in bit bucket same get created under my plan. Due to inactivity of the branch for say day which is the value i configured for option "After branch inactivity in repository" B1 gets deleted. Say after 3 days od branch deletion under the plan in bamboo there is a commit or merge happens to B1, now i want this branch B1 to be added again under the plan.

Currently I see that B1 doesn't get added. Is there a way that i can add a branch automatically into plan if there is commit happen?


Answers:
author: Jeremy Owen
body: Hey Niharbabu,

I'm afraid not. There's an improvement request detailing the same behavior you've described which I've included below:

* [BAM-12161: Deleted plans are not remade when code is pushed to existing branch.](https://jira.atlassian.com/browse/BAM-12161)

Once this improvement request is implemented, it'll be possible. Please feel free to vote and watch it so you're notified of any updates.

There's two workarounds, which I understand are far from ideal, but are the only options within Bamboo for now:

* Override branch expiry settings and set less aggressive branch expiry thresholds specifically on plans where the branch may be left inactive for some time.
* Clean the branch deletion date from the database and manually re-create it. Steps are detailed below:
  * [BAM-16341: Bamboo doesn't recognise when a deleted branch is recreated in the remote repo](https://jira.atlassian.com/browse/BAM-16341)

Regards,

Jeremy

comments: author: Niharbabu
body: Thanks Jeremy...


Tags: branch
SCP Task fail. File was not uploaded
Asked by Nay Myo Zaw:

Hi All,

I'm start using Bamboo for testing purpose. File was not uploaded when I try to deploy with SCP Task. My scp task are as below:

Host : IP_To_Deploy

Authentication Type: Username \& Password

Remote Path : C:\\inetpub\\wwwroot\\

some logs are as below:

```
simple	06-Jun-2018 13:18:53	Creating remote directory 'wwwroot'...simple	06-Jun-2018 13:18:53	Creating remote directory 'wwwroot'...simple	06-Jun-2018 13:18:53	Uploading 'C:\Users\admin\bamboo-home\xml-data\build-dir\6520833-6651906\.vscode' to 'C\inetpub\wwwroot\test2'...error	06-Jun-2018 13:18:53	Failed to upload C\inetpub\wwwroot\test2, Remote SCP command had error: scp: 'C/inetpub/wwwroot/test2': No such file or directoryerror	06-Jun-2018 13:18:53	Copy Failed. Some files were not uploaded successfully.error	06-Jun-2018 13:18:53	'C:\Users\admin\bamboo-home\xml-data\build-dir\6520833-6651906\wwwroot\lib\bootstrap\dist\js\bootstrap.js' was not uploaded.error	06-Jun-2018 13:18:53	'C:\Users\admin\bamboo-home\xml-data\build-dir\6520833-6651906\bin\Debug\netcoreapp2.0\test.runtimeconfig.json' was not uploaded.error	06-Jun-2018 13:18:53	'C:\Users\admin\bamboo-home\xml-data\build-dir\6520833-6651906\Views\Shared\Error.cshtml' was not uploaded.
```

Could someone help me to fix it?

Thanks


Answers:
author: Anthony Yeong
body: Have the same problem. Anyone has the solution to scp into windows box?
Bamboo deletes a branch even though it is getting build.
Asked by Niharbabu:

I have a plan where branches gets created automatically as per the rule "When new branch in repository is created", and deletion as per the rule "After branch inactivity in repository".

I have given 1 day time to the deletion rule "After branch inactivity in repository".

Now my schedule trigger of all the branches happens every day at 12:00 AM.

I have observed that few of the branches are not run completely and gets deleted while they are getting build.

Say for example there is a Branch B1 which is in the list of branches and i see that gets picked up as well at 12:00AM to run the build, i received the custom mails during the building of the B1 but i don't the custom mail which comes to the stakeholders post successful/failure of the build.

I understand that because of the deletion "After branch inactivity in repository" set to 1 day bamboo is deleting the branch while B1 is getting build.

Is there a way that i can say bamboo not to delete if the branch is running but eligible for deletion?


Answers:
author: Gabriel Ribeiro
body: Hi Niharbabu,

I'm afraid not. That is one of the reasons Bamboo have the "After branch inactivity in repository" parameter in the "Delete plan branch" configuration, to give you some time to check the results before the branch is deleted.

thanks
How to get agent information of a build from bamboo rest api?
Asked by Kaushik Veluru:

Is it possible to know on which agent a build was run from bamboo REST API?


Answers:
author: Yogesh Mude
body: HI [@Kaushik Veluru](/t5/user/viewprofilepage/user-id/585135)

[Here](https://docs.atlassian.com/atlassian-bamboo/REST/6.5.0/?_ga=2.49901603.421559132.1528085977-338212943.1524643824)is the Bamboo server rest API documentation please have a look at it, Maybe it will help you to get the Agent details.

comments: author: Kaushik Veluru
body: Hi [@Yogesh Mude](/t5/user/viewprofilepage/user-id/1169678)

I did look at the documentation. When I query for a particular build result key, the response JSON doesn't have any information about the agent it ran on.   

So was wondering if there is any other to get the agent context from build result.


author: Yogesh Mude
body: HI [@Kaushik Veluru](/t5/user/viewprofilepage/user-id/585135)

Tyr to use the Agent assignment, It will provide you the list of agent for that particular Environment.


author: Kaushik Veluru
body: Thanks for your reply.   

<https://docs.atlassian.com/atlassian-bamboo/REST/6.5.0/?_ga=2.242641030.542479807.1528216545-169502281.1503517115#d2e2088>  

I have looked into the agent assignment. What is the 'executorId' here? How do I get that information?

Thanks.


author: Yogesh Mude
body: In Bamboo, the build will run through the Executables nothing but the Agent.

So please check the Executable ID and pass it, and see the result.

Ex: for java project build using Maven we need to add the Task like Maven build in this case we need to add/provide the maven path ie nothing but the Executable.


author: Kaushik Veluru
body: [https://bamboo.air.com/rest/api/latest/agent/assignment?executorType=AGENT\&executorId=280920167](https://bamboo.air.com/rest/api/latest/agent/assignment?executorType=AGENT&executorId=280920167)  

Providing agent ID as executorId returns an empty list '**\[\]** '. What does that mean?   

Does this API work only if the agent is dedicated to a plan?


author: Nico Schuurmans
body: I have a similar question. Suppose I have a plan with multiple stages and jobs, and for each job I want to know the agent that was used. When I use the API I seem to get all information, except the agent. I need to know in order to analyze queue wait time and agent resource utilization.


author: Valerii
body: Hi [@Nico Schuurmans](/t5/user/viewprofilepage/user-id/3744991) ,

Could you please clarify, whether you found a solution of your question?


author: Nico Schuurmans
body: HI [@Valerii](/t5/user/viewprofilepage/user-id/4984397) unfortunately this information is still not provided by the API doing a "rest/api/latest/build#" - get all information except the agent it runs on. Dont understand as bamboo provides this info via the gui. (using bamboo 8.2.4)


author: Nicolas Mertens
body: does not show up in bamboo **8.1.6 build 80114** either
What is 'id' in bamboo build result response json
Asked by Kaushik Veluru:

I did a get request to get the build result. In the response json, there is 'id'. What's that value for?

GET request: <https://bamboo.air.com/rest/api/latest/result/ACP-CIT7506.json?expand=results>

I have marked the id in Bold.

Response:

```
"master": {
 "shortName": "Integration Tests",
 "shortKey": "CIT",
 "type": "chain",
 "enabled": true,
 "link": {
 "href": "https://bamboo.air.com/rest/api/latest/plan/ACP-CIT",
 "rel": "self"
 },
 "key": "ACP-CIT",
 "name": "Integration Tests",
 "planKey": {
 "key": "ACP-CIT"
 }
 },
 "buildResultKey": "ACP-CIT7506-1",
 "lifeCycleState": "Finished",
 "id": 493805106,
 "key": "ACP-CIT7506-1",
 "planResultKey": {
 "key": "ACP-CIT7506-1",
 "entityKey": {
 "key": "ACP-CIT7506"
 },
 "resultNumber": 1
 },
 "state": "Failed",
 "buildState": "Failed",
 "number": 1,
 "buildNumber": 1
 }
```


Answers:
author: Jeremy Owen
body: It's the *buildresultsummary_id* (PK) of the build result row from the table *BUILDRESULTSUMMARY* in the Bamboo database.

It's really only useful for those who want to explore the underlying data since other REST API operations take the build result key as opposed to ID.

E.g.

```
SELECT * FROM BUILDRESULTSUMMARY WHERE BUILDRESULTSUMMARY_ID = '493805106';
```

Hope this helps. :)
Building Test box from Production
Asked by Tech Support:

Hello all,

I'm looking to build a test system, based off the current setup / data of our production server. The purpose of this is we are upgrading from 5.12.3.1 to 6.3.4. We've never had a test system to test the upgrade. So would like to start there.

Our data is on an MSSQL db. I've taken a copy of this DB.

I imagined doing this by doing the following;

Build server and install pre-reqs.  
Install Bamboo for Windows, install as service and start service  
Go to the website and go through the setup wizard.  
Connect application to pre-populated database  
job done.

Reading through the guides, it seems you can't just install the application on a new server and connect an existing database, correct me if i'm wrong? Seems I may have to do some copy of the production bamboo home directory, ie export this to a zip file then import.

Is this right? I can't just copy the SQL data and point the new instance on the new test box to this?

Thanks in advance

tldr; can I use a pre-populated bamboo MSSQL database for a newly installed Bamboo instance?


Answers:
author: Tech Support
body: Just incase anyones wondering, you can't do this. When in the wizard, if you point the connection to the existing populated database you get the following error, 'Database contains existing data.'  

Seems you have to export to a zip file, then import later in the wizard.  

<br />
Linking bamboo to Cloud Jira if bamboo doesn't have public IP
Asked by Ivan Dimitrov:

Hi,

Is it possible to generate the connection manually? All is good, but when Jira tries to automatically create reciprocal link on our Bamboo servers it fails (of course) because it can't reach a server that has only private IP.

Is there any way around that, like manually creating those links or something?

Thanks!


Answers:
author: Gabriel Ribeiro
body: Hi Ivan,

I'm afraid not, the application links needs a real-time network communication to work so, it's a requirement to have Bamboo available in a public IP.

thanks

comments: author: Ivan Dimitrov
body: Hi Gabriel,

Thanks for the answer! That's unfortunate, but it makes sense.

I really don't want to open my bamboo to the world, but anyway, I'll figure something

out.

Thanks again!


author: Gabriel Ribeiro
body: Hi Ivan,

I understand your concerns. What you can do is to open Bamboo only to Atlassian, whitelisting in you proxy the Cloud IPs that can be found in the documentation below.

* [Atlassian Cloud IP ranges and domains](https://confluence.atlassian.com/cloud/atlassian-cloud-ip-ranges-and-domains-744721662.html)

thanks


Tags: cloud

jira

jira-cloud
Bamboo global docker container configuration
Asked by sta-szek:

Hi, is there any way to configure global template for docker configuration, that will be used in jobs?

Right now I have to repeat myself in each configuration like:

![Screenshot from 2018-06-05 12-52-08.png](/t5/image/serverpage/image-id/23795i203CC5ACE9A1EA9E/image-size/large?v=v2&px=999 "Screenshot from 2018-06-05 12-52-08.png")And imagine, when smth changes I spend 1d on clicking in bamboo...

I would expect some configuration in admin or at least at plan / project level, where I can configure docker container and here i just select predefined configurations.

BTW default mounting: ${bamboo.working.directory} does not work correctly -- bamboo throws errors that it cannot load git cached repository from directory which is one level above ${bamboo.working.directory}


Answers:
author: Alexey Chystoprudov
body: There're no shared configurations for Docker settings. Can you give a try for Bamboo Specs, it was designed exactly for repetitive actions simplification?

comments: author: sta-szek
body: Sorry I cannot, bamboo specs requires bitbucket... :(


Tags: docker
Can't create new account after migrating bamboo
Asked by Joshua_Litven:

Hello,

We are migrating our bamboo server to a new machine and after doing so cannot sign in. Creating a new account fails because the captcha image fails to load on multiple browsers.

Thanks for the help.


Answers:
author: Gabriel Ribeiro
body: Hi Joshua,

Were you using an external user repository like crowd or LDAP on the previous server? If yes, you need to make sure the new server also has access to this user repository.

Moreover, you can use the below documentation to recover access to the local admin account:

* [Bamboo lost connection to the external user directory preventing users from logging in](https://confluence.atlassian.com/bamkb/bamboo-lost-connection-to-the-external-user-directory-preventing-users-from-logging-in-678691207.html)
* [Restoring passwords to recover admin users](https://confluence.atlassian.com/bamboo/restoring-passwords-to-recover-admin-users-289277354.html) (if you don't remember the password)

If this is not your case, please give us more details about the steps you took to migrate the server.

thanks
How do I leverage Bamboo Specs without installing an IDE?
Asked by Kevin McKenzie Sampson:

I'm a developer, but I despise Java and do not want to install a Java IDE on my machine and spend unnecessary time re-learning the language just so I can manage my CasC Bamboo Specs.

Would I be able to simply drop the exported plan Specs into my linked git repo without needing to build or do I have to actually build this configuration setup entirely just to update some settings in my pipeline?


Answers:
author: Marcin Gardias
body: With Repository Stored Specs you don't even need to compile Specs code locally, just commit it to the repository and Bamboo will do the rest. You can use any text editor you want, no need to use IDE.


author: Timothy
body: > but I despise Java and do not want to install a Java IDE on my machine and spend unnecessary time re-learning the language just so I can manage my CasC Bamboo Specs

Well, in Bamboo 6.3, there is the YAML format.

* <https://confluence.atlassian.com/bamboo/bamboo-yaml-specs-938844479.html>

And of course, this guide:

* <https://confluence.atlassian.com/bamboo/tutorial-bamboo-specs-yaml-stored-in-bitbucket-server-941616819.html>

> This guide will show you how you can store Bamboo Specs in a Git repository on Bitbucket Server. This approach allows to automatically build and execute Bamboo Specs on every push you make to a Git repository


Tags: java

spec

yaml
How to create backups of repositories
Asked by CrownConsult:

Good day.

I have configured backup for Bamboo repos. This is working fine.But i want to set retention for 7 days,the size of each file is 16+Gb and my drive is getting full.I want to set to retain for few days.

I have separate backup running which will take the backup of these backup files.

Please help me.


Answers:
author: Gabriel Ribeiro
body: Hi There,

I'm afraid that this option is not available in Bamboo yet but I'm sure you can do that using a solution similar to [this one](https://unix.stackexchange.com/questions/378995/how-to-delete-old-backups-folder-based-on-a-date-in-file-name).

thanks
How can a HTML file artifact finds the Javascript files it requires?
Asked by ??:

Hi,

I have a build task that generates a HTML report and also the Javascript files required by this HTML file. I've set both the HTML report and the Javascript files as artifacts. However, seems like the HTML file cannot find the Javascript files, since it doesn't render properly.

Any idea what I might do wrong here?


Answers:
author: Gabriel Ribeiro
body: Hi ??,

Bamboo creates a different folder inside the file system for each artifact definition, if you want to have both in the same folder, you can move the HTML and the js file to an exclusive path (e.g. /buildDir/webpage) during the build and then use a broader copy pattern like ***\*.\****

thanks
Bamboo Starting Build -> Grey/Gray Screen
Asked by Chris Cross:

Hey,

we have recently set up the recent version of Bamboo.  
Technically everything works (building and stuff) as expected.  
Just the Bamboo UI itself has a problem:

after starting a build, the browser is redirected to the build-page, which is either directly gray, or becomes gray after a few seconds.

You have to press f5/refresh actively to reload and view the correct page, which is then updated continuously and normally further on.

How can we fix this?


Answers:
author: Robert W
body: Hi Chris,

I've created a Support Ticket for this case, you should be getting an email shortly requesting more information.

Regards, Robert Watson Dev Tools Support \| Atlassian


Tags: bamboo-administration

bamboo-development
Who can create Deployment projects and Deployment enviroments?
Asked by Nithin Dandu:

We see only view and edit plans for Deployment projects and Deployment environments and not sure who could create them with what permissions and where is it set?


Answers:
author: Omar Herrera
body: Hi [@Nithin Dandu](/t5/user/viewprofilepage/user-id/1170882) for create both of them you must be bamboo administrator.

There is more detailed information about permissions [@link](https://confluence.atlassian.com/bamboo/bamboo-permissions-369296034.html)

Cheers.

Omar H.

comments: author: Nithin Dandu
body: Hello Omar,

Thank you, but what does a deployment project user perform? We are trying to restrict a user from creating deployment plans from using or seeing agents for Dev only and prevent them from creating deployment plans for INT environment and above. How can this achieved? Suggestions?

Thanks


author: Omar Herrera
body: In this case if you are the bamboo admininistrator you can set permissions by enviroments. Theses actions can be view / edit / deploy and the administrator is the only user with priviledge to perform the creation new deployments environments or delete the actuals.

If you are looking for a sandbox where users can to perform all actions for example creation of builds plans or deployments proyect I suggest you to install a second instance of you bamboo server as [developer license](https://confluence.atlassian.com/confeval/billing-and-licensing-evaluator-resources/licensing/how-to-use-developer-licenses-and-to-whom-are-they-available).

I hope this will help you.

Cheers.

Omar H.