youngmon/atlassian-qna huggingface dataset:
Recommended upgrade path from Bamboo 6.7.2 to 8.0.4
Asked by Chris Miller:

Hello, we are trying to upgrade from Bamboo 6.7.2 to 8.0.4 and running into the following error status screen when Bamboo Starts.

"Bamboo bootstrap failed: Failed to run H2 database upgrade. Please contact Atlassian Support"

We are self-support so we don't have the capability to open a ticket/case with Atlassian for help/support.

Can anyone recommend an upgrade path to take to successfully upgrade?


Answers:
author: Daniel Ebers
body: Hi [@Chris Miller](/t5/user/viewprofilepage/user-id/4061354)

seeing every since and then reports about challenges with the integrated H2 databases I am wondering if it would make sense to migrate to a fully supported database prior to the upgrade.  
The H2 database is mostly involved in trial/evaluation scenarios, this might be why it brings not the most perfect stability with it.

In case you are interested in changing databases I found some information here:

* **Moving your Bamboo data to a different database** <https://confluence.atlassian.com/bamboo/moving-your-bamboo-data-to-a-different-database-289277250.html>

Regards,  
Daniel


author: Chris Miller
body: Where would I find the full exception log with the stack trace at?

Under /opt/bamboo_home/\<bamboo_instance\>/logs, if I look there under catalina.out and access_log I only see WARINGS and INFO entries. Nothing stands out.

thanks

comments: author: Alexey Chystoprudov
body: it's usually at \<bamboo_home\>/logs. Another option is to export your instance to zip file, then use this file during setup.

As you use built-in H2 database to keep your data I hope count of plans/deployments/build results is not large so it will work for you.


author: Alexey Chystoprudov
body: can you please paste here full exception log with stack trace?

comments: author: Alexey Chystoprudov
body: v
stopping a bamboo job when a logic fails
Asked by Hector Magnanao:

Hello,

Is there a way to completely exit a bamboo plan nicely when a condition is not met ? like when it can't find certain value ? For example, I don't want the rest of the tasks executed when a variable does not exists.


Answers:
author: Daniel Ebers
body: Hi [@Hector Magnanao](/t5/user/viewprofilepage/user-id/1048131)

probably the conditional tasks in Bamboo are what you are looking for.  
Please check if this is suitable for your use case:

* **Conditional Tasks in Bamboo** <https://confluence.atlassian.com/bamkb/conditional-tasks-in-bamboo-1077907046.html>

Regards,  
Daniel

comments: author: Hector Magnanao
body: Hi [@Daniel Ebers](/t5/user/viewprofilepage/user-id/800113)

Thanks for your response. The conditional tasks will only work for bamboo variables. I want to be able to pass a variable to the conditional tasks that is created dynamically within one of the tasks. For example,

bamboo variable is var1 = true

I want this var1 to be available to be overwritten thru one of my tasks and then i can use conditional task to check for the value. Is this possible ?


author: Marcin Gardias
body: I think Inject Variable Task (which is bundled) might do the trick
starting problem
Asked by Andyala siva:

starting problem


Answers:
author: Daniel Ebers
body: Hi [@Andyala siva](/t5/user/viewprofilepage/user-id/4715129)

I seem to understand you are not able to start your Bamboo installation correctly.  
Have you had a chance to check the logfile of Bamboo, yet?  
It might give an additional clue why it is not working as expected.

* **Logging in Bamboo** <https://confluence.atlassian.com/bamboo/logging-in-bamboo-289277239.html>

Regards,  
Daniel


author: Alexander Bondarev
body: Hi, [@Andyala siva](/t5/user/viewprofilepage/user-id/4715129) !

Welcome to the Community!

If you have any problems and you have need in help of the Community - please give us more information.
Any plan to use log4j 2.17.1 version for Atlassian server products
Asked by Abhijit Deshpande:

Hi,

We would like to to any tentative date of release which will have log4j 2.17.1 version being used in Atlassian server products bamboo/confluence/jira/bitbucket/fisheye.


Answers:
author: Daniel Ebers
body: Hi [@Abhijit Deshpande](/t5/user/viewprofilepage/user-id/21639)

