youngmon/atlassian-qna huggingface dataset:
ls-remote fails unable to negotiate with 127.0.0.1
Asked by Paul Sanfilippo:

Bamboo Agent attempts to do a checkout from Bitbucket and fails with:

GitCommandException: command git.exe ls-remote ssh://\<numbers-redacted\>@127.0.0.1:\<portNum\>/\<repo-path\>.git\] failed with code 128.

Unable to negotiate with 127.0.0.1 port \<portNum\>: no matching host key type found. Their offer: ssh-rsa

Why is Bamboo Agent running the command against localhost instead of the repository URL?

Does anyone know how to fix this? Is this related to the public key generated by Bamboo Server?

I've tried copying the public key that Bamboo generated into Bitbucket and redefining the repository in Bamboo.

I can access my repository on the computer running Bamboo Agent from the command line.


Answers:
author: Angus Wu
body: This may be due to the deprecation of ssh-rsa signature scheme from OpenSSH 8.8.

Related issue - <https://jira.atlassian.com/browse/BAM-21467>

comments: author: Denis Margine
body: Thanks [@Angus Wu](/t5/user/viewprofilepage/user-id/914803) the work arounds in the JIRA seem to work!


author: Denis Margine
body: I'm also running into this issue now. I've upgraded MacOS to Ventura 13.5 and now all of the sudden the agent fails with similar errors.

If I run the build on the built-in agent (Ubuntu), then this error doesn't show up and I move to the next stage (that will fail for expected reasons).

[@Paul Sanfilippo](/t5/user/viewprofilepage/user-id/4596483) did you solve the problem?


Tags: agent
Some of Atlasian plugin dependencies are using log4j vulnerable versions
Asked by Anuroop Kottamparambil:

Hello Team,

We have customized plugins where it is used some of dependencies of log4j vulnerable versions. These are atlassian maven artifacts.

The dependency details  
\<groupId\>com.atlassian.maven.plugins\</groupId\>  
\<artifactId\>maven-bamboo-plugin\</artifactId\>

\<version\>${amps.version}\</version\> # amps.version: 1000.0.8-log4j2  
\<extensions\>true\</extensions\>

\<dependency\>  
\<groupId\>com.atlassian.bamboo\</groupId\>  
\<artifactId\>atlassian-bamboo-web\</artifactId\>  
\<version\>${bamboo.version}\</version\> # bamboo.version: 6.1.4  
\<scope\>provided\</scope\>  
\</dependency\>  
\<dependency\>  
\<groupId\>com.atlassian.bamboo\</groupId\>  
\<artifactId\>atlassian-bamboo-api\</artifactId\>  
\<version\>${bamboo.version}\</version\>  
\<scope\>provided\</scope\>  
\</dependency\>  
\<dependency\>  
\<groupId\>com.atlassian.bamboo\</groupId\>  
\<artifactId\>atlassian-bamboo-deployments\</artifactId\>  
\<version\>${bamboo.version}\</version\>  
\<scope\>provided\</scope\>  
\</dependency\>  
\<dependency\>  
\<groupId\>com.atlassian.plugins.rest\</groupId\>  
\<artifactId\>atlassian-rest-common\</artifactId\>  
\<version\>1.0.2\</version\>  
\<scope\>provided\</scope\>  
\</dependency\>  
\<dependency\>  
\<groupId\>com.atlassian.sal\</groupId\>  
\<artifactId\>sal-api\</artifactId\>  
\<version\>2.6.0\</version\>  
\<scope\>provided\</scope\>  
\</dependency\>

I couldn't figure it out which exact plugin dependency that actually pulling older version of log4j core lib. Right now, it is pulling log4j core 2.13\* jar. If some can help me on finding the right artifacts that would be great!


Answers:
author: Brian D
body: Hi,

Maybe the output from 'atlas-mvn dependency:tree' will show why that version of log4j is getting resolved.

comments: author: Anuroop Kottamparambil
body: I figured it! Thank you so much! You have saved my day :).
How to use pipe character in YAML specs?
Asked by denis.kot:

I have a simple script:

```
DEV:
  tasks:
    - checkout: SOME / Repo
    - script: |
        #!/bin/bash
        set -ex
        echo '{"a":"b"}' | jq -M
```

But for some reason the last line is failing with the following error:

```
...
error	15-Feb-2022 19:29:33	+ jq -Merror	15-Feb-2022 19:29:33	+ echo '{"a":"b"}'error	15-Feb-2022 19:29:33	jq - commandline JSON processor [version 1.5-1-a5b5cbe]error	15-Feb-2022 19:29:33	Usage: jq [options] <jq filter> [file...]error	15-Feb-2022 19:29:33	error	15-Feb-2022 19:29:33		jq is a tool for processing JSON inputs, applying theerror	15-Feb-2022 19:29:33		given filter to its JSON text inputs and producing theerror	15-Feb-2022 19:29:33		filter's results as JSON on standard output.error	15-Feb-2022 19:29:33		The simplest filter is ., which is the identity filter,error	15-Feb-2022 19:29:33		copying jq's input to its output unmodified (except forerror	15-Feb-2022 19:29:33		formatting).error	15-Feb-2022 19:29:33		For more advanced filters see the jq(1) manpage ("man jq")error	15-Feb-2022 19:29:33		and/or https://stedolan.github.io/jqerror	15-Feb-2022 19:29:33	
...
```

It seems '\|' should be somehow escaped. I tried to use \\\| but it doesn't work. What I'm doing wrong?


Answers:
author: Eduardo Alvarenga
body: Hello [@denis.kot](/t5/user/viewprofilepage/user-id/1989970)

jq needs a filter. Try something like this:

```
echo '{"a":"b"}' | jq -M .
```

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: denis.kot
body: Weird, in the console it's working without any filter
I need to uninstall remote agent
Asked by Dale Binkley:

I need to reinstall Bamboo remote agent on my server.


Answers:
author: Alexey Chystoprudov
body: What is your question?

comments: author: Dale Binkley
body: I would like to uninstall a remote agent from my server- Is there an uninstall executable? Do I just remove /home/bamboo and /op/atlassian directories? What action is needed to remove the agent?


author: Alexey Chystoprudov
body: It's enough to stop agent process and remove install and agent home folders. Also delete agent at Bamboo Server side at the list of Offline agents
XSRF token validation failed
Asked by Nellai Bill:

I have tried the below solution but it does not helped much

<https://community.atlassian.com/t5/Bamboo-questions/XSRF-token-validation-failed-bamboo-setup/qaq-p/1094466>

Could you please tell me how to resolve the problem?

