youngmon/atlassian-qna huggingface dataset:
Log lines are deliberately coloured
Asked by Aleksandr Vinokurov:

Build logs are coloured (in read chunks, not line-by-line):

```
build	16-Aug-2021 13:30:01	[91mSLF4J: Class path contains multiple SLF4J bindings.build	16-Aug-2021 13:30:01	SLF4J: Found binding in [jar:file:/home/java/.cache/coursier/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-simple/1.7.21/slf4j-simple-1.7.21.jar!/org/slf4j/impl/StaticLoggerBinder.class]build	16-Aug-2021 13:30:01	SLF4J: Found binding in [jar:file:/home/java/.cache/coursier/v1/https/repo1.maven.org/maven2/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]build	16-Aug-2021 13:30:01	SLF4J: Found binding in [jar:file:/home/java/.cache/coursier/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.7.10/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]build	16-Aug-2021 13:30:01	[0m[91mSLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.build	16-Aug-2021 13:30:01	[0m[91mSLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
```

The question: how to remove \`\[0m\[91m\` colouring codes and keep logs plain-text?


Answers:
author: Aleksandr Vinokurov
body: Looks like the cause of the coloured blocks is docker (in Docker task) which colours stderr with red when not using buildkit.

I ended up enabling the later (via env var \`DOCKER_BUILDKIT=1\`), which ended up Bamboo treating the whole output of the Dockerfile RUN commands as _errors_... but that didn't mess the plaintext logs.


author: Nic Brough -Adaptavist-
body: This is something your build process is putting into the logs, not Bamboo (unless you've modified Bamboos settings to make it do this)


Tags: format

log
Stop building branch when plan is created only on pull requests
Asked by GreedyAI:

Hello,   
we are using 7.1.2 bamboo. We have 2 plans. One is specific for PR-s and another is specific to Branches. The issues it that. Develop branch, which is the default branch on bamboo, keeps building on changes on PR plan and therefor fails.

how can I stop the default branch build on the Pull request plan?  

I would change default branch to something else, but technically I don't want to have default branch. I want the plan to run only when pull request is created and be disabled otherwise.


Answers:
author: Marcin Gardias
body: Disable the default branch. Disabling the default branch does not disable automatic branch detection and the branch build will still run.

comments: author: GreedyAI
body: the default branch doesn't appear on plan branches list :/


author: Marcin Gardias
body: What I meant is you go to Plan configuration, click Actions, click "Disable plan". This disables the 'default branch' but does not disable all the other branches.


author: GreedyAI
body: I think that worked. thanks alot!
Bamboo server freezes the build server regularly
Asked by Bjorn Harvold:

Working on 7.2.4, our server becomes unresponsive on a regular basis.

We are running it on the latest Ubuntu as a service. Looking at the logs, there is definitely something wrong.

[https://www.dropbox.com/s/ir3und8e8nwnxrb/bamboo_log.zip?dl=0](https://www.dropbox.com/s/ir3und8e8nwnxrb/bamboo_log.zip?dl=0 "catalina.out")

[Bamboo support ZIP](https://www.dropbox.com/s/5pybpngby3hikkr/Bamboo_support_2021-08-14-09-36-37.zip?dl=0)


Answers:
author: Eduardo Alvarenga
body: Hey [@Bjorn Harvold](/t5/user/viewprofilepage/user-id/712360)

Thank you for reaching out to **Atlassian Community**!

Please try following the procedure found here:

* [Unable to compile Soy template in plugin module](https://confluence.atlassian.com/bamkb/unable-to-compile-soy-template-in-plugin-module-830283556.html)

If that doesn't work, I recommend you reach out to the [Atlassian Customer advocates team](https://www.atlassian.com/company/contact/purchasing-licensing) looking to migrate your Started License to one that would provide you with a proper Bamboo commercial support entitlement and then open a case at <https://support.atlassian.com>.

**Note**: it is highly recommended to NOT publish any Support Zips publicly as it may publicly expose restricted information.

Sincerely,

Eduardo Alvarenga  
Atlassian Support APAC
Grant permission to bamboo project and plan using rest API
Asked by Kishore Kannan:

Hello All,

I am trying to automate the process of providing permission to bamboo project/plan using rest-api.

I am able to provide project permission using below curl command.

curl -X PUT -u username:password -H "Content-Type: application/json" -d "\[ \\"READ\\", \\"CREATE\\",\\"ADMINISTRATION\\"\]" {Bamboo_URL}/rest/api/latest/permissions/project/{PROJECT_KEY}/users/{USER_NAME}

Also I am able to provide individual plan permission using below curl command

curl -X PUT -u username:password -H "Content-Type: application/json" -d "\[\\"READ\\",\\"WRITE\\",\\"BUILD\\",\\"CLONE\\",\\"ADMINISTRATION\\"\]" {Bamboo_URL}/rest/api/latest/permissions/plan/{PLAN_KEY}/users/{USER_NAME}

I want to provide access to all plan in the project through "Plan Permissions" in project setting. I am not able to find the correct api URL for doing it. Can you please help with the rest-api URL to provide "Plan Permissions" in Project setting.

![Plan permission - Bamboo Project.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/155996i2B2A8A01975ACE62/image-dimensions/172x236?v=v2 "Plan permission - Bamboo Project.PNG")

Thanks in advance


Answers:
author: Kishore Kannan
body: Hi,

Projectplan permission can be provided through below API URL.

curl -X PUT -u admin:password -H "Content-Type: application/json" -d "\[\\"READ\\", \\"WRITE\\", \\"BUILD\\", \\"CLONE\\",\\"ADMINISTRATION\\"\]" {Bamboo_URL}/rest/api/latest/permissions/projectplan/{PROJECT_KEY}/users/{USER_NAME}

You can refer this documentation as well [projectplan permissions](https://docs.atlassian.com/atlassian-bamboo/REST/7.2.4/#d2e358)

Thank you

comments: author: krishnateja
body: Hi Team ,

We are trying to implement to grant project permission to the user using powershell , and we are stuck in how to pass this values "\[ \\"READ\\", \\"CREATE\\",\\"ADMINISTRATION\\"\]" to a rest api

this below is the powershell syntax

$jParams = @{  
Uri = (\<bambooURL\>, rest/api/latest/permissions/project/ -join "/") + "\<ProjectName\>" + "/users/" + "userID"  
Method = 'PUT'  
Headers = $jHeaders  
}

How to pass this values "\[ \\"READ\\", \\"CREATE\\",\\"ADMINISTRATION\\"\]" to below command

try {  
$bambooProjectAdminAddDataResponse = Invoke-RestMethod @jParams -ErrorAction Stop  
}

Please assist us if anyone has suggestion how to achieve this


Tags: api

permission

rest-api
Statuspage Ignoring New Relic Emails
Asked by Clem Van Der Walt:

Hi everyone,

I am experiencing an issue where New Relic Alerts (set up by using the statuspage guides) are IGNORING some of my alerts and then it looks as if my site is offline for hours on end, where it was merely offline for a few minutes (due to upgrades that I am doing at that time).

So, I would take a site offline for 5-15 minutes (because I run composer commands / Magento 2 related scripts which puts the site into a maintenance mode and it will return a 502 for the front-end web user. ) and I can see New Relic sending the alert to statuspage. That works fine. When I take the site back online. It registers that the site is up again. This all works 100%.

However, yesterday at about 6:16PM GMT+2, the site went offline temporarily as our hosting partners were doing maintenance on their side, the site was offline for not even 120 seconds, but Statuspage ignored the email stating the site was online.

<br />

After that, I get an alert that the site has been offline for 12+ hours and it needs further investigation.   

So I go onto statuspage and see that it IGNORED the email which states the site is online.

Any way to fix / remove these metrics so that it shows my site has actually been online 99.99% of the time?


Answers:
author: Mark Campbell-Vincent
body: Hi [@Clem Van Der Walt](/t5/user/viewprofilepage/user-id/4224030) -

We'll most likely need a bit more information(screenshots on the New Relic side) to better understand what is happening. If you could [create a ticket](https://support.atlassian.com/statuspage/) with Statuspage support, we can try to see if anything can be done regarding this.

Thanks in advance!
Setup 'Minor outage' to StatusPage via NewRelic integration
Asked by Priyadarshini R Kolwalkar:

Hello,

I currently have a NewRelic alert notification to update StatusPage for a major outage.

But I'm trying to send a customized payload to update the status instead to a "Minor outage". The default payload is always a "Major Outage" <https://support.atlassian.com/statuspage/docs/set-up-new-relic-alerts-parsing/>.

I want to know how I should setup my custom payload in the webhook to achieve this? What should be values in Basic Auth? Is that the username/password for StatusPage? How about the custom headers? Should the Base URL be the specific component url?

Thanks,

Priya![NewRelic webhook.png](https://community.atlassian.com/t5/image/serverpage/image-id/132505iA1420C06379605E0/image-size/large?v=v2&px=999 "NewRelic webhook.png")


Answers:
author: Mark Campbell-Vincent
body: Hi [@Priyadarshini R Kolwalkar](/t5/user/viewprofilepage/user-id/1480874) -

Since adding a webhook is not part of setting up the New Relic integration we offer, you'll need to leverage the Statuspage API to get what you're trying to accomplish. Please take note that "Minor outage" isn't one of the component statuses.

You'll need to use the '[Update a Component](https://developer.statuspage.io/#operation/patchPagesPageIdComponentsComponentId)' API for this. So the endpoint you would put in the Base Url would be something like this:

<https://api.statuspage.io/v1>/pages/{page_id}/components/{component_id}?api_key=XXXX. The Basic Auth part won't be needed.

From there, you'll need to use the request sample we provide and add that to the body of the webhook. If you don't have a way of adding a request to the body of the webhook, you won't be able to send this to Statuspage to update the component.


Tags: newrelic
Unable to create incident using POST method
Asked by Angelin:

Hi Team,

I'm getting 302 status code whenever trying to create incident in statuspage using POST method and really not sure what's the reason for this. I'm attaching the snapshot as a reference. Can anyone help me on this?

Thanks in Advance!!

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/132384iB5086504B9868EE2/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Zach
body: The issue is that the endpoint you have is incorrect.

If you change it to use the formatting that the url listed below uses (substitute your pageId) you should get a better response -

<https://api.statuspage.io/v1>/pages/{page_id}/incidents


Tags: cloud
Uploading Subscribers
Asked by John Walker:

Hello

We have a Statuspage subscription which is licenced for 5000 subscribers.

I'm looking to subscribe a further 8000 but am uploading them with the setting "Skip Confirmation = NO" so they will not immediately be subscribed.

I don't expect all of them to actually subscribe - just a small segment - maybe 30%.

So my question is - will the limit of 5000 prevent me from submitting these 8000 (so I can't do it) OR will the 5000 limit only stop the 5001st customer from Confirming as and when these customers subscribe

So the answer will drive whether we have to increase subscription now or we can wait until it approaches the 5000 figure.

Thanks in advance for any advice

John Walker


Answers:
author: Mark Campbell-Vincent
body: Hi [@John Walker](/t5/user/viewprofilepage/user-id/4277997) -

You should be able to subscribe 3000 more subscribers via the import feature we offer. Once uploaded, you'll receive a banner on the admin side saying you need to upgrade. Take note that if you don't upgrade right after, you'll most likely receive an email from us requesting that you upgrade.


Tags: subscription
I need to validate if anyone can see a Public status Page
Asked by Marcela Junyent:

I need to validate if anyone can see a public status page in order to know which plan recommend to a client.

As far I as understood, if I choose a Public page it can be seen by anyone (not needing to be suscripted) but if I choose a Private page it in order to see it it must be added as employee in order to see the page.

Is that correct?

Regards, Marce


Answers:
author: Carmen Nadeau
body: Hi,

My understanding is this:

A public page can be seen by anyone and has subscripters (not users).

A private page can only be seen by the users of your choice. It is not necessary an employee, it could be anyone you choose to add as a user.


Tags: cloud
How do I get the "Refershed less than a minute ago"?
Asked by elson_:

I've seem websitles like this and it always says like "Updated a few seconds ago" "Refershed less than 1 minute ago" I've been searching and wondering on how to get that... but I didnt find any.. If anyone knows how, can you just answer it in here please?

![image.png](/t5/image/serverpage/image-id/131438i7A0CBDBB0F250FC0/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Nic Brough -Adaptavist-
body: You get that message when a web site does it.

I do not understand what you are asking for. "How do I get a refreshed message" can be answered by "visit a page that does it and wait for it to do it", but I don't think that is really what you are asking for.


Tags: cloud
I need to change the HTML title of the page
Asked by john_chong:

Hi,

I am looking to see where I can change the HTML title of our Statuspage. It currently reads:

```
 <meta charset="utf-8">    <title>UBC Status</title>