I feel this is a very valid question but it might make more sense to direct this to Atlassian Support directly - you can raise a request with Support Team over here:  
<https://support.atlassian.com/>

Regards,  
Daniel


Tags: server
How to delete Bamboo Deployment project
Asked by Bill Parlock:

I am trying to delete a Deployment project from Bamboo, but I cannot see an option anywhere to do so. I was however, able to delete the Deployment environment.

Thanks-


Answers:
author: Daniel Ebers
body: Hi [@Bill Parlock](/t5/user/viewprofilepage/user-id/3734252)

lately I read about a bug, including a workaround which might, or might not, apply to your installation. Please check if it is related and let us know what you have found out:

* **Non system admin fail to delete environment or Deployment Project that have dedicated agent** <https://jira.atlassian.com/browse/BAM-20357>

Regards,  
Daniel

comments: author: Bill Parlock
body: Thanks Daniel. In my case it was not a problem with this bug. I was however able to delete the project. The option to do so was in the edit project screen.

Select deployment project, select the edit project option in the upper right of the screen (...) . In the edit project screen select delete project in the upper right. (...)

Bamboo version 7.2.1

Thanks again.


author: Alexey Chystoprudov
body: Please check you have an admin permissions to that project

comments: author: Bill Parlock
body: I do have admin permission. In this case though, I found the delete project option on the Edit project screen. Thank you for your response.


Tags: server
How to create a docker task with docker commands
Asked by Meena Sada:

I need to create a task where I can execute the docker commands.


Answers:
author: Alexey Chystoprudov
body: Hi [@Meena Sada](/t5/user/viewprofilepage/user-id/4706498) , do you want to create new Bamboo plugin which will run Docker command or do you want to know how to run Docker command from Script or Docker tasks?
How bamboo detects the job error | Job error event notification
Asked by Ashwani Pal:

Hi team,

I'm trying to trigger bamboo email notification when the below conditions succeed, for that in the notification section I have configured a job error event to trigger the notification without marking build failure, adding my code snippet below please help.

*** ** * ** ***

if grep "\| HIGH" /tmp/trivy_scan.log  
then  
echo "ERROR : Trivy scan has HIGH severity vulnerabilities, please check the detailed log in artifact section to know more..."  
rm -r some_dir 2\>\&1 \>/dev/null ## test command to generate error  
else  
echo "Scan success..."  
fi

echo $?


Answers:
author: Alexey Chystoprudov
body: Job error event is triggered in case any unexpected situation happens during job execution at agent: plugin misbehave, lack of resources etc. So Script task with output to error stream will not trigger Job Error notification. It's useful for rare situations and usually requires instance admin intervention to be solved

comments: author: Ashwani Pal
body: Thanks for the response, so is there any way to initiate bamboo email if **IF CONDITION** passes?


author: Alexey Chystoprudov
body: if it's not reaction on build status, there's no other built in mechanism to initiate email. So you need to look at some console command to initiate email during build execution like <https://www.folkstalk.com/2012/08/mail-command-examples-in-unix-linux.html>
Shared Custom Task across different projects/builds
Asked by Phill Pafford:

Example: I have a custom shell script that does a generic task, it's populated with runtime variables that bamboo sets. Currently I have to configure this task on each project I want to execute it on.

Idea: have a global task that I could share to many projects/builds, that would pull runtime variables and execute the task

Why: If I need to update the logic of this task, I can do it once and apply to all. Currently I have to update all tasks per project


Answers:
author: Alexey Chystoprudov
body: Take a look at Bamboo Specs <https://confluence.atlassian.com/bamboo/bamboo-specs-894743906.html>

It was designed exactly for that reason. You can keep code at repository and manage your plans from local machine or configure Bamboo to manage plans by reading code from repository

comments: author: Phill Pafford
body: Hi Alexey, Thanks for the reply but does SPEC support multiple repos to be pulled in?

* repo A has my code
* repo B would have the shared code I want for 1 task

I know I can just run a git clone and checkout within a script to pull in repo B, but this is kind of a hack.


author: Alexey Chystoprudov
body: It's up to you how to organize Specs code.

For example you can have repository with plan configuration, but it's not required to keep it along with your application code if Specs is Java code.

