youngmon/atlassian-qna huggingface dataset:
Has anyone used AI/ML Engine alongside OpsGenie
Asked by Girish Shenoy:

Hi Team,

Has anyone used AI/ML Engine alongside OpsGenie to compare the alerts with past alerts and then leverage RPA tools to automate actions based on past findings

e.g. Everytime when the service stops responding, from the past records figure out that performing X, Y, Z action has fixed and automatically trigger remediation steps using RPA Tools.

I am open for discussion here.


Answers:
author: Shivam Naik
body: Hi Girish,

It looks like you have a Support ticket open at PSD-23792 regarding this, so I will let them discuss it more with you in depth. However their mention of using [Custom Actions](https://support.atlassian.com/opsgenie/docs/set-up-a-custom-action-alert/) would allow users to achieve that manually, or you could use something like an [alert policy](https://support.atlassian.com/opsgenie/docs/create-and-manage-global-alert-policies/) to trigger that action with automation once the triggering payload arrives in Opsgenie.

Please let us know if you have any follow up questions!
How to enforce tagging an alert while closing?
Asked by Jyoti Soma:

Is there a way to enforce tagging an alert when the oncall person closes it? We are gathering metrics for actionable and non-actionable alerts and asking teams to tag alerts as such while closing. It is difficult for teams to remember to tag when closing. How can we enforce it?

Thanks!


Answers:
author: Samir
body: Hi [@Jyoti Soma](/t5/user/viewprofilepage/user-id/4612288) !

There isn't a way to *enforce* that tags be added to an alert when a user closes it. I believe we have a feature request for something similar that I can add you to.

Depending on your use-case, and which tag(s) should be added to the alert, you could set-up a custom solution to have [tags added to the alert via API](https://docs.opsgenie.com/docs/alert-api#add-tags-to-alert) automatically when an alert is closed.

You could leverage [Opsgenie Edge Connector (OEC)](https://support.atlassian.com/opsgenie/docs/opsgenie-edge-connector-as-an-extensibility-platform/) to trigger a custom script to add the tags to the alert via API when an alert is closed. This would require writing a custom script, and installing/configuring OEC to execute that script whenever an alert is closed in Opsgenie.

Thanks,

Samir

comments: author: Jyoti Soma
body: Thank you, Samir! I would like to be added to the related feature request.

The options to add tags via API or OEC may not work accurately for us as teams need to look at each alert to analyze if it is actionable or non-actionable. I will however share about ti with our teams to see if they can use it where applicable.

Thanks,

Jyoti


Tags: cloud
What permission do I need for "Add Incident Timeline" via API?
Asked by Benson Polican:

Hi,

Whenever I try to Add Incident Timeline, I get error 40301. What should I change in the API Key's permission to allow Add Incident Timeline?

Attached are the URL, Header, Body, Response and Permission I used.

Thank you!

Regards,

Benson

-----------------------------------------------------------------------

**URL and Header**

![Header.png](/t5/image/serverpage/image-id/166338iCFB11CADE5EABD0B/image-size/large?v=v2&px=999 "Header.png")**Body and Response** ![Body.png](/t5/image/serverpage/image-id/166339i4D2C01842E5D9ECF/image-size/large?v=v2&px=999 "Body.png")

**API Key Permissions**

![API Permissions.png](/t5/image/serverpage/image-id/166340iB68A64DFEE692301/image-size/large?v=v2&px=999 "API Permissions.png")


Answers:
author: Connor Eyles
body: Hi [@Benson Polican](/t5/user/viewprofilepage/user-id/4609196)

Thanks for reaching out :)

The message "Team API Keys are not authorized to perform this action" is because you would be using an API key that is assigned to a team.

Please keep in mind that the API keys of the team integrations can only be used for the alerts/incidents of the specific team and the team-based configurations, whereas the API keys of the global integrations can be used for all of the API requests, including account-based configurations.

You would need to create a new API integration that is not assigned to a team to make these API requests.

More information can be found [here](https://support.atlassian.com/opsgenie/docs/api-key-management/).

Thanks,

Connor

comments: author: Benson Polican
body: Hi [@Connor Eyles](/t5/user/viewprofilepage/user-id/3987748)

I'm a bit confused, the Incident I'm trying to add timeline to was created by the same Team API Key. Why can't I add a timeline for it using the same Team API Key?

Thank you!

Regards,

Benson


author: andy_chu
body: Hi [@Connor Eyles](/t5/user/viewprofilepage/user-id/3987748) ,

Are you mean Opsgenie Admin needs to provide global API to our user instead of team API Key?

If so, the permission of global API Key will be too much
Bamboo setup related error
Asked by Radha_Sharma:

During Bamboo after entering the setup information I receive an "Internal server error" page. I cant find my mistake and the error message us unusable for me.

Also, i have Java 8 version currently. Kindly guide, attaching error screenshot![bamboo config error.PNG](/t5/image/serverpage/image-id/130123i19B5B82DC8C30453/image-size/large?v=v2&px=999 "bamboo config error.PNG")


Answers:
author: Pramodh M
body: Hi [@Radha_Sharma](/t5/user/viewprofilepage/user-id/4250542)

Here's a community thread that may help you

<https://community.atlassian.com/t5/Bamboo-questions/Internal-server-error/qaq-p/1063774>

It may be possible that bamboo is failing to load setup details.

Try this and let me know

Thanks,  
Pramodh
Getting "Server Error" during Bamboo configuration, Java version is 8
Asked by Radha_Sharma:

Hi,

After setup, while configuring bamboo i am getting attached error with stack trace error list and server error

![bamboo config error.PNG](/t5/image/serverpage/image-id/130120i0936D1D775490F06/image-size/large?v=v2&px=999 "bamboo config error.PNG")


Answers:
author: Pramodh M
body: Hi [@Radha_Sharma](/t5/user/viewprofilepage/user-id/4250542)

Did you get the chance to see the logs?

What was the error in there?

Can you please attach the logs to troubleshoot the error.
Query JIRA issues and send it in mail
Asked by Chitrarth Sahai:

In our CI we have scheduled our build plan to run daily on a particular time. As our Bamboo is integrated with JIRA, we get an Issues tab having all the issues merged for the day and available in the build. Can we query the same information and send it on mail through Bamboo?

Any clue would be appreciated.

Bamboo notifications work only for very selected scenarios and are unmodifiable and Atlassian should give capabilities to have custom notification and data.


Answers:
author: Vinod Ramadoss
body: Hi,

I understand the functionality we have today is limited to modifying templates

However, the functionality to send customized email is in "Gathering Interest" state

Reference - [https://jira.atlassian.com/browse/BAM-17085?jql=project%20%3DBamboo%20%20and%20text\~%22email%20notification%20rest%20api%22%20order%20by%20createdDate%20](https://jira.atlassian.com/browse/BAM-17085?jql=project%20%3DBamboo%20%20and%20text~%22email%20notification%20rest%20api%22%20order%20by%20createdDate%20)


Tags: email

issue

jira

notification
ERR_SSL_PROTOCOL_ERROR when using Edge (Chromium), Chrome and Firefox
Asked by Paul Farmer:

Am using Bamboo 7.1.4, configured with an HTTPS connection on port 8443.

The non 'Chromium' version of Edge works fine, but Edge (Chromium), Chrome and Firefox all return an SSL error similar to ERR_SSL_PROTOCOL_ERROR when the HTTPS address is used.

We also have Bitbucket server configured on 8443 (different IP address though) - although both IP addresses are aliased on the same host server

Has anyone encountered this?


Answers:
author: Paul Farmer
body: Turns out this is a known error with some versions of the Java Run-time and Bamboo:

[https://jira.atlassian.com/browse/BAM-21157](https://jira.atlassian.com/browse/BAM-21157 "bouncycastle throw NPE after upgrade to java 8 u272. linux agent fails to connect or UI won't load with ERR_SSL_PROTOCOL_ERROR")


author: Gonchik Tsymzhitov
body: Hi!

if you use ip address and ssl - yes, you will meet.

I hope you use domain name which associated with ssl.

Please, double check your ssl data, and checkout the next links

* <https://confluence.atlassian.com/adminjiraserver/running-jira-applications-over-ssl-or-https-938847764.html>
* <https://confluence.atlassian.com/kb/how-to-import-a-public-ssl-certificate-into-a-jvm-867025849.html>

comments: author: Paul Farmer
body: Our certificates seems to be ok (otherwise how would it be working with earlier versions of Edge?) and we were under the impression that virtual IP's on the same server, but using the same port would be ok.

We will attempt to use another port for one of the applications (e.g. 8444) if that is not the case.

Sorry, Gonchik, but I didn't quite understand the first line of your response.


author: Gonchik Tsymzhitov
body: Could you share the error please?

web console log using developer tools ?


author: Paul Farmer
body: ![Request.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/130798i245E392072AC4858/image-size/large?v=v2&px=999 "Request.PNG")![SecurityError.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/130797i9D6A58E756C20D0C/image-size/large?v=v2&px=999 "SecurityError.PNG")


author: Paul Farmer
body: The above are from the 'Firefox' developer tools. Other than the above, the other tabs didn't contain any information of note or were empty.
StatusPage.io v2 api subscribers endpoint not returning all subscribers
Asked by JasonT:

Hello,

We've been trying to migrate a process to use StatusPage.io's v2 endpoints but have run into trouble. It looks like the docs indicate that by default, GET /subscribers.json will return unlimited results (all subscribers), or 100 by default if a query is specified. However, we always get 50 results back, whether or not we specify a limit and/or if that limit is greater than 50. We also get the same offset returned (0) even when specifying page=2, for example.

Has anyone else run into this?

Thanks,

Jason


Answers:
author: Daniel Eads
body: Hi Jason,

In all the fun of [standardizing APIs](https://help.statuspage.io/knowledge_base/topics/api-deprecation-december-12-2018), things have gotten a little confusing in terms of which endpoint goes to which API (and which ones are being deprecated)!

From looking at your question, I think you might be trying to hit an endpoint at api.statuspage.io/v2/\<endpoints\> - these are depreciated. What you want for fetching all subscribers is api.statuspage.io/**v1**/pages/{page_id}/subscribers - we've got this [documented here](https://developer.statuspage.io/#operation/getPagesPageIdSubscribers).

Clicking the dropdown arrow next to the endpoint path will provide you the full URL (still substitute in your page ID):  
![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/38141iFB6F2A7C259E6662/image-dimensions/821x397?v=v2 "image.png")  

Doing that call with no arguments will return the *full list* of all subscribers to your page (unlimited results).

If you add some arguments with the **q** parameter, then you'll need to use the **page** parameter to cycle through the results as the *maximum* that will be returned per-page is 100.

Good luck with your Enterprising use of Statuspage! It sounds like you've *spent* a good deal of time on your integration since you're migrating between API versions.

Cheers,  
Daniel \| Atlassian Support

comments: author: JasonT
body: Thank you, my eyes are now open to the source of the problem and I think I have a better vue of the situation. Perhaps I will exercise creative license to make sure our application is ready.

Also, I recall now some email thread with Scott a while back talking about how the use of v1 and v2 can be a bit misleading. v1 is the one I want to go with.

Thanks!

Jason
Getting http 400 error on statuspage.io incident post
Asked by dh1760:

I'm using node.js to post incidents to our statuspage.io and getting a 400 error. Based on the API docs, which show Curl examples, I'm formatting the post data as:

var postData = querystring.stringify({

'incident\[name\]': "Network routing issue",

'incident\[status\]': "identified",

'incident\[body\]': "body text...",

'incident\[component_ids\]\[\]': "bk60bdqdqv7g",

'incident\[components\]\[bk60bdqdqv7g\]': "degraded_performance"

});

The raw postData result string looks like:

postData="incident%5Bname%5D=Network%20routing%20issue\&incident%5Bstatus%5D=identified\&incident%5Bbody%5D=This%20is%20a%20test%20message%20body.%20%20Had%20this%20been%20a%20real%20incident%2C%20this%20would%20have%20hopefully%20contained%20some%20useful%20information.\&incident%5Bcomponent_ids%5D%5B%5D=bk60bdqdqv7g\&incident%5Bcomponents%5D%5Bbk60bdqdqv7g%5D=degraded_performance"

I'm sure that I'm not correctly translating the Curl example to javascript object.

Any pointers, examples, advice would be greatly appreciated.


Answers:
author: dh1760
body: I've resolved this issue -- I was not sending the correct Content-Type and Content-Length headers. With Content-Type set to "application/x-www-form-urlencoded" and Content-Length set to the post data length, I got back the expected 201 (success) status.


author: dh1760
body: After a bit more reading, I've corrected one issue (the component_ids parameter), but still getting the 400 error.

The post data object is:

{

"incident\[name\]": "Network routing issue",

"incident\[status\]": "identified",

"incident\[body\]": "This is a test message body. Had this been a real incident, this would have hopefully contained some useful information.",

"incident\[component_ids\]": \[ "bk60bdqdqv7g" \]

}

The post data string is:

incident%5Bname%5D=Network%20routing%20issue\&incident%5Bstatus%5D=identified\&incident%5Bbody%5D=This%20is%20a%20test%20message%20body.%20%20Had%20this%20been%20a%20real%20incident%2C%20this%20would%20have%20hopefully%20contained%20some%20useful%20information.\&incident%5Bcomponent_ids%5D=bk60bdqdqv7g


Tags: error
Is there a way to limit users to only see certain components?
Asked by scott mison:

Looking for a way in status page that when a user logs on they only see certain components. We have very similar "components" that work for different infrastructure, so two pieces of software, that do the same thing effectively, but only one system affects certain customers, the other affects different customers

So we want to be able to have certain users only see the systems that affect them.

Cheers.


Answers:
author: Nick Coates
body: At Symantec, we had a similar requirement where our components were essentially different products so customers would only be interested in the products they have purchased. Our overall solution was to actually create separate Statuspage's and build a static landing site using the Statuspage Javascript Widget (which integrates with the API) where customers can see a high-level status of the product, and further drill down to the page:

<https://status.symantec.com>

The Statuspage team have been really supportive of our rollout over the past year and half.


author: Nic Brough -Adaptavist-
body: No, the software is intended to tell everyone about all systems.
How to add bootstrap.js to a statuspage?
Asked by Nivethitha Kumar:

I am trying to add our SiteCatalyst tracking code to our status page. We do that by using ensighten our tag management system. I have to essentially add our bootstrap.js to the head of the page. However when I do that two things happen

1. My entire header image disappears

2. the bootstrap.js doest load.

I did try adding the bootstrap.js in the footer however that doesn't seem to load the .js either. I do see it in the page source.

Has anyone tried doing this?


Answers:
author: M@ICE
body: Hi Nivethitha,

Sorry to hear you are experiencing issues adding your SiteCatelyst tracking code.

While I'm not familiar with the SiteCatelyst script or functionality, the custom Footer HTML/JS field would be the correct location to add this. Adding any code to the Header field will replace the default page header, including images, logos, etc. (<https://help.statuspage.io/knowledge_base/topics/using-custom-html>)

Can you try adding one of the scripts from the Customization Cookbook (<https://help.statuspage.io/knowledge_base/topics/customizations-cookbook>), to verify JS is loading correctly for your page? That should highlight if the issue is related to the SiteCatelyst script or a general JS issue.

Kind regards,

Matthijs
Changing DKIM selector for DKIM1 record - statuspage
Asked by Aviram Radai:

Hi,

I am trying to configure DKIM on statuspage.

I am already using m1._domainkey on my DNS.

Is there a way to choose the selector and use something other than m1?

In the documentation it is stated that if I only config dkim2 i should be able to setup from address. In reality I can not .

Any idea?

Thanks,

Aviram


Answers:
author: M@ICE
body: Hi Aviram,

This is something that happens when the domain for your custom from address is already used with one of the email service providers used by Statuspage.

The easiest resolution for this would be to add a subdomain to your custom from address. For example using noreply@notifications.statuspage.io or noreply@status.statuspage.io would generate a different DKIM#1 hostname and allow you to set and validate your DNS records.

If you prefer to use your current custom from address and do not want to configure DKIM#1 send a note to hi@statuspage.io and we will be happy to set your account to only use the DKIM#2 provider to send your notification emails.

Kind regards,

Matthijs

comments: author: Aviram Radai
body: One of you guys changed the DKIM1 to mailto._domainkey and it works fine now.

Thanks
Is there a way to configure twitter to automatically tweet out "All systems operational"?
Asked by Greg Allen:

I've enabled the Twitter configuration for StatusPage, and I understand that I'm able to configure this integration so that whenever a post a new incident, the incident status is automatically sent out through twitter.

Is there a way to automate twitter so that for days during which there are no incidents logged in StatusPAge, twitter automatically tweets out something along the liens of "\[status\] 14:00.00 EST All Systems Operational" ?

Any help here would be greatly appreciated. I'd love for this functionality to flow through StatusPage so that it's automatically tied to the status reported through StatusPage, however if that's not possible and there's a separate way to automate this tweet outside of StatusPage, that would work as a backup mechanism.

Thank you so much for anyone willing to take the time to offer assistance here.


Answers:
author: Nick Coates
body: Hi Greg,

Just curious what the reason is to send a tweet to advise that everything is operational? I know this wouldn't be something we would use at Symantec as our customers only want to see tweets when service is unavailable as it'll clog up the Twitter feed.

As far as out of the box functionality with Statuspage, there isn't a way to tweet everything is good, just an option to tweet an incident/maintenance post.

Thanks,  
Nick
How to modify StatusPage.io body html?
Asked by Arunkumar Ravichandran:

I want to modify my body html of StatusPage with multiple frame in it. When i tried adding few changes, It reflects in header and footer, but not in body. Please help me out in this puzzle.


Answers:
author: M@ICE
body: Hi Arunkumar,

I'm afraid it's not possible to simply modify the body of a status page. Having said that, there are things that can be done when using custom HTML and JS.   

You can add custom HTML to the footer and use custom JS to move it to the desired section of your status page. Something like:  

\<!-- CUSTOM LINKS SECTION START --\>  
\<div class="links-section-header"\>Additional Links\<HR\>  
\<div class="links-section"\>  
Hyperlink 1: \<a href="<https://statuspage.io>"\> Statuspage 1\</a\>\<BR\>\<BR\>  
Hyperlink 2: \<a href="<https://statuspage.io>"\> Statuspage 2\</a\>\<BR\>\<BR\>  
Hyperlink 3: \<a href="<https://statuspage.io>"\> Statuspage 3\</a\>\<BR\>\<BR\>  
Hyperlink 4: \<a href="<https://statuspage.io>"\> Statuspage 4\</a\>\<BR\>\<BR\>  
\</div\>  
\</div\>  
\<!--CUSTOM LINKS SECTION END --\>  
\<!-- MOVE LINKS SECTION START --\>  
\<script\>  
$('.links-section-header').insertAfter('.components-section');  
\</script\>  
\<!-- MOVE LINKS SECTION END --\>  

Hope this helps!


Tags: html
Notification Tab is not shown up
Asked by Arunkumar Ravichandran:

In my StatusPage.io manage dashbaord, Notification Tab is not shown up for some reasons. Please help me out as i want to import CSV file using import option in Notification Tab.

![StatusPage.io missing tab.png](https://community.atlassian.com/t5/image/serverpage/image-id/30764iFBC6C89482B0DCDB/image-size/large?v=v2&px=999 "StatusPage.io missing tab.png")


Answers:
author: Zach
body: Hey Arunkumar,

We worked through this in the support request you submitted yesterday.

You are not seeing the 'Notifications' tab due to you being logged into an Access Control page. If you're looking to create Access Control users, you can do so from the 'Access Control' tab at the bottom-left of your screen.

With you wanting to create users in bulk, you can do so programmatically using the [Page Access User API](https://doers.statuspage.io/api/v1/page_access_user/) endpoint.
How to automate Component status with Pager duty based on alert severity resp incident priority?
Asked by martin:

We are using Pager duty for incident management which is integrated with Status page. To avoid noisy alerts/incidents we would like to send only high urgency incidents into Status page.

Do you have any idea how could we setup status of components in automated way?

e.g.

1. alert from Pager Duty with severity "Critical" would set component to "Major outage" . Alert from PD "error" will set component into "partial outage" ...

2. In PD we can set priorities of incidents (P1,P2....) . Is it possible to adjust integration between PD and Status page in a way that Status page will accept only incidents with assigned prioirtites (without priorities would be omitted)

Thx

Martin


Answers:
author: Nick Coates
body: Hi Martin,

Have you seen the Statuspage.io Integration with PagerDuty: <https://www.pagerduty.com/docs/guides/statuspage-io-integration-guide/>

I think this is what you're trying to achieve:

* Ability to degrade one or more components when a PagerDuty incident is triggered

Hope the above helps.

Thanks,

Nick

comments: author: martin
body: Hi I know this material and right now all incidents are triggered from PD and updated . But there is still open question how to filter out from PD for Status page only high urgency incidents or how to change status of components automated way


author: Nick Coates
body: Ah yes, I see what you mean. I thought the rules in Statuspage were more advanced than they currently are.

The other option, and I don't know if PagerDuty can do this, is to get PD to email a "DOWN" command to the component email address, as outlined here:

<https://help.statuspage.io/knowledge_base/topics/getting-started-with-email-automation>

If you set up your rules in PD to say when P1/2 incidents triggered -\> email the component with subject of "DOWN". But I don't know how flexible PD is with customising the email content.


author: martin
body: Hi Thx i will consider also this option.

Last question. Do you have integration between Prometheus and Status page in place?

thx

Martin


author: Nick Coates
body: Unfortunately no, we don't integrate any of our monitoring tools (at the moment) with Statuspage.


Tags: pagerduty