youngmon/atlassian-qna huggingface dataset:
Samsung A51 Alerts a few times then goes silent for further alerts
Asked by bob cov:

I set up the phone so that I would get loud, obnoxious alerts. It worked once, then the phone didn't make a peep for subsequent alerts. Under Opsgenie (for Android) profile, I have New Alert and just about everything else enabled. In the phone settings, Notifications are allowed for the app. Oddly, under Permissions, it says "no permissions allowed." The denied permissions are camera, microphone and storage. The app is version 3.5.3


Answers:
author: Arumugam M
body: Hi [@bob cov](/t5/user/viewprofilepage/user-id/4974610) ,

This is Arumugam from Atlassian Support, happy to help!

I'm sorry to learn that you are facing some issues with Opsgenie Mobile Application.

From what I understand you are not receiving any notifications after the first alert.

May I know if you have any sort of Scheduled DND enabled on your phone?

If that was the case, could you please make sure that the app is added as an exception to the DND setup and disable the option "Allow Opsgenie to set ringtone volume" option from My Profile -\> Sounds, so that the Opsgenie App will no longer override the DND configuration.

You may also want to enable the "Allow insistent notifications" option if you want notifications to continue to sound until you see/cancel them.

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

Regards,   
Arumugam

comments: author: bob cov
body: The phone began reacting to alerts this morning without any configuration changes. There is no DND timer. Sometime in the mid morning it stopped again and has been silent ever since. I have not changed anything.


author: Arumugam M
body: Hi [@bob cov](/t5/user/viewprofilepage/user-id/4974610)

Thanks for checking.

It seems we need more information about your instance and your configuration to investigate this one further.