So in your example repo B might keep Specs code which will share common tasks for several plans and then it will be applied when changes to repo B happens.

Your code in repo A is built by plans, which were created by Specs code it repo B and don't need to checkout repo B during plan execution.


Tags: server
Github sha-1 error's from 11th of Jan.
Asked by Nils:

Hello,

running an old version of bamboo server 5.14.5. Today Github stopped allowing SHA-1.

Logs are now full of bellow error and can not build.

```
ERROR: You're using an RSA key with SHA-1, which is no longer allowed. Please use a newer client or a different key type.
```

and catalina.out contain.

2022-01-11 16:07:53,744 WARN \[sshd-SshClient\[7c628a8b\]-nio2-thread-4\] \[BambooTrustedKeyServerKeyVerifier\] Server at github.com/140.82.121.4:22 presented unverified EC key: SHA256:...............

We are assuming this is because of some old java lib, which version do we need to upgrade to? Does 8.x versions also have these problems ?


Answers:
author: Nils
body: Hello,

it's probably not ur key that is wrong if it's sha256. It's the hashing algorithm(SHA-1) used by bamboo ssh proxy.

I got this reply from Atlassian

Bamboo versions previous to v8.04 use an older SSH proxy SHA to access Bitbucket. This was updated in v8.04 to use a newer algorithm, so I believe upgrading to 8.0.5 or later will resolve this issue.

comments: author: Joe Radkowski
body: Ok good - so this is official answer we and anyone else who stumbles onto this thread about (especially since support ticket responses are slow right now).  

**Before March 15th we all need to upgrade to Bamboo 8.0.4 or later to ensure the proxy layer can support SHA2** (I suspected it was doing some sort of proxy with what I saw in the logs but nothing was documented, good to hear confirmation!)

Thanks!


author: Joe Radkowski
body: We are also facing this issue and would appreciate a response on this issue too, but here is what I have found.

GitHub Security Bulletin: <https://github.blog/2021-09-01-improving-git-protocol-security-github/#when-are-these-changes-effective>

GitHub is conducting a test where they disable old keys for RSA/DSA (SHA1) to get people aware they need to update their key before March 15th where it will be blocked for good.   

What is interesting is our key is SHA2! The key works from the command line, but within Bamboo it fails with the error message above.  

I hope to hear 7.x or 8.x fixes this because we are long overdue for an upgrade (we are on 6.8.x) and will get that process moving once we have confirmation on what version to upgrade to.


author: Marcin Gardias
body: We updated ssh related libraries in 8.0.4. Upgrading to that (or later) version should fix the problem.

Related JAC ticket: <https://jira.atlassian.com/browse/BAM-21467> (it mentions OpenSSH in the title but it's really about the whole family of problems related to SHA-1 deprecation)


author: Errol Cheong
body: I am also facing this issue as an iOS Developer. We're using Xcode to try and clone repos but github thinks my SHA2 key is SHA1 instead and fails.


Tags: github
Cannot add GitHub repository in Bamboo plan - Getting Error 500
Asked by Jason Templeman:

Trying to add a GitHub repository to my plan using my username and PAT. When I click the Load Repositories I get a Failed to load data from GitHub.\[500 error\] message.   
We are using Bamboo v 8.0.4 which sits behind a proxy server.  
The scope for the PAT being used has full access.  
Followed the instructions online when setting this up.  
Verified on another system that my credentials are good by accessing Github through Postman.  
Not sure what command is actually being sent to Github so cannot check directly from another system.  
Also not where where to find this in the logs for more information as it is not running a plan and therefore no remote agent involved and not seeing anything server side.  

Any information to help resolve this would be greatly appreciated.  

On a side note, we will be using repos in an organization (not our personal space) which we have access too. I would assume these will show once connection is established but if not, any further info would be appreciated as well.


Answers:
author: Jason Templeman
body: Looks like there was an old distro of Java (git as well).


Tags: github
job scheduler is not working , job level triggers are not working for scheduling
Asked by musku thirupathi:

click on configuration settings and see the triggers tab in the menu and select any one of the trigger like" scheduled", "single day build", "repository polling"

add one trigger and check the scheduler it is not working as per the time specified in the trigger.