```

![Screen Shot 2021-02-22 at 2.24.31 PM.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/131551i6AC7BCADB6BFAB46/image-size/large?v=v2&px=999 "Screen Shot 2021-02-22 at 2.24.31 PM.jpg")

I'm trying to figure out where that value is being pulled from but I don't see it anywhere in the dashboard settings.

If anyone could point me in the right direction that would be great.

Thanks!

John


Answers:
author: Zach
body: Hey there

The format is set as "{pageName} Status" with the page name being pulled from the 'Page Info' section you can nav to by selecting 'Your Page' from the sidebar in the management console.

Hopefully this helps! I wasn't able to find a way for customizing what it looked like through JS/HTML I'm afraid :(

comments: author: john_chong
body: Thanks so much Zach, not sure how I overlooked that but it did the trick.

Cheers!

John


Tags: cloud
I can not enable any apps
Asked by BeneITPA:

I can not enable any apps, I am trying with pagerduty and there isnt even a button to enable it.

![](https://slama.vip/i/WlJY.png)


Answers:
author: Zach
body: Hey there,

Are you a basic user, or are you an elevated user in the organization? If you are a basic user you won't be able to make configuration changes like adding pages, or configuring integrations.

If you are an elevated user please put in a support ticket for our team to work with you directly on finding what the issue is.


Tags: cloud
Unsubscribe from status page
Asked by Mironek:

Hi I want unsubscribe from status coinbase sms. I dont want this message. Reply stop dont working. Thanks for answer


Answers:
author: Slava Filon
body: just text **Stop** back to the number you get a notification from


author: Miguel Angel Velazquez Solis
body: Hi [@Mironek](/t5/user/viewprofilepage/user-id/4260239) Can you solve the problem?  

How did you do that?

Best!


author: Nic Brough -Adaptavist-
body: You should follow the instructions for unsubscribing as given in the messages you're getting.

If you are struggling with that, and need help from the admins, you'll need to talk to them, we can't help you as we're not the admins of the site.


author: Vero Rivas
body: Hi [@Mironek](/t5/user/viewprofilepage/user-id/4260239)

Look at this posts, maybe can help you:

<https://support.atlassian.com/statuspage/docs/cancel-your-subscription/>

<https://support.atlassian.com/statuspage/docs/enable-subscribers/>

Cheers

comments: author: Mironek
body: <https://status.coinbase.com> From this site i want unsubscribe. I register by sms from czech republic.
SEO capabilities on the Status Page
Asked by yuvalor:

Hi,

Is there a way to control the SEO attributes on the page?

Like SEO title and description.

From where they are populated by default?

Thanks.


Answers:
author: Mark Campbell-Vincent
body: Hi [@yuvalor](/t5/user/viewprofilepage/user-id/3822854) -

Using the \<Title\> and Description tags for SEO are currently not possible through customization. We have a feature request for this that I will add your post to. If there is any update, I will respond via this post.

comments: author: yuvalor
body: Thanks, [@Mark Campbell-Vincent](/t5/user/viewprofilepage/user-id/2365445) ,

Can it be done manually?

Can I send the information I want to update to the support team?

Thx


author: Mark Campbell-Vincent
body: [@yuvalor](/t5/user/viewprofilepage/user-id/3822854) -

Currently this can't be done manually. Support does not have access to change the SEO attributes.


Tags: cloud
Removing empty space between top of page and header image as well as the "All Systems Operational"
Asked by Harry Parfitt:

I am trying to remove the space in the two boxes shown in picture below but unable to find how to do this using custom CSS as we're not having custom domains. Any ideas?

I don't have any CSS knowledge so sorry if this is very simple.

![2021-02-12_125116.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/130197iFA1A8A38F4C162AA/image-size/large?v=v2&px=999 "2021-02-12_125116.jpg")


Answers:
author: Mark Campbell-Vincent
body: Hi [@Harry Parfitt](/t5/user/viewprofilepage/user-id/4260985) -

There's a bit of CSS needed since you aren't able to use Javascript. I've provided what is needed below to accomplish what you're trying to do.

**Removing the spaces using CSS:**

```
.layout-content.status .masthead-container.basic .masthead {
padding-top: 0px;
}
.layout-content.status .masthead-container .masthead {
margin-bottom: 0px;
}
```

**Removing the '** **All Systems Operational' top level status banner using CSS:**

```
.layout-content.status.status-index .page-status {
text-indent: -9999px;
margin-bottom: 0px; 

}