XSRF token validation failed {#toc-hId--1183671691}
---------------------------------------------------

Unable to access this resource due to a failed XSRF check. Please ensure that a valid XSRF token is provided in the request.

Error code: XSRF_FAILURE_NO_TOKEN_IN_PARAMS


Answers:
author: Pramodh M
body: Hi [@Nellai Bill](/t5/user/viewprofilepage/user-id/4756258)

Welcome to the community ?

Are you accessing the server through a load balancer or proxy, be sure to enable the sticky session to persist the session.

The other reason could be base URL, access it through the base URL

Check with this KB as well

<https://confluence.atlassian.com/bamkb/bamboo-generates-xsrf-token-validation-failed-xsrf_failure_bad_token-error-765594442.html>

Let me know if it works

Thanks,

Pramodh
Bamboo Specs - Default Repository - documentation interpretation question.
Asked by Mark Wachdorf:

I have a question.

If you navigate to <https://docs.atlassian.com/bamboo-specs-docs/7.2.3/specs.html?yaml#plan>, there's a bullet that says "specifies the default repository.". Also in <https://docs.atlassian.com/bamboo-specs-docs/7.2.3/specs.html?yaml#task-repository-checkout> there's a paragraph on the use of the defaultRepository option.

I am wondering what this means?

More specifically, I have one repository that contains all of my bamboo specs. I have other repositories that contain my code.

My build plan contains a Checkout statement in the tasks section which allows me to specify a repository of code to build, but I don't get to specify the branch. (OK I think this means I use the linked repository to specify the branch)

This is working for my basic Develop code branch, but now I'm trying to get the Test branch to fire off a different set of tasks using the branch-overrides clause. I'm having trouble getting the plan to trigger these overridden blocks.

I've been experimenting with the branches statement and lately, the create plan branch function on the Plan branches page. When I create a branch I feel like it's assuming the branch is going onto my buildplan repository rather than my code repository.

The statement in the help file suggests that I can do something about specifying a default repository, but it doesn't go into detail, nor are there samples


Answers:
author: Alexey Chystoprudov
body: Default repository is first repository at plan's repositories list. Default repository is used for plan branches creation.
How many plans are needed to handle standard gitflow branching strategy?
Asked by Null:

I am implementing a CI project in bamboo using git / bitbucket / jira.

At the moment, I am trying to fit everything into one plan for building my project, handling release candidate, deployments etc.

I couldn't find any concrete example of how to implement a gitflow strategy in bamboo using plans, branching features, etc and would be great if I can have any pointers?

I did not want to have multiple plans because of maintenance but perhaps I would feel different about it if there was some kind of best practices around it which I am not able to find.

Could someone share their experience or what would be the best practices regarding bamboo plans?


Answers:
author: Phill Pafford
body: What I've done in the past

* 1 plan to build all branches
  * if master branch, checkout latest tag, then build
* depending on how many environments you have, set up each one to have it's own deployment
  * DEV environment, this will auto deploy any successful develop branch builds
  * QA environment, this will auto deploy any successful release\* branch builds
    * to deploy the correct release branch we had to manually update the trigger to auto deploy the correct release
    * NOTE: we removed the trigger that would auto deploy on successful build and manually did the release, we found this to be easier but it's not CI/CD
  * PILOT/BETA environment, this will auto deploy any successful master branch builds
    * NOTE: since on the build we checkout the latest tag we need to rebuild the master branch after we push a new tag
  * PROD environment, this is a manual deployment so we can deploy the correct build/tag/etc...

NOTE: any build artifact could be deployed to any environment, also we have dedicated QA and UAT teams for different environments


Tags: git

plan
Add Regions on status page (US/EU)
Asked by M Yawar Test:

Hi, I am looking to add multiple regions on the status page, so my user can see in which region the service is up/down. but I can see that option on the admin page.


Answers:
author: Shivam Naik
body: Hi [@M Yawar Test](/t5/user/viewprofilepage/user-id/4585629) ,

Happy to help!

Looking at a couple of examples here- <https://status.monday.com/>, <https://status.atlassian.com/>, and <https://www.cloudflarestatus.com/>, there are two ways of going about this.

The first option would involve top site level customization and connecting pages/components there like the Atlassian and Monday Statuspages have; essentially you'd have a Page, or set of component groups specific to them, for each region, and pipe in the data to a top level site page showing those region divisions so that the individual statuses would show for each respective region.

The second option would be to do what Cloudflare has and use different named Components and Groups as a means of showing different region results on your page.

If you are only wanting Users to see specific sets of Region-specific components, two different sites may be the best option with a top level view available so that you can keep that regional content separate from each other.

Please let me know if you have any follow up questions!


Tags: cloud
What happens if you reach the subscriber limit?
Asked by Rob Sidhu:

What happens to aspiring subscribers if you have reached your limit? For example, we have a limit of 5000 subscribers with our plan. What will the experience be for the aspiring subscribers past the 5000th? Will they be denied? Will our admins receive warnings to upgrade?


Answers:
author: Jesse Klein
body: Hello Rob,

This is Jesse from the Statuspage support team. Welcome to the community and thanks for the question about subscriber limits.

Once you get close to a limit, it will give you a warning that you are approaching the limit and to consider upgrading.

Once you hit the limit, it gives you another warning that you have reached the max and you should upgrade. We don't, however, prevent new subscribers from signing up because that could lead to a bad user experience.

It's based a lot on the honor system, however, we do see the numbers and we could reach out to ask to upgrade. Also, while we do not have any hard limitations in place as of now, this could change in the future.

For now, however, if you get a large influx of subscribers, rest assured, they will all still be able to subscribe.

Please feel free to reach out if you have any questions at all. I hope you have an excellent day!

Regards,  
Jesse


Tags: cloud
Can statuspage.io auto-create incidents based on our component availability?
Asked by Perry_Statham:

Does StatusPage.io have the capability to periodically query a REST API endpoint and auto-create an incident if it's not reachable?

Background:

We have a cloud service that keeps track of incidents and maintenance windows across our various components. It can use the StatusPage.io API to reflect them on our pages.

What if our cloud service is not available? How would a StatusPage.io incident get created showing that we're down?

Is this something for which we need to depend on a third party (such as New Relic)?


Answers:
author: Jesse Klein
body: Hello again Perry,

Thanks for this question to the community as well. Statuspage does not have any monitoring features associated to it in the sense that it would query any APIs like a heartbeat would. Statuspage is an incident communication tool first and foremost so a lot of tools can give Statuspage that information to show that an incident exists.

That being said, we do integrate with tools like Opsgenie, which can do monitoring. If your heartbeat fails in Opsgenie, for example, an incident can be created and sent to Statuspage. Without some intermediary tool in place, Statuspage wont be able to create incidents via monitoring.

One thing to point out as well is that you could post the incident manually to your Statuspage once you see a problem occur. We highly recommend this transparency to inform your stakeholders when there is an issue like an outage. The benefit is that Statuspage is separate from your system so that if your system is down, Statuspage shouldn't be.

Hopefully that helps answer the question. Please let me know if you need any more clarification.

Regards,  
Jesse
OpenID Connect SSO for Audience-Specific pages?
Asked by Perry_Statham:

Can we use OpenID Connect (OIDC) for single sign-on to our own identity provider IdP to determine which audience-specific pages are shown and their content?

If not OIDC, what protocols are supported?


Answers:
author: Jesse Klein
body: Hello Perry,

This is Jesse from the Statuspage support team. Welcome to the community! I took a quick look at some of the documents we have and it appears the only protocol we support is SAML for audience specific pages. We also do support Google Auth but that is in its own little category on Statuspage.

Here is the documentation for setting up SSO with SAML using Okta as the example: <https://support.atlassian.com/statuspage/docs/require-saml-for-audience-specific-pages/>

Right now, it does not appear that we will be adding support for other protocols at this time. Please let me know if you have other questions or need any clarification.

Regards,  
Jesse
How to get uptime using API?
Asked by Holger Kreissl:

Hi,  

i am new to statuspage and I am looking for a way to retrieve or calculate the monthy uptime (historical and current month) using the statuspage rest API. I know about the uptime method, but i cannot find a way to fetch the historical data.

<https://api.statuspage.io/v1/pages/xxxxxx/components/xxx/uptime>  

How would you do that?  

Kind regards,  
Holger


Answers:
author: Holger Kreissl
body: found the start and end parameters. I think that answers my question :)
Unsubscribe from notifications
Asked by john.ofarrelly:

Im receiving notification from JIRA because im a member of a distribution list registered to receive updates.

Is there a way for me to 'unsubscribe' myself from these notifications while not impacting the others on the email distribution list!?


Answers:
author: Jesse Klein
body: Hello John,

This is Jesse from the Statuspage support team. Welcome to the community and thank you for the question around distro lists and subscriptions. The short answer is no. If you unsubscribe, you essentially will affect the whole list. The best answer for this is to reach out to your admins to let them know they should not use lists. We do not recommend using lists for this reason. What you could do, it make a filter in your mail to send all notifications into a different mailbox so that you at least don't see the emails.

Thanks for the question. I hope you have a wonderful day!

Regards,  
Jesse
Can't create Statuspage trial account using existing Atlassian account/site
Asked by Dmitry Vlasov:

Hi,

I'm trying to add Statuspage product to an existing Atlassian site and getting error

Steps to reproduce:

- <https://www.atlassian.com/software/statuspage> click to "Get it free" button

- see my current Work email and Your site, click "Agree and start now" button

- redirected to the statuspage login (<https://manage.statuspage.io/login>), there is a popup "Your account isn't linked to Atlassian yet :("

- can't log in using Atlassian's login/password


Answers:
author: Chris DeGidio
body: Hi [@Dmitry Vlasov](/t5/user/viewprofilepage/user-id/4579315)

It will be best to get this request into our support team. You should be able to login at support.atlassian.com and provide us with the relevant information in order to look into this for you. There could be a chance that the SP product already exists within the Atlassian cloud site. You can confirm this by logging in at admin.atlassian.com

We look forward to hearing from you and working with you on this.


Tags: cloud
Updating a component using API
Asked by choi:

Hello

I want to update components on the StatusPage using webhook from another service.  
But I can't update the components.

I set it up like this

----------

?URL  
<https://api.statuspage.io/v1/pages/{page_id}/components/{component_id}?api_key={api_key>}

?Payload  
{  
"component": {  
"status": "{status name}"  
}  
}

----------

Do you have any idea what's wrong?  
It is possible to change the status of a related component using the Incident Creation API.  
so There is nothing wrong with {component_id} and {api_key}

Appreciate any assistance


Answers:
author: Dave Parrish _Atlassian_
body: Hey [@choi](/t5/user/viewprofilepage/user-id/4577784)! For that [endpoint](https://developer.statuspage.io/#operation/patchPagesPageIdComponentsComponentId), make sure you're using the PATCH method (not POST). Does that do the trick?

comments: author: choi
body: Hi [@Dave Parrish _Atlassian_](/t5/user/viewprofilepage/user-id/853503)

thank you for reply.  
in case using Curl, Specify PATCH using the (-X) option.

But in case using payload,  
Both [PATCH Update a component](https://developer.statuspage.io/#operation/patchPagesPageIdComponentsComponentId) and [PUT Update a component](https://developer.statuspage.io/#operation/putPagesPageIdComponentsComponentId) have the same sample content type.

How can I make user I'm using the PATCH method?  

Thanks!


author: choi
body: I found that only POST is possible where I'm using webhook


Tags: api

component
change incident status name
Asked by m Dubois:

Hello,

By default, there are 4 following incident status name  
Investigating, Identified, Monitoring, Resolved.  
Can I change this status name to something else?

Thanks.


Answers:
author: Jesse Klein
body: Hello there,

This is Jesse from the Statuspage support team. Welcome to the community! Incident names cannot be changed natively in the application but if you have access to using custom code, determined by what tier service you have, you might be able to edit the names. While I don't have any examples due to the nature of custom code, we do have some examples of custom code here: <https://support.atlassian.com/statuspage/docs/css-and-javascript-snippets-for-customizations/>

Hopefully that helps get you started. I hope that you have a great day!

Regards,  
Jesse


Tags: incident
Change colors of posts in Slack?
Asked by mlovasco:

It's always bugged me that every post from Statuspage.io to Slack has a yellow bar... can that be changed to reflect the status of an incident? Red=Outage, Yellow=Investigating, Green=Resolved, etc??


Answers:
author: Steffen Opel _Utoolity_
body: Hi [@mlovasco](/t5/user/viewprofilepage/user-id/4576146), welcome to the Atlassian Community!

Other than the more advanced option to [Use custom CSS on a status page](https://support.atlassian.com/statuspage/docs/use-custom-css-on-a-status-page/), the built-in option to customize the colors for *"both your status page and email notifications* " is apparently not documented within [Create and customize your status page](https://support.atlassian.com/statuspage/docs/create-and-customize-your-status-page/), but available in the administrative UI via the 'Customize page and emails link' regardless:

![CAC-1818535.png](https://community.atlassian.com/t5/image/serverpage/image-id/162900i88A397FD368E64AC/image-dimensions/425x437?v=v2 "CAC-1818535.png")

Please note though that this requires at least 'Basic customization' support, which means it's probably *not* included in the free [plan](https://www.atlassian.com/software/statuspage/pricing) right now.

Cheers,  
Steffen


Tags: cloud
Evaluation Questions
Asked by Maurice Horan:

Hi,

I'm currently in the initial stages of evaluating Status page and I have some questions:

1. If I wanted to have a public page for the majority of our customers but a separate, restricted page for one particular customer is this possible?
2. What is the best way to send out email notifications to a particular set of customers - say for a particular product?
3. Finally, the definition of subscribers is someone who I add as a subscriber or someone who subscribes to the updates via the Status page? We will initially just be using email notifications, the statuspage itself and twitter

Appreciate any assistance


Answers:
author: Jesse Klein
body: Hello Maurice,

This is Jesse from the Statuspage support team. Welcome to the community and thanks for the questions. Let me see if I can help answer these questions for you:

1. If I wanted to have a public page for the majority of our customers but a separate, restricted page for one particular customer is this possible?  
   You can have multiple pages but each page is billed separately. In a case like this, you can have a public page and a private page.  

2. What is the best way to send out email notifications to a particular set of customers - say for a particular product?   
   If you are on a public plan at the business tier or higher, you can utilize component subscriptions. This would allow your subscribers to subscribe to only particular things they are interested in receiving notifications. Unfortunately, without component subscriptions, all notifications are sent to everyone on the subscribers section. To learn more about component subscriptions, check this out: <https://support.atlassian.com/statuspage/docs/enable-component-subscriptions/>  

3. Finally, the definition of subscribers is someone who I add as a subscriber or someone who subscribes to the updates via the Status page? We will initially just be using email notifications, the statuspage itself and twitter  
   I think I understand the question. Are you wondering who is considered a subscriber? This article breaks down what counts: <https://support.atlassian.com/statuspage/docs/how-are-subscribers-counted/>  

Hopefully that all helps out for your questions but if you need any clarification, I would be happy to respond back! I hope you have an excellent day!

Regards,  
Jesse


Tags: cloud