Answers:
author: Anik Sengupta
body: ```
We understand that the build is not getting started?in Bamboo after the scheduled time trigger is met .?Kindly confirm if these options are used for builds and the linked repository, if so, what are the options? Please check if you have configured for a high wait period.Linked Repository -> Change detection options -> Enable quiet period
```
Private Trial StatusPage and NewRelic Integration
Asked by Priyadarshini R Kolwalkar:

Hello,

I have setup a Private trial StatusPage. I'm testing out integration from NewRelic where I was able to "send a test notification" from NewRelic to a StatusPage component.

##### Recently received automation emails {#toc-hId-1961985968}

**Ignored**: Notification Channel Test - component@notifications.statuspage.io  
Ignored automated component status update from Newrelic, subject not recognized.  
Show email details ? Received Aug 25, 2021 17:55 UTC (19 minutes ago)

But when I try to intentionally fail a test/synthetic monitor in NewRelic, to check for the outage on the StatusPage, I don't see any new emails received by that component.

Is that a limitation on private Trial Page that I have?

Thanks,

Priya


Answers:
author: Priyadarshini R Kolwalkar
body: Hi,

The issue was resolved by including a "JSON attachment" on the NewRelic side of things. By default it isn't and a "test notification" works without including it.

Thanks,

Priya
HTML in incident messages - can I use lists?
Asked by Dan Jolly:

In the list of available HTML tags, lists aren't mentioned. But is it still possible to use:

"\<ul\>

\<li\>etc\</li\>

\</ul\>"

This would be handy for listing unavailable services.

Thanks


Answers:
author: Earl McCutcheon
body: Hello [@Dan Jolly](/t5/user/viewprofilepage/user-id/3930812) ,

