youngmon/atlassian-qna huggingface dataset:
Deploy to GCP Cloud Storage from Bamboo Tasks
Asked by Ram Charan Tej G:

Hi Folks,

I'm rookie to Bamboo platform, I'm trying to create the CI/CD pipeline from Source (Bitbucket Repo) to GCP Cloud Storage using Bamboo.

I created a build \& test in Bamboo successfully using Bamboo Project, Plan \& Stages. But to deploy it to GCP Cloud Storage using Deploy I could not find any relevant tasks like AWS Cloud Deploy or SCP tasks.

Does this process requires me to write a task by myself to perform successful deploy to Cloud Storage? If yes, I saw its tedious process write a task and deploy in Marketplace or can I deploy task in Private as well?

Thanks in advance

Thanks,

Ram


Answers:
author: Shikhachauhan
body: Hi [@Ram Charan Tej G](/t5/user/viewprofilepage/user-id/4500624) ,

Were you able to deploy to GCP using Bamboo?

Did you have to write your own tasks? Could you list out the process for me please.

I am trying to achieve something similar and would be very thankful.

Regards,

Shikha

comments: author: Bhakti Thaker
body: Hi, [@Shikhachauhan](/t5/user/viewprofilepage/user-id/4518302)

Were you able to find the possible way to connect Bamboo with GCP? I trying to do so. If its possible will you please send me the process.

Thank You


Tags: google

storage
Yaml specs disabling Plan Branch configuration
Asked by Vinod Dampuru:

I am using yaml specs for one of my project. I have a requirement for Plan Branches. After i create plan branch i am not able to configure Plan Branch Settings or Plan Branch variables.

Is there an option

* To configure Branch settings via yaml specs
* To configure branch variables via yaml specs
* Disable specs for Plan Branch


Answers:
author: Alexey Chystoprudov
body: Hello [@Vinod Dampuru](/t5/user/viewprofilepage/user-id/4440522) ,

You can configure branch settings at YAML specs, see <https://docs.atlassian.com/bamboo-specs-docs/7.2.5/specs.html?yaml#overriding-branch-settings-using-bamboo-specs>

If you need branch variables at branch, just add them to bamboo.yaml file at repo branch

comments: author: Vinod Dampuru
body: Hi [@Alexey Chystoprudov](/t5/user/viewprofilepage/user-id/781646)

Thanks i was able to override the branch variables using bamboo.yaml file at repo branch

How can i override the branch settings from UI ? Basically i want the Specs to be applied only for master branch but want to override the variables and Triggers from UI

<https://docs.atlassian.com/bamboo-specs-docs/7.2.5/specs.html?yaml#overriding-branch-settings-in-the-ui>


author: Alexey Chystoprudov
body: If Bamboo detects bamboo.yaml file at repository branch then Plan branch can't be managed by UI.


Tags: spec

yaml
Update bamboo project variable in a task
Asked by Jae Hun Lee:

I have a project variable to store an AWS access key. After rotate access key in task, I want to update the project variable with the new access key, is it possible? The variable is used in deployment projects to access to AWS resources.


Answers:
author: Alexey Chystoprudov
body: Plan execution can't update Project variable

comments: author: Jae Hun Lee
body: Thanks the answer.

Is there any way to update Project variables in AWS Lambda?


author: Alexey Chystoprudov
body: There's no REST API for project variable update available yet, but you can craft curl command to update it with multiform HTTP POST request


author: Jae Hun Lee
body: Thanks [@Alexey Chystoprudov](/t5/user/viewprofilepage/user-id/781646)  
I tried to find about the multiform HTTP POST request but I counts't do it.  
Could you give the information of multiform HTTP POST request to update?


author: Alexey Chystoprudov
body: Try something like this  

```
curl -u user:password 'http://BAMBOO_URL/project/admin/ajax/updateProjectVariable.action?projectKey=PRJKEY' \
  -H 'x-atlassian-token: no-check' \
  -H 'content-type: application/x-www-form-urlencoded; charset=UTF-8' \
  --data-raw ?variableId=VARIABLE_ID&variableKey=myvar&variableValue=test2&bamboo.successReturnMode=json&confirm=true' 
```


author: Jae Hun Lee
body: Thanks, [@Alexey Chystoprudov](/t5/user/viewprofilepage/user-id/781646),

Could I use a personal access token instead of using -u user:password?


author: Alexey Chystoprudov
body: Unfortunately PAT doesn't work for non REST calls.