Could you please raise a support ticket by accessing the link [here](https://support.atlassian.com/opsgenie/)?

Once you submit a ticket, our support team will be able to further investigate this issue.

We appreciate your understanding.

Regards,

Arumugam
where is my REST api key
Asked by Marco Ensing:

I cannot find the REST api key for the statuspage.io integration


Answers:
author: Nick H
body: Hi [@Marco Ensing](/t5/user/viewprofilepage/user-id/3680994) ,

I believe you are referring to the [Opsgenie \>\> Statuspage](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-statuspage/#Opsgenie-to-Statuspage-integration) sync. You can find that API key within the integration here:

![sp1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/202964i54001328E48AD5B6/image-size/large?v=v2&px=999 "sp1.jpg")

You'll want to copy the integration's API key. Then in Statuspage, navigate to Your profile and settings \>\> API info \>\> Create key:

![sp2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/202965i93F61F1F7063480A/image-size/large?v=v2&px=999 "sp2.jpg")


Tags: cloud
OpsGenie -> SlackApp messages truncated
Asked by David Brnovjak:

Hi,

is there any limit for size of messages posted to slack channel via OpsGenie SlackApp integration from an OpsGenie Alert? I can see the whole message in description of OpsGenie alert but the messaged posted in channel is truncated after 1000 chars.


Answers:
author: Arumugam M
body: Hi [@David Brnovjak](/t5/user/viewprofilepage/user-id/4971985),

<br />

Good day! I am Arumugam from Atlassian Support.

<br />

I understand you are concerned about the character limit for the messages posted to the Slack channel. Unfortunately, at the moment, the message length is limited to 1000 characters.

<br />

However, we have a feature request to increase the character limit for the alert description sent to Slack.

<br />

You may follow the ticket [OPSGENIE-183](https://jira.atlassian.com/browse/OPSGENIE-183) to know more about the feature request.

<br />

Thanks,  
Arumugam

comments: author: David Brnovjak
body: Thank you for clarification :-)


Tags: cloud
Custom schedule - weekly and working-time rotation
Asked by Martin Romih:

I am looking for a way to use Opsgenie with our current workflow.

We have weekly rotations of on-call agent, who should receive notification out of ordinary working hours. This means on-call persons should be notified on workdays only after 4 p.m. and before 8.a.m. and over weekends / holidays. This agent is not working during normal hours when he is on-call.

Inside working hours we have 2 shifts. First on-call agent covers the shift from 8 a.m. till noon, the other one from noon till 4 p.m.

Here is our standard weekly calendar:

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

Is there a simple way to achieve something like that in Opsgenie?

I have tried to create such calendar, weekly rotation is not an issue, but adding working-time daily rotations also includes person, who is already in the weekly rotation and should not be bothered with incidents through normal working day.

Thanks for your suggestions in advance!


Answers:
author: Agaci Avinas
body: Good day!

Thank you for reaching Atlassian support.

You can accomplish this requirement by creating multiple rotations with time restrictions.

You can have two separate rotations for each shift in a workday and another for non-business hours and weekends. Please find the below example;

![Screenshot 2022-06-24 at 1.00.50 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/203262iEC304650491DC636/image-dimensions/351x173?v=v2 "Screenshot 2022-06-24 at 1.00.50 PM.png")

You can also find the detailed example for Weekday/Weekend rotation in this [link.](https://support.atlassian.com/opsgenie/docs/create-an-on-call-schedule-with-weekdayweekend-rotation/)

Regards,

Agaci

comments: author: Martin Romih
body: Your answer helped a lot and it is quite logical :)

I have used 3 weekly rotations, 1 for rotation outside working hours and the other 2 for rotations inside working hours:

![on-call schedule final.png](https://community.atlassian.com/t5/image/serverpage/image-id/203265i158D68535449B26C/image-size/large?v=v2&px=999 "on-call schedule final.png")

Thanks!


Tags: cloud
How to add OpsGenie alerts to Jira ticket on bulk mode?
Asked by Oscar Rosales:

Hello everyone.

Current, we can create a new Incident in OpsGenie and add several alerts to this incident.

![Captura de Pantalla 2022-06-25 a las 18.35.58.png](/t5/image/serverpage/image-id/203437i69CC1AB6DDCDE286/image-size/large?v=v2&px=999 "Captura de Pantalla 2022-06-25 a las 18.35.58.png")

On the other hand, also we can add an alert to a Jira ticket.

![Captura de Pantalla 2022-06-25 a las 18.40.09.png](/t5/image/serverpage/image-id/203438iA0C36B8085870588/image-size/large?v=v2&px=999 "Captura de Pantalla 2022-06-25 a las 18.40.09.png")

But, it would be handy for us can add several alerts to a Jira ticket using a bulk mode.

Do you know a way to do it? Or a plugin or other tool to do it?


Answers:
author: Darryl Lee
body: Hi [@Oscar Rosales](/t5/user/viewprofilepage/user-id/4369465) ,

This is Darryl, I am here to help. ?

Understand that you would like to know if it's possible to bulk linking Opsgenie alerts to a Jira ticket just like associating alerts to incidents.

Unfortunately, this is not feasible in the current design.

I have created a feature request on your behalf, [OPSGENIE-638](https://jira.atlassian.com/browse/OPSGENIE-638), please vote it and set yourself as a Watcher to receive the latest updates.

Thank you very much for your feedback in helping us improve Opsgenie.

Kind regards,   
Darryl Lee  
Support Engineer, Atlassian

comments: author: Oscar Rosales
body: Thanks [@Darryl Lee](/t5/user/viewprofilepage/user-id/3680306) , I'm going close follow the new feature required. :-)


Tags: cloud

integration
OpsGenie - Log in issue
Asked by Noel Browne:

I can log in on my Windows 10 Desktop, but I cannot log into the App on my Apple phone using the same password.


Answers:
author: Shivam Naik
body: Hi [@Noel Browne](/t5/user/viewprofilepage/user-id/4970499) ,

Happy to help!

I would recommend opening a Support request so that we can take a closer look. But on iOS in particular, the intermediary browser can present issues if you aren't allowing cookies. Go to the settings on Safari and ensure that Private Mode is switched off for that issue to be prevented. If that still continues to fail, please open that Support case, or post a screenshot here of the error occurring so we have a clearer idea of what could happening.
How to create a report with all teams call-out with the essential pack
Asked by Raquel Duerto Fabregas:

Hello!

We would like to send a monthly report of all the teams in the company that are on-call each month

How can we have all teams on-calls members in a single view?

Many thanks!


Answers:
author: Chris DeGidio
body: Hi Raquel,

The monthly overview report is the one that would work for you it sounds like, but that is only available on standard plans and up. Standard and enterprise plans contain more analytic options that are not available on essentials.


Tags: cloud
Can users forward alerts?
Asked by Travis Alexander [Admin]:

Suppose a user gets an alert because he is part of a team alerted but he cannot resolve the issue-- is there anyway to forward an existing alert to another team, or would a new alert need generated?


Answers:
author: Nick H
body: Hi [@Travis Alexander \[Admin\]](/t5/user/viewprofilepage/user-id/4765055) ,

The user should be able to simply add a responder to the alert, whether that's another team, user, etc. - and that'll essentially act like forwarding the alert:

![addresponder.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/202437iD7E2B9D348893849/image-size/large?v=v2&px=999 "addresponder.jpg")


author: Howard Nedd
body: Hi Travis,

You can add that team-member as a responder to that alert and remove the other user.

![940232A7-1056-468D-BD0F-F514928B0A59.png](https://community.atlassian.com/t5/image/serverpage/image-id/202436i5F6F95277F22872B/image-size/large?v=v2&px=999 "940232A7-1056-468D-BD0F-F514928B0A59.png")

Regards,

Howard


Tags: cloud
OpsGenie -> Google Chat
Asked by Kristian Lind:

Hi. Has anyone integrated OpsGenie with Google Chat?   
If yes - how did you do it.   

I found a few possible solutions

<https://zapier.com/apps/opsgenie/integrations/google-chat--webhook>  

<https://integrately.com/integrations/google-meet/opsgenie>  

<https://www.workload.co/api/opsgenie/integrations/google-chat/>


Answers:
author: Shivam Naik
body: Hi [@Kristian Lind](/t5/user/viewprofilepage/user-id/4667829) ,

Happy to help!

Opsgenie does not have a direct integration to Google Chat at the moment, but I've gotten a Feature Request filed here <https://jira.atlassian.com/browse/OPSGENIE-613>, and I would recommend voting on it, and adding yourself as a Watcher for updates from Engineering.

In the the interim, those options you posted would serve as good workarounds, though they would not be as robust as the Slack Integration Opsgenie has. Zapier in particular has been used with unsupported app integrations.

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


author: bhamdan
body: PagerDuty for Google Chat -- Available JUNE 5, 2022

Why can't we create this Integration?


Tags: cloud
Notifying End Users of Whose on Call
Asked by Dani Lowe:

Hi There,

We are currently looking at using OpsGenie for our On Call scheduling, but would like to know if it has the ability to send out notifications of who is on call to our clients in JIRA?


Answers:
author: Howard Nedd
body: Hi [@Dani Lowe](/t5/user/viewprofilepage/user-id/4967587) ,

You can notify users who is on call by their preferred way. As for stakeholders they can simply go to the "Who's on Call" tab and you will be able to see who is on call per team and they preferred way of being notified. Opsgenie also has an app which can notify users when they are on call and when their in call schedule ends. Finally, you can export the on-call calendar to Confluence and add it to your teams page.

Hopefully that helps.

<br />

Regards

Howard

comments: author: Dani Lowe
body: Hi [@Howard Nedd](/t5/user/viewprofilepage/user-id/4566707)

This is extremely helpful, thank you so much!

Kind Regards,

Dani


Tags: jira
What causes high CPU load on agents when cloning repositories?
Asked by Clifford Sanders:

Hi,

if I use the *Source Code Checkout* task cloning the repository takes up to 9 minutes. Most of the time is spent in these steps

```
01:43:17 Fetching 'refs/heads/*' from 'ssh://git@stash.intapps.it:7999/ma/mybranch.git'.
01:43:17 Warning: Permanently added '[127.0.0.1]:36431' (RSA) to the list of known hosts.
01:51:55 From ssh://127.0.0.1:36431/ma/mybranch
01:51:55 * [new branch] mybranch
...
```

During this time the CPU load of the agent running on an AWS EC2 machine (c4.4xlarge) goes up to 100% using only one of the available 8 cores.

If I use a *Script* task to execute  

```
git init myproject
cd myproject
git remote add origin ssh://git@stash.intapps.it:7999/ma/myproject.git
git fetch
```

cloning is much faster  

```
14:48:59 Initialized empty Git repository in /root/bamboo-agent-home/xml-data/build-dir/MY-PROJ-JOB1/myproject/.git/
14:48:59 Warning: Permanently added '[stash.intapps.it]:7999,[10.130.14.156]:7999' (RSA) to the list of known hosts.
14:49:47 From ssh://stash.intapps.it:7999/ma/myproject
14:49:47 * [new branch] mybranch
...
```

What is causing this high load and how can I make cloning repositories faster?


Answers:
author: Daniel Ebers
body: Hi [@Clifford Sanders](/t5/user/viewprofilepage/user-id/576943)

this could be hard to pinpoint from the outside/from Community so I am only able to share some more generic information - the first attempt for diagnosing performance issues could be to follow the troubleshooting guideline.

In case the issue is still current and you have not reviewed the information recorded here, it could give a first clue:

<https://confluence.atlassian.com/bamboo/performing-a-thread-dump-289277385.html>

Regards,  
Daniel
Aquasec
Asked by Roxanne Pashaei:

How to disable the "skip Aqua scan" when Aqua bamboo plugins are used for CiCD?


Answers:
author: Daniel Ebers
body: Hi [@Roxanne Pashaei](/t5/user/viewprofilepage/user-id/4632629)

am I right you are referring to an App used in Bamboo?  
If not, could you please state exactly where you are seeing this kind of plugin?

If possible please support via a screenshot.

I was able to identify a documentation:  
<https://support.aquasec.com/support/solutions/articles/16000121479-bamboo-integration>

In case this is an App installed in Bamboo you can deactivate them as follows:

<https://confluence.atlassian.com/bamboo/apps-289277262.html>

Regards,  
Daniel
Unable to set local vars from plan vars in script
Asked by Max van den Berk:

When I define anypoint_username=MyUserName as a Project variable,  
I am not able to access it in a script task as documented in:  
<https://confluence.atlassian.com/bamboo0608/bamboo-variables-970619468.html>

```
if [ -z "${bamboo.anypoint_username}" ]; then
echo "bamboo.anypoint_username not found, please set global variable."
usage
fi
anypoint_username="${bamboo.anypoint_username}"
```


Answers:
author: Eduardo Alvarenga
body: Hello [@Max van den Berk](/t5/user/viewprofilepage/user-id/4631640)

Welcome to Atlassian Community!

To use variables in Bash, your need to call them differently:
>
> #### Using variables in bash {#toc-hId--509455560}
>
> Bamboo variables are exported as bash shell variables. All full stops (periods) are converted to underscores. For example, the variable `bamboo.my.variable` is `$bamboo_my_variable` in bash. This is related to File Script tasks (not Inline Script tasks).

<br />

Kind regards,

Eduardo Alvarenga  
Atlassian Support APAC

comments: author: Max van den Berk
body: Thank you, I'm so new I didn't even realise an answer was already given!


Tags: script
Bamboo bootstrap failed: Failed to run H2 database upgrade.
Asked by PANTAKORN SATHAPANASAKUL:

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


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Community!

You'll need to read the application's log file to see what the underlying error is, but it is very likely that you will find that it is a fatal error - your database is probably heavily damaged and unusable.

H2 is not a supported database for Atlassian stuff, it's only there for getting started with throwaway development, test or demo systems. If used heavily it will fail catastrophically, without warning.

You may be able to recover from a backup if you've taken one.

Whether you decide to try to recover or not is up to you, but you really should migrate to using a proper database as soon as possible, H2 will fail you if you carry on using it.

comments: author: Yavuz Yasin ?elik
body: when I check the logs under target, I found the problem. Thanks for your advice.

<br />

2022-08-11 08:44:02,855 FATAL \[localhost-startStop-1\] \[DefaultBootstrapManager\] H2 database upgrade failed  
com.atlassian.upgrade.UpgradeException: Failed to download H2 library from <https://repo1.maven.org/maven2/com/h2database/h2/1.4.196/h2-1.4.196.jar>. Download it manually and copy it into: C:\\XXXXX\\workspaces\\xxxx-plugin\\target\\bamboo\\home\\h2temp\\h2-1.4.196.jar  
...

at java.lang.Thread.run(Thread.java:748)  
Caused by: java.net.ConnectException: Connection timed out: connect  
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
How to run second Stage in case of first Stage fails?
Asked by Konstantin Balashow:

Hello!  

I have a bamboo build with 2 stages: 1st Stage and 2nd Stage. How can I run manually 2nd Stage in case of 1st Stage failed?  

<br />

<br />

<br />

[Atlassian Bamboo](http://www.atlassian.com/software/bamboo/) version 7.1.4 build 70122 - 03 Nov 20


Answers:
author: Alexey Chystoprudov
body: Hello,

In case you have two independent process which should be executed regardless of status of another one, then put your tasks into different Jobs inside one Stage

In case you need to run tasks sequentially then put them to Stages, then Stage 2 will be executed after success of Stage 1

It's possible to mark Stage as Final, then Bamboo will trigger it regardless of status of previous stages. It's useful if you want to cleanup resources generated or taken by previous Stages

comments: author: Konstantin Balashow
body: Thanks for different ways!  

*\>In case you need to run tasks sequentially then put them to Stages, then Stage 2 will be executed after success of Stage 1*   

Does it mean that the only way to run Stage 2 sequentially it's successful Stage 1?  


author: Alexey Chystoprudov
body: Yes if Stage 2 is regular stage.

If it's Final stage, then it will be executed after success or failure of Stage 1


author: Konstantin Balashow
body: Thanks!
Any idea how to resolve a NullPointerException on isDataCenter following an upgrade to 8.0.4?
Asked by Jeff Dexter:

I recently upgraded Bamboo from 7.0.4 to 8.0.4. The Bamboo service is failing to start with the following stack trace:

```
2021-11-06 10:37:28,605 FATAL [localhost-startStop-1] [BambooContainer] Cannot start Bamboo
java.lang.NullPointerException
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
        at com.sun.proxy.$Proxy161.initAgents(Unknown Source)
        at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:260)
        at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:145)
        at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:52)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4763)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5232)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1427)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1417)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
```

Anyone have an idea if I'm missing a configuration setting or similar issue?


Answers:
author: Alexey Chystoprudov
body: Please contact support team at <https://support.atlassian.com> and provide Bamboo logs to receive more details about issue

comments: author: Jeff Dexter
body: Hey [@Alexey Chystoprudov](/t5/user/viewprofilepage/user-id/781646) the support portal just takes me back to the community page (i.e. here) as I have a Starter License for this instance. Is there a better link, email contact, etc. where I can get support on this issue?


author: Alexey Chystoprudov
body: [@Jeff Dexter](/t5/user/viewprofilepage/user-id/457774) please share full log here I'll look what could cause it
Can a bamboo job wait to receive an incoming webhook?
Asked by Duncan Perrett:

I want a job to **wait** for the reception of an incoming webook POST HTTP request.

Specifically I want the job to await a webhook from sonarqube which signals when a static analysis is complete.

<https://docs.sonarqube.org/latest/project-administration/webhooks/>

Job1 - Trigger sonarqube scan

Job 2 - Wait until sonarqube server has processed the analysis

Job 3 - Ask sonarqube server how many new issues were detected

etc..

jenkins appears to document a similar idea here - <https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-jenkins/>


Answers:
author: Alexey Chystoprudov
body: Unfortunately it's not possible out of the box and the only option to achieve it is to configure Job 2 to curl Sonarqube with REST or HTTP call for status of scanning.
Error stages Bamboo
Asked by Dem?trius Eg?dio:

I'm doing two conditions, "yes and no", if I put NO, it was for it not to run and not give an error, but if I leave NO, it runs and gives an error, can I leave it the way I wanted?

![Captura de tela de 2021-11-05 16-46-14.png](https://community.atlassian.com/t5/image/serverpage/image-id/168206i5BA230DD870892E9/image-size/large?v=v2&px=999 "Captura de tela de 2021-11-05 16-46-14.png")


Answers:
author: Alexey Chystoprudov
body: If you configured condition to skip some tasks depending on variable value then it might be situation when Bamboo marks job as failed if no single task was executed. To avoid such situation keep some dummy unconditional task which will be executed regardless of condition. Then other tasks might be skipped and job will be successfully completed