The available HTML tags on Status Page are limited to what is covered in the "List of available tags" section of the [Add HTML tags in incident messages](https://support.atlassian.com/statuspage/docs/add-html-tags-in-incident-messages/) documentation, and additional tags are not available.

Status Page does not yet have a publically facing issue tracker for feature requests so I would recommend using either the In-app Provide Feedback button in Status Page or the "Provide feedback about this article" button at the bottom of the [Add HTML tags in incident messages](https://support.atlassian.com/statuspage/docs/add-html-tags-in-incident-messages/) page to funnel this request to the Status Page product team. Make sure to highlight your uses case and what you would like to see in the app and how this will improve your workflow. The more detail you can provide the more helpful it is to the Product managers when reviewing the feedback.

Regards,  
Earl


Tags: cloud
Export Data Report on historical availability
Asked by Paul Yuro:

We are looking to incorporate the history availability tracked within Statuspage.io components where we have set this feature on:

Display uptime  
Display the historical status of this component on my status page  
Is there some way to produce an export or a report that could be combined using the historical data.  
We want to produce a quarterly uptime report based upon certain components over a 1 year period. Ideally exported to excel in order to combine.


Answers:
author: Daniel Eads
body: Hi Paul, welcome to the Community!

Currently there aren't graphical/in-app options for exporting historical uptime data. The subscriber lists are the only data available for export from the web interface.

However, the API provides access to all the component and incident data. The [Get a list of incidents](https://developer.statuspage.io/#operation/getPagesPageIdIncidents) endpoint should provide all the info necessary for a report like this. The fields you might want to look at from the reply:

* created_at
* resolved_at
* components
* status ("resolved" will be the end status for realtime incidents, while "completed" is the end-state for scheduled maintenance)

From that data, you could filter per-component and decide if scheduled events will be part of the downtime calculation. You can get the difference between the created and resolved timestamps to determine the downtime for the incident, and then compare that against the total time in the period you're tracking (quarter, year). I would imagine that something like a python script would be easier to write and schedule for this than an excel macro, but the results of a script could be exported to CSV to manipulate in Excel or create graphs from.

To my knowledge, there are not scripts like this that folks have created and published for others to use. If you do create such a script, it would be interesting to publish on Community for others to benefit from and help improve.

Cheers,  
Daniel


Tags: cloud
Update StatusPage Admin first last name
Asked by Priyadarshini R Kolwalkar:

Hi,

My StatusPage users are tied to an Atlassian account. I'm trying to update the first \& last name of the StatusPage admin.

I went to <https://admin.atlassian.com/> selected the account -\> clicked 'Manager users'

Selected the admin user -\> Show details -\> Suggest changes

Provided the updated details

I then see an error pop up that says "Something went wrong. Cannot suggest to change email to self"

I tried leaving the email empty and also tried setting it to the same value, while updating the first last name.

How do I resolve this?

Thanks,

Priya


Answers:
author: Priyadarshini R Kolwalkar
body: I resolved this by updating the user details in <https://id.atlassian.com/manage-profile/profile-and-visibility>
Is it possible to update text in "Keep me Updated" popup
Asked by Shanmugapriya:

Is it possible to update text in "Keep me Updated" popup?

<https://chase2.statuspage.io/>


Answers:
author: Jesse Klein
body: Hello Shanmugapriya,

Sorry for the delay and thank you for the picture. This makes it more clear. Something like this is considered custom code and this is what would be needed to change the pop up. Unfortunately, we do not have a way to provide assistance since this is custom code. The only thing I can provide is this link to the few snippets we have: <https://support.atlassian.com/statuspage/docs/use-custom-html-on-a-status-page/>

My apologies for the inconvenience. Please let us know if you have any additional questions.

Regards,

Jesse K


author: Jesse Klein
body: Hello Shanmugapriya,

Welcome to the community. This is Jesse from the Statuspage support team. Where are you referring to this "Keep me Updated" popup?

I am trying to find where you are seeing this in one of my own pages but I do not. The link you sent also contains a private page so no one in the community would be able to see this.

That being said, typically, all customizations would happen in the customize page and email section or by using custom code. Your request probably falls under the custom code section of this. Unfortunately, custom code is something we cannot address due to the nature of there being so many ways to write custom code.

If you can point me in the direction of this particular pop up, I might be able to help further or provide more specific answers. Thanks for your time!

Regards,

Jesse K

comments: author: Shanmugapriya
body: ![satuspage.png](https://community.atlassian.com/t5/image/serverpage/image-id/157287iBF9CCF928C517F04/image-size/large?v=v2&px=999 "satuspage.png")

Hi Jesse,

Thanks for quick reply. In our incident page we have "Keep me updated" button. It will open "Subscribe to Incident" popup. I need to update the popup content. Can you please guide?
Easy way to add another statuspage to ours?
Asked by Zachary Hill:

Hello,

We utilize statuspage for many of our own components as well as third-party components. We recently integrated a new SaaS product which also uses StatusPage. Is there an easy way to chain their statuspage as a component or into ours?

Thanks!

Zachary


Answers:
author: Jesse Klein
body: Hello Zachary,

Thanks for reaching out about wanting to link one of your Statuspage pages with another company's Statuspage. If they are not already a third party component, they can reach out to us with a support ticket and we can add them as a third party component that you can use. That would be the way to accomplish this.

Hopefully that helps out but please let me know if you have any questions.

Regards,

Jesse K

comments: author: Zachary Hill
body: Excellent thank you!


Tags: cloud
Customize Slack Integration
Asked by Priyadarshini R Kolwalkar:

Hello,

I'm trying to customize the Slack message that StatusPage sends to a channel based on the integration.

The example below is a Slack message received from StatusPage. Can I exclude the email from being sent?

**Foo Bar (foobar@yahoo.com)** created new incident **Test incident #1** with status **Investigating** .  
We are currently investigating this issue.  

Thanks,

Priya


Answers:
author: Jesse Klein
body: Hello Priyadarshini,

This is Jesse from the Statuspage support team. These Slack messages are part of the app integration which pipes the activity log into the Slack channel. This cannot be edited to remove the email as this is just meant for internal admins on the Statuspage.

If this is meant to be used for public use, we recommend using the Slack notifications: <https://support.atlassian.com/statuspage/docs/enable-slack-subscriptions/>

If you have any questions, please let me know. I hope you have a great rest of your day!

Regards,

Jesse K.

comments: author: Priyadarshini R Kolwalkar
body: Hi Jesse,

Thank you for the details. I'll lookup the link you shared and revert back incase of any questions.

Thanks,

Priya