By the way this feature is available by REST API since 8.1.1, see <https://docs.atlassian.com/atlassian-bamboo/REST/8.1.1/#d2e288>
Can we deploy to on premise server from Bamboo online?
Asked by Rajesh kumar sahoo:

I have installed bamboo in my environment could I able to deploy in client environment.


Answers:
author: Cristiano Mariano
body: Hi [@Rajesh kumar sahoo](/t5/user/viewprofilepage/user-id/4495200) !

You would have a remote agent in your client environment pointing to your Bamboo Server: <https://confluence.atlassian.com/bamboo/bamboo-remote-agent-installation-guide-289276832.html>

Don't forget to allow trafic from client to necessary Bamboo Server ports, as stated here: <https://confluence.atlassian.com/bamkb/troubleshooting-remote-agents-216957427.html>

In case you cannot install a remote agent, you would have to use Bamboo tasks (for example, Tomcat or ssh), but then you would have to expose client ports, that would bring more security concerns.

Hope this helps!

comments: author: Rajesh kumar sahoo
body: Thank u very much [@Cristiano Mariano](/t5/user/viewprofilepage/user-id/541129)
XSRF check failed
Asked by John:

Hi,

We're running a Bamboo Server on CentOS via <http://localhost:8085>

and using Nginx doing a HTTPS proxy <https://xxx.com/bamboo> pointing to <http://localhost:8085>.

Everything is working fine and succeed.

but only getting a 403 code as below screenshot, saying "XSRF check failed".

Is there anything I did wrong or something I missed to config? thx a lot my friend.

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


Answers:
author: Cristiano Mariano
body: Hi [@John](/t5/user/viewprofilepage/user-id/1171747) ! How are you doing?

Have you checked your Base URL in Bamboo? Does it point to the correct proxy address?

Another thing to check is whether you have the right configuration in your server.xml (proxyName, proxyPort etc.)

Hope this helps!

comments: author: John
body: hi [@Cristiano Mariano](/t5/user/viewprofilepage/user-id/541129) ,

thx a lot for the feedback.

Base URL had been filled in <https://xxx.com/bamboo>.

but need to check server.xml. will do and get back to you.

thx a lot for your time.


author: John
body: hi [@Cristiano Mariano](/t5/user/viewprofilepage/user-id/541129)

How amzing you are! yes it's about the server.xml.

after adding proxyName="jira.example.com" proxyPort="443" scheme="https" secure="true", then the error gone.

thx a ton!


author: Cristiano Mariano
body: Hi [@John](/t5/user/viewprofilepage/user-id/1171747) !

Outstanding! I am very glad to hear that it helped!