.layout-content.status.status-index .page-status.status-none {
background-color: transparent;
border: 0px;
}
```

That will look something like this:

![Screenshot_4_22_21__3_14_PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/139981i1367FEB22A547537/image-size/large?v=v2&px=999 "Screenshot_4_22_21__3_14_PM.png")

Hope this helps!

comments: author: Harry Parfitt
body: Good Morning [@Mark Campbell-Vincent](/t5/user/viewprofilepage/user-id/2365445), Thank you very much for this it has provided exactly what we needed :)


Tags: cloud
Is it possible to user Google Tag Manager (GTM) with Status Page
Asked by john_chong:

Hi all,

Is it possible to use GTM with Status Page? I do not see any allowances to added the code between the \<head\> of the page.

Thanks!

John


Answers:
author: Scot Wilson
body: Hi John!

While I've not tested Google Tag insertion into a Statuspage, you can customise the CSS \& HTML of your Statuspage with code snippets.

Firstly, you'll need to have your page (Public or Audience-Specific) on a custom domain (for security reasons) as detailed in <https://support.atlassian.com/statuspage/docs/set-a-custom-domain-and-ssl/>

You can then customise your pages as detailed in: <https://support.atlassian.com/statuspage/docs/use-custom-html-on-a-status-page/> , where you can add the code snippets you like to the various sections of the page.  

Cheers,  
Scot

comments: author: john_chong
body: HI Scott,

Thanks for getting back to me. I'm trying to insert some code b/n the \<head\> tags but from what I can see it doesn't look possible. The zones for customization all occur after the \<head\> tag. I will try dropping it into the cutomization zones and se if that works.

Thanks and please close the ticket.

John


Tags: cloud
What image URL is recommended for postmortem image?
Asked by Adam Rhoads:

What is the recommended host for URL images?


Answers:
author: Mark Campbell-Vincent
body: Hi [@Adam Rhoads](/t5/user/viewprofilepage/user-id/1295642) -

You can use a storage service such as AWS S3 to publicly store your image. You can then access the image URL and use that in Statuspage's postmortem.

Hope this helps!


Tags: cloud
Can you export and import components in Status Page?
Asked by Jarkeer Lasseter:

Hi. is there any way to do a bulk import of Components into StatusPage?

We have two sites... one we use for production systems and another for reproduction systems.

Looking to export the components from our production site and then populate the preproduction site. without manually adding them.

Thanks,


Answers:
author: Mark Campbell-Vincent
body: Hi [@Jarkeer Lasseter](/t5/user/viewprofilepage/user-id/1176805) -

There currently isn't a way to import/export components. The current workaround for this would be to get a list of components from the production page via API(<https://developer.statuspage.io/#operation/getPagesPageIdComponents>), use the component names from that list, then create the components with those names on your preproduction page via API(<https://developer.statuspage.io/#operation/postPagesPageIdComponents>).

Hope this helps!

comments: author: Jarkeer Lasseter
body: Thanks, I will give this some thought.