youngmon/atlassian-qna huggingface dataset:
How to exit npm test in Bamboo Spec plan?
Asked by Chong Jing Hong:

I'm running `npm run test` in my Bamboo Specs. The test runs fine but after it completes, the job just stops and hangs. Is there a way to 'Ctrl + C' like in command line to exit the jest test?

My bamboo.yaml can be found [here](https://community.developer.atlassian.com/t/how-to-exit-npm-test-in-bamboo-spec-plan/57496)


Answers:
author: Anonymous Coward
body: Simon says:

\` Have you tried to upgrade watchman: <https://github.com/facebook/jest/issues/4529> \`

Simon out.


Tags: npm

spec
Cannot save Bamboo log as artifact
Asked by Vince Pastorella:

I have a local version of Bamboo set up and I've been following the directions [here](https://confluence.atlassian.com/bamkb/how-to-save-a-build-log-as-an-artifact-892498832.html) to try to save my build log to an artifact.

I use the code in a script:

curl -u admin:admin <http://localhost:6990/download/${bamboo.buildKey}/build_logs/${bamboo.buildResultKey}.log> \> output.txt

Running the build job gives me an artifact that's 0 bytes

<br />

When I set up the Bamboo Artifact the name is output and the copy pattern I've tried \*.txt, output.txt and several other versions but nothing gives me the build log output.

Is there something else I need to do to get this working correctly?


Answers:
author: Eduardo Alvarenga
body: Hello [@Vince Pastorella](/t5/user/viewprofilepage/user-id/4873585)

Welcome to **Atlassian Community!**

Thank you very much for pointing out that issue! We have worked internally and provided an updated version of that KB article. Please follow the instructions and let us know if you find anything unusual.

* [How to save a build log as an artifact](https://confluence.atlassian.com/bamkb/how-to-save-a-build-log-as-an-artifact-892498832.html)

Kind regards,

Eduardo Alvarenga  
Atlassian Support APAC
What are the plan/job limitations for Bamboo Datacenter?
Asked by Bob Rzadzki:

We're exploring a migration from Bamboo Server to Bamboo Datacenter, and the primary reason is that we need more available plans as the team scales. However, I haven't been able to find anything about plan limits in Datacenter.

Does Bamboo Datacenter have a plan/job count limit?


Answers:
author: Eduardo Alvarenga
body: Hello [@Bob Rzadzki](/t5/user/viewprofilepage/user-id/331547)

The number of plans/jobs is linked to the type of licence you have.

**New Data Center licences are of type "v2", meaning they have unlimited jobs/plans and only impose limits on the number of Agents that can be run.**

Due to the private nature of this, It is not recommended to discuss such a matter in a public forum. We advise you to reach out to our Customer Advocate team at <https://support.atlassian.com/contact> in case you have questions regarding the type of licence you are using.

You can also find more about Bamboo licensing [here](https://www.atlassian.com/licensing/bamboo).

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: Bob Rzadzki
body: Thank you for clarifying, Eduardo.

Is this information available anywhere in the sales materials so I can share it with our finance department?


author: Eduardo Alvarenga
body: Hey [@Bob Rzadzki](/t5/user/viewprofilepage/user-id/331547), thanks for the reply!

You can find it here:

<https://www.atlassian.com/licensing/bamboo#how-is-bamboo-server-licensed>

A Bamboo commercial/academic/starter license entitles you to:

* Deploy a single installation of Bamboo in a production environment on one server
* **Local agents and/or remote agents, as per edition**
* **Unlimited projects and users**
* Perpetual Bamboo use
* Software maintenance for 12 months - including all updates and online support
* Application source code (under a developer source license which allows for broad customization)


author: Bob Rzadzki
body: Exactly what I needed. Thank you!


author: Eduardo Alvarenga
body: [@Bob Rzadzki](/t5/user/viewprofilepage/user-id/331547) I'm glad to help.   

Please set this question as "Solved" if you are happy with the results.
How to delete Bamboo Specs plan?
Asked by Chong Jing Hong:

I have a Bamboo Specs plan that is linked to a Bitbucket repository. I want to delete it but I can't find a delete button anywhere. I've managed to disable it by unlinking the repo in Bamboo Administration but how do I delete the plan?


Answers:
author: Alexey Chystoprudov
body: Go to plan's config, then choose Delete button top right buttons stack

comments: author: Chong Jing Hong
body: Hey [@Alexey Chystoprudov](/t5/user/viewprofilepage/user-id/781646) , there's no delete button.

<https://imgur.com/a/DQZpTna>


author: Alexey Chystoprudov
body: it looks like you need instance admin help, when specs was processed permissions for non-admin user was not configured.


author: Chong Jing Hong
body: [@Alexey Chystoprudov](/t5/user/viewprofilepage/user-id/781646) thanks!


Tags: spec
Is it possible to have a single bamboo installation that caters for multiple instances
Asked by Marnus van der Schyff:

We trying to setup a single bamboo installation with multiple instances for each business unit to sign in.

For example, we have team1, team 2 and team3. All the teams sign in to the same bamboo to their own instance. For each team they have their own set of build agents, build plans and deployment plans.

At the moment we have 5 bamboo's, and each bamboo has 5 dedicated build agents. So we want to collapse the 5 bamboo's, but still have a logical split for each business unit.


Answers:
author: Eduardo Alvarenga
body: Hello [@Marnus van der Schyff](/t5/user/viewprofilepage/user-id/4858574),

Welcome to **Atlassian Community!**

You can surely have a single Bamboo instance that would be cross-functional operating on multiple business units, each one running its own set of Agents.

To accomplish that, you'll need.

* A Bamboo licence that would support the desired number of agents
* Plan and Define sets of [Dedicated agents](https://confluence.atlassian.com/bamboo/dedicating-an-agent-629015108.html) across your Builds and Deployments

When dedicating Agents, you can categorise them at the following entity levels:

* Build
  * Project
  * Plan
  * Job
* Deployment
  * Project
  * Environment

**For example:** considering you have 3 teams, you can create 3 Projects named "Team 1", "Team 2" and "Team 3" and dedicate 5 remote agents per project. This way each Project will have an independent set of 5 build/deployment agents that will be isolated from each other and won't compete for resources outside of their Project scope.

That's a very simple example, you can customise it at deeper levels when using Plans or Jobs.

**Alternatively** , you can define [custom capabilities](https://confluence.atlassian.com/bamboo/defining-a-new-custom-capability-289277149.html) named "Team 1", "Team 2" and "Team 3" on your agents and add them as a [requirement at the Job level](https://confluence.atlassian.com/bamboo/configuring-a-job-s-requirements-289277064.html). Using capabilities allows a bit more flexibility as you can have "soft-dedicated" agents but also use any free resources for other non-dedicated builds or deployments that don't need to be bound to a specific agent.

Cheers,

Eduardo Alvarenga  
Atlassian Support APAC
Jira Core - Supported platforms - Java 17
Asked by Laith Ata:

Hi everyone,   

when atlassian will support the new Java Version (Java 17). Is there a roadmap which give some insights?

Thanks in advance for any help.

Kind regards,  
Laith


Answers:
author: Ryan Goodwin
body: +1 On this for all recent versions. Java 17 has been around for some time now and has been reported \~8% more performant than v11. Would love a free boost to the runtime engine.


author: Jonny Carter
body: <https://www.atlassian.com/roadmap/data-center> is the best place for the roadmap, but no real mention of Java 17.


Tags: java

jira-core

supported-platforms
Checking out revision causes fatal: not a git repository (or any of the parent directories): .git
Asked by Stephen Reece:

Hello,

We recently migrated Bamboo to a new server The version (8.0.4) stayed the same. We use Bitbucket 7.17.1 as our git repo. Bamboo runs as a Windows service using a domain user that is local admin on the VM. I've also manually set the service account to have Full Control over the working directory.

The working directory was changed to /workdir after migrating to give us a few more characters to avoid path length limits, and the Git version is 2.33.1. We downgraded from 2.35.1 in case there was an issue with that version.

When a plan runs, we see the following:

```
simple	04-Apr-2022 10:29:28	Starting task 'Checkout ProductDocs' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'simple	04-Apr-2022 10:29:28	Checking out into F:\Bamboo_Builds\Bamboo-home\workdir\OPS-RAFVGCR-JOB1\ProductDocssimple	04-Apr-2022 10:29:28	Updating source code to revision: 3ee3f01de05d1227d8e6cabca0adf3af8ed35b4csimple	04-Apr-2022 10:29:28	Fetching 'refs/heads/master' from 'ssh://git@bit.paragonedge.com:7999/pt/productdocs.git'.simple	04-Apr-2022 10:29:28	Warning: Permanently added '[127.0.0.1]:59799' (RSA) to the list of known hosts.simple	04-Apr-2022 10:29:29	Checking out revision 3ee3f01de05d1227d8e6cabca0adf3af8ed35b4c.simple	04-Apr-2022 10:29:29	fatal: not a git repository (or any of the parent directories): .giterror	04-Apr-2022 10:29:29	Checkout to revision 3ee3f01de05d1227d8e6cabca0adf3af8ed35b4c has failed.
```

This is happening on multiple repos, but not all. We have tried deleting the cache in Bamboo, stopping Bamboo, deleting the contents of the git cache in the working directory, and restarting Bamboo, adding the service account to the working directory and cache with full control, and downgrading the Git install in case that was causing an issue.

Really not sure where to go from here. We have a ticket open, but maybe this will be faster?  

Thanks!


Answers:
author: Vincent B
body: Hi Stephen,

I have the same behavior on a specific build plan. Did you solve your problem?

-Vincent


Tags: bitbucket
How can I start the Bamboo local agents automatically
Asked by Miguel A_ Moreno:

Hi all,

I will explain my case so that the context can be understood.

My company over the weekend, for cost reasons, shuts down several AWS instances, including the one containing the Bamboo database. On Monday this server is turned back on but the local agents stay in the Offlline state.

I understand this status change is due to downtime.

Is there a way to extend the downtime time configured for agents?  
If it is not possible, is there a way to automatically activate them without having to access the Bamboo console?

Thanks in advance.

Greetings


Answers:
author: Eduardo Alvarenga
body: Hello [@Miguel A_ Moreno](/t5/user/viewprofilepage/user-id/4171382)

In Bamboo, local agents will be put offline after hitting 10 errors (this value is hardcoded), so once your database is offline, there will be no easy way to recover from the errors.

Ideally, it would be better if you could also shut down Bamboo before your DB server is put down, and start Bamboo only when it is back. This will allow you a seamless recovery of your previous state and also prevent further application/db sync issues.

Depending on what version of Bamboo you are running, you can also use the REST API to issue certain agent online/offline commands.

For example:

* <https://docs.atlassian.com/atlassian-bamboo/REST/8.0.4/#d2e6249>

It is also recommended that you consider using [Remote Agents](https://confluence.atlassian.com/bamkb/difference-between-local-agents-and-remote-agents-457703602.html) as they are resilient and can survive a Bamboo Server outage.

Regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: Miguel A_ Moreno
body: Hello [@Eduardo Alvarenga](/t5/user/viewprofilepage/user-id/4365410)

Thank you very much for your answer. It seems to me that the most logical option is to shut down the Bamboo server.

Greetings!


author: Reneesh Kottakkalathil
body: I had a similar problem. Any idea where the local agent path on the server?
Do subscribers remain if you change Component Group name?
Asked by Nick Taylor:

If I change a component group name, will that just update the text - or will it have a knock-on effect for subscribed users to that group, or it's individual components?


Answers:
author: Talar Pavlovic
body: Hi there Nick,

Thanks for writing into Statuspage Community, I'm Talar from the Atlassian team, happy to help.

Changing the name of a Component Group will not change the Components in it, nor the subscriptions to it - it's just a cosmetic change of the name of that group.

Hope this helps!

Regards,  
Talar

comments: author: Helen
body: Would this also consider being a cosmetic change and does not affect subscription?

1. Changing the name of the Components under a group

2. Moving components to a different Component Group

Thank you


author: Talar Pavlovic
body: Hi Helen!

Thanks for writing in to Community!

1. Changing the name of components - definitely

2. Moving components to a difference group - potentially, let me explain.

If you have a Public or Private Page, then moving a component to different groups will not affect your subscribers or page viewers.

If you have an [Audience-Specific page](https://support.atlassian.com/statuspage/docs/what-are-audience-specific-pages/), it will! You'll need to ensure the correct users have access to the correct groups so they can still see all the components they should see.

All page types are explained here - <https://support.atlassian.com/statuspage/docs/read-the-statuspage-user-guide/#Page-types>

Hope this helps!   
Talar


Tags: cloud
How do you view incident alert email/notification open rate?
Asked by Bharathi Kakilate:

When users are subscribed to the alerts on the status page, how can we view the email/subscription open rate to identify how many users have actually viewed the notification that was triggered?

Understanding the email open rate will help us assess the value in our efforts spent in sending notifications and co-relate ticket generation rate during incidents.


Answers:
author: Talar Pavlovic
body: Hi there Bharathi,

Thanks for writing into Statuspage Community, I'm Talar from the Atlassian team, happy to help.

At this time there isn't a way to see the "open rate" - having said this, we have a feature request in place with our product team requesting the option to be added. I have gone ahead and added your request to this ticket which will help its visibility.

Hope this helps.

Regards,  
Talar

comments: author: Shiran Manor
body: Hi Team,   

Is there are any updates regarding this? we would like to view the open rate of the emails sent to get engagement stats.


author: Talar Pavlovic
body: Hi there Shiran,

To be completely honest with you, at this time our Engineering and Product teams are working through other priorities.

Although this feature is not a priority right now, it is still on the back burner to be investigated further at some point.

I have added your use case and request to the ticket to help its visibility with our Engineering and Product teams.

Regards,  
Talar


Tags: cloud
Webhook does not fired
Asked by O D:

Hi!

I have simple http-server which accept POST-messages (aka Webhooks) and proccessing them.

It tested by cURL and other 'statuspage-like' products - Works perfect.

But with Statuspage (Atlassian) - subscribed webhooks does not work. At same time users with email-notifcations receive messages.

No one network packet (listen by tcpdump) delivered on event (incident, maintenance)

Any suggestions ?


Answers:
author: O D
body: Today webhook created yesterday works.

Creating new one (with changed address) - not working

Does this mean webhooks really activating later then some amount of hours ?


Tags: cloud

webhook
I want to change default messages
Asked by choi:

Hello,

Each of the 4 status of Incident and Maintenance has a default message.  
for example, default message "In Progress" maintenance status is "Scheduled maintenance is still in progress. We will provide updates as necessary."  
How can I change this default messages?

Thanks.


Answers:
author: Fernando Eug?nio da Silva
body: [@choi](/t5/user/viewprofilepage/user-id/4577784) ,

For a start, you might want to check where this notification is configured.

Some verification suggestions are:

Access the project settings and click on "Customer Notifications", in this place it separates the notifications sent to customers. If you have any custom notifications with the comment you indicated, this is where you can change or create a new one.

If you don't identify it in the "Customer notifications", you can check the flow, if in the transition there is no post function that makes this notification.

Or you can even check the automation rules if there's anything set up to do so.

By locating where this notification is made, you can edit it.

comments: author: Arseniy Grusha
body: sorry, but I can't find any options like in your post on status page site...


author: Petar Stanojevic
body: Has anyone been able to change the default messages? I also cant find the options suggested in the solution
Is there an option to create an Incident automatically based on system metrics
Asked by Somesh NV Nistala:

I am a novice to statauspage on the complex use-cases.

My intent is to auto create incidents based on the stauspage system matrices with the desired limits/threshold or martics patterns. If yes, could you help me with a reference in this regard.

If the option is not available currently with the statuspage , could you please share your thoughts on achieving it.


Answers:
author: Ronnie Kingston
body: Hello Somesh,

At the moment, we don't have any direct method to automatically raise an incident in Statuspage from the thresholds set up in the system metrics.

We do have a feature request for this and I have added your request to that.

Best Regards,  
Ronnie


Tags: cloud
HTTPS, but showing insecure web page
Asked by Trent Lester:

Hi,

We have enabled our status page to use HTTPS, but don't have the option to upload our own certificate to make it valid?

Please assist?

Kind Regards,


Answers:
author: Robert
body: Hi [@Trent Lester](/t5/user/viewprofilepage/user-id/4663719) !

Statuspage will provision a certificate for your custom domain if it's verified - there's no need to upload your own certificate:

<https://support.atlassian.com/statuspage/docs/set-a-custom-domain-and-ssl/>

If your page doesn't show HTTPS after enabling it, please open a support ticket with our Statuspage team over at <https://support.atlassian.com> so we can take a closer look!

Hope this helps!


Tags: cloud
Statuspage Promethus Integration API error: {"error":"No metrics were specified, or unable to locate
Asked by Somesh NV Nistala:

Trying to Integrate the Statuspage with Prometheus using the following GO based code.  
<https://github.com/itering/prometheus-statuspage-pusher>

1. deployed the dockerized image as in the kubernetes cluster as a pod to query the prometheus and push the metrics to Statuspage

2. added ametic on the status page with "I will submit my own data for this metric "option

3. crated the prometheus query file with the metricID in the qury.yaml files

4. Run the pod by supplying the statuspage IP\< page ID, prometheus url and and qury.yaml file ( which contains quirt and metic ID)

/usr/bin/prometheus-statuspage-pusher -config "/app/queries.yaml" -prom "\<Prometheus URL\>" -pageid "\<statuspage page ID\>" -apikey " \<StausPage API key\>"

Result

which pushing the metrics to statuspage , getting HTTP status 403, API error

INFO\[0000\] Started to query and pushing metrics  
ERRO\[0000\] Expected single time serial, got 0 backfill="\<nil\>" metric_id=3l44xxxxcp  
INFO\[0000\] Pushing metrics:  
ERRO\[0000\] HTTP status 403, API error: {"error":"No metrics were specified, or unable to locate metrics with the specified ids."}

Could you please share your inputs on error (HTTP status 403, API ) while pushing the data


Answers:
author: Somesh NV Nistala
body: The issue got resolved after updating API URL for Adding data to a metric

<https://api.statuspage.io/v1/pages/{page_id}/metrics/{metric_id}/data>


Tags: cloud
StatusPage Promethus Integration API error: {"error":"No metrics were specified, or unable to locate
Asked by Somesh NV Nistala:

Trying to Integrate the StatusPage with Prometheus using the following GO based code.

<https://github.com/itering/prometheus-statuspage-pusher>

1. Deployed the dockerized image as in the kubernetes cluster as a pod to query the Prometheus and push the metrics to StatusPage

2. added a metric on the status page with "I will submit my own data for this metric "option

3. crated the Prometheus query file with the metricID in the query.yaml files

4. Run the pod by supplying the StatuPage ID\< page ID, Prometheus url and and query.yaml file ( which contains quirt and metric ID)

/usr/bin/prometheus-statuspage-pusher -config "/app/queries.yaml" -prom "\<Prometheus URL\>" -pageid "\<StatusPage page ID\>" -apikey " \<StausPage API key\>"

Result

which pushing the metrics to statuspage , getting HTTP status 403, API error

INFO\[0000\] Started to query and pushing metrics  
ERRO\[0000\] Expected single time serial, got 0 backfill="\<nil\>" metric_id=3l44xxxxcp  
INFO\[0000\] Pushing metrics:  
ERRO\[0000\] HTTP status 403, API error: {"error":"No metrics were specified, or unable to locate metrics with the specified ids."}

Could you please share your inputs on error (HTTP status 403, API ) while pushing the data


Answers:
author: Ronnie Kingston
body: Hello Somesh,

Thanks for the details. It looks like this issue is isolated to your Statuspage instance integration with Prometheus.

May I please request you to log a support ticket with us via support.atlassian.com and we can check further.

Regards,  
Ronnie


Tags: cloud
History
Asked by Dror Lavie:

Hi all,

If I disable the history view, will its data be deleted? I mean, If I'll enable this feature in the future, will the data be available?

Thanks.


Answers:
author: Jesse Klein
body: Hello Dror,

This is Jesse from the Statuspage support team. Welcome to the community and thanks for the question about disabling the history view. Disabling the incident history will not remove the data but it will be hidden from view. The same would go for your uptime showcase history. The data is maintained for either of those scenarios.

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

Regards,  
Jesse


Tags: cloud