author: jvelapol
body: Following your example above, did you add \`proxyName="xxx.com"\` to your server.xml file?


Tags: centos

https

nginx
Difference in total amount of subscribers
Asked by Lana Galtz:

When I look at the most recent data on the "Page analytics" I see the total amount of Subscribers is much more (50+) than its number on the "Subscribers" page that displays how many spots are used/spare in my billing plan. What is the difference between these two total amounts of subscribers?


Answers:
author: Lana Galtz
body: Here is the difference:

The "Subscribers" page only shows **active** (confirmed and valid) users.

"Page analytics" shows the total amount of users: besides **active** , it also includes **quarantined** and **unconfirmed** users.

comments: author: Mark Campbell-Vincent
body: [@Lana Galtz](/t5/user/viewprofilepage/user-id/4134879)

The "Subscribers" page also shows active, quarantined and unconfirmed subscribers. But if you're specifically referring to the allocated number at the top, that only shows confirmed subscribers.

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


author: Lana Galtz
body: Agreed, I might add a screenshot to clarify what number I was referring to, to avoid any misunderstanding. Thank you for pointing out the subscriber limit is a soft-cap, a very useful note, I'll keep it in mind!


author: Mark Campbell-Vincent
body: Hi [@Lana Galtz](/t5/user/viewprofilepage/user-id/4134879) -

Welcome to the Statuspage community! On paid plans, subscriber limit is a soft-cap. So if you have viewers subscribing and this surpasses your limit shown in the "Subscribers" tab, it still can show up in the "Page Analytics" tab. You won't be automatically charged for the exceeded allocations, but you'll see a banner on the Admin side saying you are over the limit.

Hope this clarifies what is happening.

comments: author: Lana Galtz
body: Unfortunately, it's not what I was looking for, I was able to find the answer and I will post it in a separate comment.


Tags: cloud
Editing history on Statuspage
Asked by Samantha Zobott:

My company doesn't want to be able to go far back into the past in the incident/uptime timeline as this would require backfilling incidents that they would not like to do since the page is being announced this year. They would like to have it only show from when the page is announced going forward. Is this possible? ![Statuspage history screenshot.png](/t5/image/serverpage/image-id/127469iF484CC2807D68146/image-size/large?v=v2&px=999 "Statuspage history screenshot.png")


Answers:
author: Zach
body: There isn't anything to stop users from continuing to go back in time, but it could be possible to hide the element on the page after going past X number of pages.

I'm no web developer so I'm afraid I don't have any suggestions on how to go about it :( if you happen to have access to a web developer they might be able to take a crack at hiding the element after a certain page number.


Tags: cloud
Trace user activity on the Status Page\Write events
Asked by yuvalor:

Hi,

After my page is live, I want to be able to set KPIs for it, and see the achievements we made.

For example, how many:

* visitors the page had (Not just by Google analytics)
* Clicked "Subscribe" to specific incident
* Expanded a product for nested services list
* clicked "historical incidents button"
* etc

1. Are there fixed page events i can read from somewhere?
2. Can i add my own events?

Thanks


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

We have a page analytics feature that provides insight into your page performance with subscriber data. You can find more information about this feature here: <https://support.atlassian.com/statuspage/docs/what-are-page-analytics/>.

The page analytics feature currently does not offer all of the aspects you pointed out like adding your own events, but we're open to making a feature request if you reach out to us through the support portal: <https://support.atlassian.com/statuspage/>.

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

Thanks for you answer.

Unfortunately the subscription analytics is not enough.

More over, it doesn't show subscribers for specific incidents.

I will try opening a feature request, hopefully it will promote better event management on the Status Page.

Thx.


Tags: cloud
Enabling webhooks for audience specific page
Asked by Fran?ois Uhl:

Hi,

I'm trying to configure a StatusPage *page* with type *Audience-specific page* to send webhooks according to *incident* or *maintenance* updates on specific *components*.

I have successfully configured such webhooks for a *Private page*: I receive the webhooks, everything is fine.

But as soon as I change the page type to *Audience-specific page* the *Subscribers* menu from the left disappear and is replaced by the *Audience* menu. Even if I activate webhooks from the *Audience* -\> *Subscriber settings* configuration panel, the menu do not appear.

Did I miss something regarding webhooks?

Thanks in advance for your support.


Answers:
author: Fran?ois Uhl
body: Ok, I finally found out a working workflow, but I am not sure this is the most appropriate.

With page type as Audience-specific, you need to:

1. add a user (**Audience \> Users \> Add User**),
2. set the subscription settings (**Audience \> Subscriber settings** ) and check "*Allow users to be auto-subscribed to every incident*",
3. then go to the actual StatusPage (**View status page**),
4. hit **Subscribe to Updates**,
5. Enter your webhooks settings

So the difference is that rather declaring a webhooks directly, one need to create an account and perform additional actions. Not sure this is really relevant.

May I miss an easier / cleaner way?


Tags: webhook
Not able to update Component status using python
Asked by Vignesh Senapathy:

Hello,

I am trying to update the status of a component using python and i am not able to get it to work. I am getting the following error

Helper python code

import requests  
import json

class StatusPageHelper:  
def __init__(self, url):  
self.url = url  
self.url_prefix = "https://" + url + "/v1/pages/"  
self.session = requests.Session()

def updateStatusDashboard(self, token, page_id, component_id, status):  
self.token = token  
self.component_id = str(component_id)  
self.page_id = str(page_id)  
self.status = str(status)  
print(self.url_prefix + page_id + "/components/" + self.component_id)  
headers = {'Content-type': 'application/json', 'Authorization': 'OAuth ' + self.token}  
self.data = json.dumps({"component\[status\]": "partial_outage"})  
print(self.data)  
self.session.headers.update(headers)  
response = self.session.put(self.url_prefix + page_id + "/components/" + self.component_id, data=self.data, verify=False, timeout=30)  
if response.status_code == 200:  
print("{0}: Update success".format(self.url))  
else:  
print("{0}: Update failed: {1}".format(self.url, response.text))

Error:

api.statuspage.io: Update failed: {"error":"component is missing"}

Can someone help me to get the code to work or point me to the right direction as this is not helping. I printed the full url and it seems to be correct


Answers:
author: Vignesh Senapathy
body: I figured out my mistake and got it to work.

comments: author: Takahiro Masuda
body: so how did you get it to work?


author: Vignesh Senapathy
body: Also when i tried the same with Curl the command worked. So its kind of surprising that Python is not working
Add subscriber via API
Asked by Peter G:

Hi,

I?m currently trying to add subscriber via API which almost works. I want to add each subscriber multiple components but I didn?t found the right syntax to add more than one component id. Could Someone may help me?

My curl so far:

curl <https://api.statuspage.io/v1/pages/mypageid/subscribers> \\  
-H "Authorization: OAuth myapitoken" \\  
-X POST \\  
-d "subscriber\[email\]=user@mail.com" \\  
-d "subscriber\[skip_confirmation_notification\]=true" \\  
-d "subscriber\[component_ids\]="compid""

But how can I add more components?

Thanks


Answers:
author: Mark Campbell-Vincent
body: Hi [@Peter G](/t5/user/viewprofilepage/user-id/4228830) -

A good workaround for this is posting raw body data with curl. You can easily add multiple components using this approach:

```
curl --location --request POST 'https://api.statuspage.io/v1/pages/page_id//subscribers?api_key=add_apiKey' \
--header 'Content-Type: application/json' \
--data-raw '{
"subscriber": {
"email": "user@mail.com",
"skip_confirmation_notification": true,
"component_ids": [
"add_component_id",
"add_component_id"
]
}
}'
```

Hope this helps!

comments: author: Peter G
body: Thanks [@Mark Campbell-Vincent](/t5/user/viewprofilepage/user-id/2365445) this resolves my issue :)


Tags: cloud
Webhook: No incident-post when creating new incident
Asked by Thor Kristian Sortevik:

Hi,

I am trying to learn about webhooks in Statuspage. I am using Microsoft Power Automate to recieve webhooks from a Statuspage (page 2), and I want to update a component on our Statuspage (page 1).

When I create a new incident on "Page 2", a webhook is sent to the webhook-enpoint provided. But it only contains a component update, and no information about the created incident.

If I make a few changes to the Incident, for instance change the status to "monitoring", the webhook is sending me a JSON containing information about the incident.

So what could be the issue here?

- The endpoint is working, I am recieving webhooks

- I recieve both component and incident updates

- Incident update is not sent when the incident is created

- I have checked the "Send notifications" box when creating the incident.

JSON from the webhook when i create a new incident:

{  
"meta": {  
"unsubscribe": "<http://status.digdir.no/?unsubscribe=2x0g4f4yfbp3>",  
"documentation": "<https://help.statuspage.io/knowledge_base/topics/webhook-notifications>",  
"generated_at": "2021-01-19T08:26:09.069Z"  
},  
"page": {  
"id": "\*\*\*\*\*\*\*\*\*\*",  
"status_indicator": "minor",  
"status_description": "Partially Degraded Service"  
},  
"component": {  
"status": "degraded_performance",  
"name": "Test",  
"created_at": "2020-12-10T13:51:35.689Z",  
"updated_at": "2021-01-19T08:26:07.921Z",  
"position": 10,  
"description": null,  
"showcase": false,  
"start_date": "2020-12-08T23:00:00.000Z",  
"id": "\*\*\*\*\*\*\*\*\*",  
"page_id": "\*\*\*\*\*\*\*\*\*\*\*\*\*\*",  
"group_id": null  
},  
"component_update": {  
"old_status": "operational",  
"new_status": "degraded_performance",  
"created_at": "2021-01-19T08:26:07.927Z",  
"component_type": "Component",  
"state": "sn_created",  
"id": "\*\*\*\*\*\*\*\*\*",  
"component_id": "\*\*\*\*\*\*\*\*"  
}  
}


Answers:
author: Thor Kristian Sortevik
body: The issue is solved, it was probably something wrong with the JSON schema .


author: Thor Kristian Sortevik
body: Hi again, I want to provide an update. I tried to use the Statuspage app for Microsoft Teams. I understand it is based on webhooks as well.   

When i created an incident i Statuspage. It posted an incident in Teams right away. So probably, there is something wrong in my configuration in Power Automate.


Tags: cloud
Dedicated phone number or OADC or Sender ID for StatusPage
Asked by Marc-Antoine Sulmon:

Hi,

We observe that SMS notification sent by statuspage are coming from various different phone numbers. Those phone number are also used for other purpose (for instance we receive also advertisement or sms from bank...).

This is an issue because subscribers can't identify easily the purpose of the SMS, and the issuer of the SMS (our company)

I would like to know if statuspage has an option to send SMS notification from a dedicated Phone number, which could be always the same number, or better, a number displaying the name of the company ( OADC ou Sender ID ).

Is this functionality available ? Any roadmap ?

Thanks !


Answers:
author: Mark Campbell-Vincent
body: [@Marc-Antoine Sulmon](/t5/user/viewprofilepage/user-id/1487969) -

Welcome to the Statuspage community! Since Statuspage uses dozens of numbers for sms notifications that dynamically change, downloading a vCard full of dedicated numbers is not something we provide. That being said, this is most likely something that will not be on the roadmap.

Hope this answers your question.
create a permanent recurrence of scheduled maintenance
Asked by Niels Ehlke:

Hello,

Is it possible to create a permanent recurrence of scheduled maintenance in Statuspage.

Wish is that every sunday from 9 o'clock to 12 o'clock in Statuspage is displayed, that there is maintenance work on certain servers.

Or do I have to do this via API ?

Greetings


Answers:
author: chare
body: I don't think you can do that either way, at least creating a recurring schedule. I think you would have to use the API and make multiple calls with different dates to give the appearance of scheduled maintenance each week.


Tags: cloud

maintenance
Using New Relic Synthetic Metrics inside StatusPage
Asked by Adam:

Heya,

This has been an ongoing question for about the past year with statuspage, how on earth does the Metric integration really work with StatusPage and NewRelic?

The Documentation seems to be really outdated with porting your data over to statuspage which can be [found here](https://support.atlassian.com/statuspage/docs/add-a-new-relic-metric/).

So what my question is, can I use my Synthetic Monitors Data with statuspage? As it seems to be a really conflicted question without an answer. When connecting New Relics Rest API it receives the common error:

"Remote validation of your credentials failed, or you have no applications associated with your account."

Any help would be appreciated on whether synthetics is supported, and it would be nice for an update from Atlassian about this to clear some things up.

Thanks! :)

Adam


Answers:
author: Ronaldo Raivil
body: Any updates on this?

I've setup the integration with Newrelic but I'd like to get data from Newrelic Synthetics monitors displayed on the status page.

comments: author: Adam
body: Hey Ronaldo,

as far as I'm aware they have updated their page on how to go about doing this, though as stated synthetic monitors are not supported between new relic and status page, only APM.

This is due to Atlassian using the outdated API (RestAPI), one day they may port over to the new API system which will support synthetics, but only time will tell.


author: Gonchik Tsymzhitov
body: [@Adam](/t5/user/viewprofilepage/user-id/4225425) Did you checkout the New Relic community threads ?

<https://discuss.newrelic.com/t/synthetics-and-statuspage-system-metrics-integration/125071/4>

comments: author: Adam
body: Hey, Yes I've reviewed their entire community thread along with this one as well, but it's still very unclear. All we need is some clarification and currently, everyone's just pointing fingers at the other person.

"I do want to add that it seems as though their documentation is out-of-date when it comes to finding the REST API key."

"If that's the case - we'll need you to work with Atlassian on the issue. They created that integration, so we don't have visibility into how it is supposed to work."

It does, however, seem like the issue is common, as people are lost.


Tags: cloud
Remove percentages from components
Asked by Mathias T?ndering:

I know its a weird question, but have anyone ever encountered a solution to maybe hide the percentages in the status of the component.


Answers:
author: Mathias T?ndering
body: Problem was solved by placing this in the Custom CSS:

.legend-item.legend-item-uptime-value {  
display: none;  
}

.legend .spacer {  
display: none !important;  
}


author: Mathias T?ndering
body: ![statuspage23049.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/125611iBE5BB1B42BB75736/image-size/large?v=v2&px=999 "statuspage23049.PNG")so somehow hide this?


Tags: cloud
How can I remove the "Page name" banner completely ?
Asked by yuvalor:

Hi,

I want to remove the upper page name banner completely.

The text and its background.

How can it be done ?

Thx


Answers:
author: Connor Eyles
body: Hi [@yuvalor](/t5/user/viewprofilepage/user-id/3822854)   

How are you today? ?

I'll start with directing you to this documentation which goes over using custom HTML on your Statuspage - <https://support.atlassian.com/statuspage/docs/use-custom-html-on-a-status-page/>

I hope this helps ?

![Image 2021-01-13 at 9.51.01 am](https://p-25foddj.b0.n0.cdn.getcloudapp.com/items/E0u4Qg17/823836f6-f1f3-4083-805a-bb0f7a209e79.jpg?source=viewer&v=f3079c97f8cea1e708f6183e66efc26b)


Tags: cloud