youngmon/atlassian-qna huggingface dataset:
Receiving 'Repository parent can no be changed' from build
Asked by Bill Parlock:

I had deleted and then recreated a Bamboo repository link (also set up Specs Repository). At the same time someone made a change to the Bamboo YAML spec file . Now the build plan is failing with the error 'Repository parent can not be changed'. So I am not sure which change caused this error. To address this error I am wondering if a new build plan will need to be created.

Thanks-


Answers:
author: Eduardo Alvarenga
body: Hello [@Bill Parlock](/t5/user/viewprofilepage/user-id/3734252),

Please follow [BAM-20762](https://jira.atlassian.com/browse/BAM-20762) for more details.

Regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: Bill Parlock
body: Thank you.
Upgrade from 5.2 to data Centre
Asked by stufish:

Hi,

We have an old version of bamboo 5.10.3, we want to upgrade to data centre in the coming months, is there an easy path or a migration step to migrate the current setup we have to the new instance?

Thanks

Stuart


Answers:
author: Eduardo Alvarenga
body: Hello [@stufish](/t5/user/viewprofilepage/user-id/4911922), Welcome to **Atlassian Community!**

You can refer to the Bamboo upgrade guide for more information:

* [Bamboo upgrade guide](https://confluence.atlassian.com/bamboo/bamboo-upgrade-guide-720411366.html)

Regards,  

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: stufish
body: Thanks so if I am reading this correctly then I would need to clone my server and then upgrade to 5.14 then 6.5 then data centre?

If I purchase a data centre licence does it give me access to the 5.14 and 6.5 to upgrade as required?

Thanks

Stuart


author: Eduardo Alvarenga
body: Hello [@stufish](/t5/user/viewprofilepage/user-id/4911922),

Yes. Both statements are correct.
How to have python in Bamboo environment?
Asked by Chong Jing Hong:

I am trying to run a python script in my Bamboo Pipeline. However I am getting the following errors:

\> sudo: no tty present and no askpass program specified

\> line 2: pip: command not found

\> line 3: pip: command not found

Here is my bamboo.yaml file:  

```
Broken Links:
  tasks:
    - checkout:
        force-clean-build: 'false'
        description: Checkout Default Repository
    - script:
        interpreter: BINSH_OR_CMDEXE
        scripts:
        - |-
          sudo yum install python3-pip
          pip install beautifulsoup4
          pip install lxml
          python broken_links.py
```

I suspect that the Bamboo environment does not have python. How do I know if my environment has python?


Answers:
author: Eduardo Alvarenga
body: Hello [@Chong Jing Hong](/t5/user/viewprofilepage/user-id/4789367)

That's not Bamboo fault. You need to adjust your Operating system to make it work.

Make sure to:

1. In your sudo configuration file (normally /etc/sudoers) make sure to set **requiretty** to false either globally as a Default setting or per rule for the *yum install* permission
2. Newer versions of *pip* are now *pip3* , along with *python* is now *python3*.

Regards,

Eduardo Alvarenga  
Atlassian Support APAC
Bamboo Deployment Scheduled Trigger
Asked by Himanshu Rawat:

Hi,

We want to trigger the deployment environment from a custom plan branch using bamboo specs.

In the UI we do see the option but when not in the generated bamboo specs

UI screenshot (bamboo-deployment-env-trigger) attached

![bamboo-deployment-env-trigger.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/195606i80E674294421CB2C/image-size/large?v=v2&px=999 "bamboo-deployment-env-trigger.JPG")

In the YAML specs

```
temp-test-1:
  description: temporary test environment 1
  triggers:
  - cron:
      expression: 0 40 6 ? * *

http://www.atlassian.com/software/bamboo/ version 8.1.2 build 80109 - 26 Jan 22


Look forward for the resolution.

Thanks,

```


Answers:
author: Alexey Chystoprudov
body: Hello, please follow <https://jira.atlassian.com/browse/BAM-21729> for updates


Tags: cron

schedule

trigger
Supported SQL platform for Bamboo v5.14
Asked by Divya Narula:

Does "Continuous integration powered by Atlassian Bamboo version 5.14.4.1" support the MySQL version 5.7.


Answers:
author: Eduardo Alvarenga
body: Hello [@Divya Narula](/t5/user/viewprofilepage/user-id/4469041)

MySQL 5.7 is supported on Bamboo version 5.14.4.1. Bamboo 5.14 is way outdated and [not supported anymore](https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html). We advise you to [upgrade](https://confluence.atlassian.com/bamboo/bamboo-upgrade-guide-720411366.html) or [install](https://confluence.atlassian.com/bamboo/bamboo-installation-guide-289276785.html) a supported Bamboo version instead.

Regards,

Eduardo Alvarenga  
Atlassian Support APAC
configure bamboo server to remove public facing settings
Asked by bobby dammu:

Hello,

Could you please help me with the following,

How to configure bamboo server to remove public facing settings.

Thanks,

Bobby


Answers:
author: Eduardo Alvarenga
body: Hello [@bobby dammu](/t5/user/viewprofilepage/user-id/2285170)

Can you please provide some context on "public facing settings"? What exactly are you trying to do/not do?

Regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: bobby dammu
body: Thank you so much for the quick response.

Description:

Due to a security concern regarding 'log4j', we are looking options to mitigate risk. One option is re-configure the Bamboo server (and agents) to no longer be publicly accessible.

Thanks,

Bobby


author: Eduardo Alvarenga
body: Hello [@bobby dammu](/t5/user/viewprofilepage/user-id/2285170),

Thanks for clarifying that.

Bamboo is not vulnerable to the recent Log4j CVEs. You can find more details below:

* [FAQ for CVE-2021-44228, CVE-2021-45046 and CVE-2021-45105](https://confluence.atlassian.com/kb/faq-for-cve-2021-44228-1103069406.html)
* [Multiple Products Security Advisory - Log4j Vulnerable To Remote Code Execution - CVE-2021-44228](https://confluence.atlassian.com/security/multiple-products-security-advisory-log4j-vulnerable-to-remote-code-execution-cve-2021-44228-1103069934.html)

Though, if you still want to disable any "public" access to your Bamboo Server and Agents, you'll have to work with your external configurations such as blocking traffic on our Firewall, Load Balancer, etc.

Bamboo needs to listen to specific ports to work. There is no option to disable such services.

You can also create local firewall rules on each server that is part of your Bamboo solution to allow only trusted sources to reach its service ports:

* [Ports used by Atlassian Applications - Bamboo](https://confluence.atlassian.com/kb/ports-used-by-atlassian-applications-960136309.html#PortsusedbyAtlassianApplications-BambooServerports)

You can also enable Tomcat's Client authentication to enforce only validated clients

* <https://tomcat.apache.org/tomcat-8.5-doc/config/http.html#SSL_Support_-_SSLHostConfig>
What data is deleted when a plan branch is deleted?
Asked by james.mckean:

We are working on a build report with a long time horizon - perhaps over years. We would like to understand what we will ***not*** be able to extract from Bamboo once a plan branch is deleted. We understand that logs from builds from the deleted branch will not be available. Will success/fail data be there? Dates? Duration data? Other data?

This will help us understand the implications of automatically cleaning up plan branches.

Thanks for the help.


Answers:
author: Eduardo Alvarenga
body: Hello [@james.mckean](/t5/user/viewprofilepage/user-id/4184054)

Once a Plan branch is deleted, all references to it including logs, build results, etc will also be removed, including artifacts.

Regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: james.mckean
body: Thank you, that is clear.


Tags: plan
maven-default-http-blocker for bamboo 8.1.3
Asked by Yuan Xu:

We are still using maven 3.6.2 which should not require https yet.

But when do bamboo spec scan, we got error like following. The same settings.xml work for other older version bamboo

```
Non-resolvable parent POM for com.atlassian.bamboo:bamboo-specs-generator:1.0.0: Could not transfer artifact com.atlassian.bamboo:bamboo-specs-parent:pom:8.1.3 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [central
```


Answers:
author: Eduardo Alvarenga
body: Hello [@Yuan Xu](/t5/user/viewprofilepage/user-id/4877035) ,

That's an expected Maven behaviour on newer releases.

Check the following links for workarounds:

* <https://stackoverflow.com/questions/67833372/getting-blocked-mirror-for-repositories-maven-error-even-after-adding-mirrors>

comments: author: Yuan Xu
body: Thanks. But we have not upgraded maven. You mean the buildin maven has been upgraded to 3.8.\*?


author: Eduardo Alvarenga
body: When you run Maven, certain configuration files are downloaded/create. Those files have a strict HTTPS policy that needs to be modified to work with HTTP.


author: Yuan Xu
body: Thanks.

We found bamboo is using maven 3.8.4.
I want to configure Test Docker Image Job
Asked by Nipun Kurothe:

Hi All,

I am a bit new to bamboo, I am trying to setup Test Docker Image Job.

On development we the command npm run test which uses "@hapi/lab" to run the tests.

I want to be able to run these tests after Build Docker Image Job.

I tried to create tasks but none of them are working.

Will be great if I can get some help here.


Answers:
author: Will
body: Hi, Nipun,

Please have a try.

After build docker image job, you can add a Docker Task, select command \`Run a Docker Container\` and input your image built in the previous step into \`Docker Image\`.

Input \`@hapi/lab*\`* in \`Command\`


Tags: test
Add a comment to bamboo build
Asked by Bharathan Kumaran:

Problem

I am trying to add a comment to a build in bamboo.

via - <https://docs.atlassian.com/atlassian-bamboo/REST/8.2.1/#d2e1674>

but the document json also refers to xml schema

need to know how to post a comment with a rest request

Note:

I am using personal access token , I have verified that this token is working for the get comments and retrives the data successfully


Answers:
author: Eduardo Alvarenga
body: Hey [@Bharathan Kumaran](/t5/user/viewprofilepage/user-id/868463)

Try the following syntax:

```
curl -s -k -u user:pass -H 'Content-Type: application/json' -X POST -d '{ "content": "Test567" }' "https://<bamboo_url>/rest/api/latest/result/PROJ-PLAN-BUILDNUM/comment"
```

To see the comments:

```
curl -s -k -u user:pass -H 'Accept: application/json' -X GET "https://<bamboo_url>/rest/api/latest/result/PROJ-PLAN-BUILDNUM/comment?expand=comments.comment"
```

Regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: Bharathan Kumaran
body: Can you also help to update this in the api document

<https://docs.atlassian.com/atlassian-bamboo/REST/8.2.1/#d2e1674>


author: Eduardo Alvarenga
body: Hello [@Bharathan Kumaran](/t5/user/viewprofilepage/user-id/868463),

The Bamboo development team is working internally to refactor the Bamboo REST docs to a new [Swagger](https://swagger.io/) interface. Please keep an eye on <https://developer.atlassian.com/> for new changes.


Tags: rest-api
Is it technically possible to use ECS for remote bamboo agent for CD instead of using EC2 instances?
Asked by asd asd:

Want to have ephemeral agents instead of dedicate remote bamboo agents on EC2 instances


Answers:
author: Yevhen
body: [@asd asd](/t5/user/viewprofilepage/user-id/4629901) though it's not officially supported I don't see why you can't deploy remote Bamboo agents to ECS. Technically, it should be like running a remote agent on a Docker host. If you want to launch agents on demand and shut them down, you'll need to write own plugin/automation for that. If you want to have remote agents running in ECS all the time, it should not be more difficult than running them on a remote Docker host. Of course, you need to make sure the right Bamboo server ports are available (server and JMS) for agents.


author: Eduardo Alvarenga
body: Hello [@asd asd](/t5/user/viewprofilepage/user-id/4629901),

Not ECS exactly, but we have Kubernetes support. Check this link:

* <https://atlassian.github.io/data-center-helm-charts/examples/bamboo/REMOTE_AGENTS/>

Regards,

Eduardo Alvarenga  
Atlassian Support APAC
XSRF token error with IIS reverse proxy
Asked by Bob Rzadzki:

Bamboo Server v7.2.4 / IIS 10

Setup a reverse proxy in IIS so my team can access our Bamboo instance on a user-friendly URL. This is working perfectly everywhere except for the Deployments page where I see this error:

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

The release statuses never load, showing the "waiting" spinner indefinitely.

In the Network tab of dev tools, I see 403 errors for each access to \[server-name\]/rest/api/latest/deploy/dashboard/status -- the server's response for each of these is "XSRF check failed".

**I have tried unchecking "Enable XSRF Protection" in Security Settings and this has no effect.**

Can anyone advise on specific IIS settings to pass along CSRF tokens correctly? I do not need a general setup guide for ARR/reverse proxies; this is a more specific error.

Alternatively, can anyone advise on truly disabling XSRF protection in Bamboo? Options in Security Settings have not been effective.


Answers:
author: Bob Rzadzki
body: I was missing a step in configuring Bamboo behind a reverse proxy. For anyone else running into a similar issue - and similarly having trouble finding the right docs - have a look here:

<https://confluence.atlassian.com/bamkb/securing-bamboo-behind-nginx-using-ssl-829075298.html>

In my case, I had configured IIS as the reverse proxy and everything (except the Deployments page) was working well. Deployments showed the error in the upper right (annoying because it blocks the menu) and failed to complete any of the async calls to get environment statuses.

From the linked doc, I only had to add Step 1: Configure the Tomcat Connector to get it working 100%. I commented out the original Connector for port 8085 and replaced it with the one on this page; restarted Bamboo through services.msc; and suddenly life was good.
how do I add a user via the REST API to bamboo?
Asked by ??????:

how do I add a user via the REST API to bamboo?


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

here the REST API related to create new user within Bamboo <https://docs.atlassian.com/atlassian-bamboo/REST/8.2.1/#d2e4250>

Hope this helps,

Fabio

comments: author: ??????
body: I didn't find on this link how to add a user via curl


author: Fabio Racobaldo _Herzum_
body: Please take a look here <https://jira.atlassian.com/browse/BAM-20029> for some example about curl per Bamboo API


author: ??????
body: I have admin rights, but I can't add user handles

![Deploy.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/194150iDCDABE46F560A731/image-size/large?v=v2&px=999 "Deploy.JPG")


author: Fabio Racobaldo _Herzum_
body: Hi [@??????](/t5/user/viewprofilepage/user-id/4056197) ,

your question was how to add user in Bamboo and not add user to deployment project.

Btw, this is REST API <https://docs.atlassian.com/atlassian-bamboo/REST/8.2.1/#d2e906>

In your case, if you can't do that via UI so you can't do that via REST Api.

Here more info about Bamboo Spec <https://confluence.atlassian.com/bamboo/bamboo-specs-894743906.html>


author: ??????
body: I accepted the information, thank you. The data needs to be changed in the file itself.


author: Fabio Racobaldo _Herzum_
body: thanks for your feedback [@??????](/t5/user/viewprofilepage/user-id/4056197) . Please mar my answer as accepted
CTest Task for Bamboo for Bamboo Server 8.0.4
Asked by Peter Ebelsberger:

Is there any option to use this plugin with server version 8.0.4 of bamboo?  

BR Peter


Answers:
author: Eduardo Alvarenga
body: Hello [@Peter Ebelsberger](/t5/user/viewprofilepage/user-id/4888525),

Welcome to **Atlassian Community**!

According to the Atlassian Marketplace page, the [CTest Task for Bamboo](https://marketplace.atlassian.com/apps/1211178/ctest-task-for-bamboo) is officially supported on Bamboo releases up to 7.2.7 on Version 0.5.4 ? Released 2018-08-27.

As this is a third-party app, you will need to [reach out to the developers](https://bitbucket.org/mathieumarache/bamboo-ctest-plugin/issues) to verify if it is compatible with Bamboo 8.

Nevertheless, you can try -- at your own risk -- to install the app on Bamboo 8 by downloading the jar file and adding it manually in Bamboo and see if it works. Depending on how the plugin was developed it may still work normally.

* Bamboo Administration -\> Manage Apps -\> Upload app

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC


Tags: test
Is it possible to show full name of affected components in incident notification email?
Asked by Richard McChesney:

When we create an incident and select the affected components the two components with the longest names are truncated to 35 characters - the 35 chacaters being the component group name plus the component name.  
Is it possible to extend this?


Answers:
author: Abraham Musalem
body: Hey Richard,

Thanks for reaching out. Unfortunately there is no way to do this currently. We do have an open feature request for this and I've gone ahead and added you to it. If it ever gets completed, we'll do our best to reach out! I do apologize for the inconvenience.  

Regards-  

Abe, SP support

comments: author: Kathryn Pearlman
body: Hi Abe, please add me to the open feature request as well.

We are finding that we end up with a lengthy component group name in order to provide sufficient information to our customers as they subscribe to notifications - but then that component group name blocks our subscribers from being able to see which component is affected in the notification email itself without clicking through.

Do you have any updated information on when this request might be scheduled/completed?


Tags: cloud
Why can't I access my newly created statuspage site
Asked by FRBR National IT:

I created a new (free) account and site as follows:  
email: sys.nit.treas.statuspage_test@rich.frb.org  
Site name: frbr-tsd-statuspage.atlasiann.net

I received a "congratulations' email that my site was all set up and ready to go. However when I clicked on the "**Start working smarter** " link, i was taken to a page with the following message:  
**Server not responding**   
The server gremlins strike again....those traps must not be working. Refresh this page or check back in a couple minutes to see if the problem resolves itself. If that doesn't work you can head back and try again.


Answers:
author: Pramodh M
body: Hi [@FRBR National IT](/t5/user/viewprofilepage/user-id/4705718)

Welcome to the Atlassian Community!!

Navigate to start.atlassian.com and the "Switch to" option and see if you can navigate to Statuspage.

Thanks,  
Pramodh

comments: author: FRBR National IT Prod
body: That worked. Thanks Pramodh!


author: Pramodh M
body: [@FRBR National IT](/t5/user/viewprofilepage/user-id/4705718) [@FRBR National IT Prod](/t5/user/viewprofilepage/user-id/4712084)

Please accept the answer if it helped


Tags: cloud
Why statuspage is not showing grey bar when data is not coming from our api?
Asked by Saddan Hussain:

Our status page has one of the endpoint UBN AISP Ebanking Retrieve Standing Orders which is showing 45 min major outage on 11th Jan because our api has daily downtime at 2 AM to 2:45 AM UK.

and just before downtime our Retrieve Standing Orders endpoint gets failed and after that it was a downtime for 45 min so it is showing 45 min major outage. so when we are not supplying any data from our apis it's picking up the last status that we have sent.

so it's confusing for the people who don't know that we have downtime, they will refer it as our api had a major outage of 45 min although it is not the case. it's happening because of downtime.

So, can we set up the daily downtime in statuspage for our apis? and if there is no any data coming from our api then status bar should show as grey.

Thanks,

Saddan


Answers:
author: Darryl Lee
body: Hi [@Saddan Hussain](/t5/user/viewprofilepage/user-id/4450997) ,

This is Darryl. Statuspage Support. I am here to help.

From your description, we are not quite sure about the reproduction of the issue and this issue could be worth diving deeper into an investigation.

Please use [this link](https://support.atlassian.com/contact/) to open up a support ticket to our team and help provide:

1. The detailed description of how did you configure and set up, please also help provide screenshots for us to understand this issue better.

2. Screenshots of the issue you found.

Thank you.

Kind regards,

Darryl Lee

Statuspage Support


Tags: cloud
How long after you dismiss the statuspage embed notification, it comes back or shows up again?
Asked by Ishan Purohit:

I have deployed statuspage embed on our webpages using google tag manager. The trigger is all pages view. Once I dismiss or close the statuspage notification , how long will it take to show up again ?


Answers:
author: Darryl Lee
body: Hi [@Ishan Purohit](/t5/user/viewprofilepage/user-id/4102206) ,

This is Darryl, Statuspage Suport. I am here to help. :)

Understand that you would like to know will the status embed notification be showing up again after closing it.

Please note that the status embed will only display the notification whenever there is an Incident or Maintenance that occurs.

++Once the message box is closed in that browser, it's considered as an acknowledgment and it **WILL NOT** show up again.++

The reason behind this is to prevent message/notification fatigue and the negative experience to the user.

Hope this is helpful.

Kind regards,   
Darryl Lee  
Cloud Support

comments: author: Ishan Purohit
body: Hey [@Darryl Lee](/t5/user/viewprofilepage/user-id/3680306) will the notification show again if the current incident is updated or will it show only if a new incident occurs.


author: Darryl Lee
body: Hi [@Ishan Purohit](/t5/user/viewprofilepage/user-id/4102206) ,

The Status Embed is only capable of popping up the message box for Incident/Maintenance creation, not for any other updates.

Here is the documentation for your reference -\> [Status Embed](https://support.atlassian.com/statuspage/docs/what-is-status-embed/)
> When you enter a new incident or maintenance on your status page, the status embed updates in real-time to display the incident title and description. The embed does not appear on the page if there are no ongoing incidents or maintenance.

Hope this is helpful.

Kind regards,   
Darryl Lee  
Cloud Support


Tags: cloud