youngmon/atlassian-qna huggingface dataset:
Opsgenie and Zabbix
Asked by Louis_DaCosta:

Is it possible to integrate Opsgenie Cloud with Zabbix in on-prem version ?


Answers:
author: Nick H
body: Hi [@Louis_DaCosta](/t5/user/viewprofilepage/user-id/5192790) ,

If you are asking if Opsgenie can communicate with Zabbix / send Opsgenie alert actions back to the Zabbix alert - then yes - that should be possible.

Opsgenie has an [OEC plugin](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-zabbix-plugin/) which would most likely be needed. OEC is a lightweight app used to communicate with external systems that are not accessible from the public internet.

comments: author: Louis_DaCosta
body: Thank you for your answer !


author: Andrew Laden
body: Absolutely. It works great.

There are two variants on how to do it however. The original way is documented

<https://blog.zabbix.com/scheduling-and-escalation-made-easy-zabbix-and-opsgenie-integration/10005/>

Later on Zabbix added a "native" integration.

<https://www.zabbix.com/integrations/opsgenie>

I prefer the earlier method as I was able to do a little more customization. But the Native one is probably a little easier to set up.

comments: author: Louis_DaCosta
body: Thank you for your answer !


Tags: zabbix
Automate the creation of slack channels for an incident
Asked by Chris Negus:

There is a manual feature to spin up a slack channel in opsgenie, however I want to understand if there is a way with team actions/policies, or otherwise to have the slack channel automatically created along with a conference bridge or similar, to save time.


Answers:
author: Nick H
body: Hi [@Chris Negus](/t5/user/viewprofilepage/user-id/1445649) ,

That's not currently possible, but there is an open feature request for this you can follow, watch and vote for here: [Option to automatically create slack channels for incidents](https://jira.atlassian.com/browse/OPSGENIE-57)


author: Mansi
body: Hi, We are already solving this multiple companies at [pagerly.io.](https://pagerly.io)  
You can contact us for any support/ requests


Tags: cloud
Statuspage + Opsgenie component not syncing
Asked by craig_diehl:

I've setup the integration with statuspage in our opsgenie account and alerts that are created are also creating incidents in our statuspage as expected. I'm having issues using tags to map incidents to components via cmp_\[component name\]:\[status\]. I have the integration set to "create an incident and update the component's/incidents statuses according to tags"

Any chance I've set this up incorrectly? I'm defining this under  
"For other Opsgenie alerts:  
Create Statuspage Incidents for Opsgenie Alerts:"


Answers:
author: Riley Venable
body: To troubleshoot this issue, try the following steps:

1. Double-check that the tags are formatted correctly as cmp_\[component name\]:\[status\], where \[component name\] is the name of the component to have a status change and \[status\] is one of the allowed statuses for the component.

2. Make sure that the component name in the tag matches the name of the component in Statuspage exactly.

3. Check if there are any typos or errors in the tag or in the component name in Statuspage.

4. Ensure that the allowed component statuses are being used. These statuses are listed under the "Allowed Component Statuses" header in the provided context.

5. Verify that the Opsgenie action is correctly mapped to the "update the component's/incidents statuses according to tags" Statuspage action.

6. Try creating a new alert with a specially formatted tag and see if the incidents and components are updated correctly in Statuspage.

comments: author: craig_diehl
body: Thanks for your help [@Riley Venable](/t5/user/viewprofilepage/user-id/4584007) . I've double checked a few times now to make sure there are no spelling errors and the settings are correct and the components are still not updating. I wonder if there is any logging available some place that identifies the tags being sent to statuspage?


Tags: cloud
Prefect Intergration
Asked by Dhrumil kishorchandra Modhiya:

How to connect Prefect URL to set real time alert in Opsgenie


Answers:
author: Nick H
body: Hi [@Dhrumil kishorchandra Modhiya](/t5/user/viewprofilepage/user-id/5184621) ,

I'm not familiar with Prefect URL, and it is not one of Opsgenie's prebuilt integrations.

If Opsgenie does not offer a prebuilt integration, customers with typically leverage either an [API Integration](https://support.atlassian.com/opsgenie/docs/create-a-default-api-integration/) or [Email Integration](https://support.atlassian.com/opsgenie/docs/integrate-your-email-with-opsgenie/) to connect their external systems and tools.


Tags: cloud
Possible to match alerts on Extra Properties?
Asked by Alper Cugun:

We have the Jira issueKey coming in through the extra properties of an alert.

![Screenshot 2023-03-30 at 11.28.58.png](https://community.atlassian.com/t5/image/serverpage/image-id/248699iAB459663D5B767BD/image-size/large?v=v2&px=999 "Screenshot 2023-03-30 at 11.28.58.png")

Is it possible to match on the issueKey in incident rules and create an incident based on that?

Right now if I try that I get a very weird error message:

"Property \[field\] cannot be empty"


Answers:
author: Mubeen Mohammed
body: Hello [@Alper Cugun](/t5/user/viewprofilepage/user-id/4370663)

Thank you for contacting the Atlassian community! this is Mubeen.

Apologies for the inconvenience caused, the error you are noticing while adding the extra properties (to the incident rule) is a known issue and is currently being investigated by our engineering team. You can follow the ticket ID [OPSGENIE-1368](https://jira.atlassian.com/browse/OPSGENIE-1368) for more updates on the issue. Thank you for understanding.

I hope the information provided is helpful.

Regards

Mohammed Mubeen

Cloud Support Engineer


Tags: cloud
Should the JSM Request be auto linked when created via a rule after an alert
Asked by Ste404:

Hey all,

I have JSM and Opsgenie connected and working. When an issue is created in JSM that meet the alert criteria in Opsgenie the alert is created and I can see the JSM issue linked.

I have some Incident rules in place that will create an incident if the alerts meet certain criteria, this also is working as expected. The only thing I am not seeing is the JSM issue does not appear in the area at the bottom to show linked issue. If I go in and manually link it I can see it and it links fine.

Should the issue that is linked in the alert carry over to the incident when it is created and be linked also?

Thanks.


Answers:
author: Mubeen Mohammed
body: Hello [@Ste404](/t5/user/viewprofilepage/user-id/4984517)

Thank you for contacting the Atlassian community! this is Mubeen.

The ability to automatically add linked Jira issues(Opsgenie alert) to the Incident created with the Incident rule is not possible with the current product design. However, we have an open feature request with our engineering team and [OPSGENIE-746](https://jira.atlassian.com/browse/OPSGENIE-746) is the ticket ID for your reference. You can also read about our [feature implementation policy.](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html)

I hope the information provided is helpful.

Regards

Mohammed Mubeen

Cloud Support Engineer
Difference between an incident and alert
Asked by Alper Cugun:

I'm able to receive alerts from Jira Cloud. So then a selected the alert and created and incident from it.

The incident shows up in the alert list and is indistinguishable from alerts. There's nothing there that tells me that it's an "incident".

What's the point here?


Answers:
author: Alper Cugun
body: OK. It's hard to distinguish them but an alert will have a "related incident" kinda link at the top.

It is possible to create incidents automatically based off alerts (though the incident rules things is very difficult to use) but the incident product is so weirdly off that it's better not to use it at all.


Tags: cloud
Ops Genie Compare Fields on Policy Conditions
Asked by Michael Matthews:

I am trying to compare two fields, the Detail (Key-Value) filter with each other.

My alter has an author id and user id and if they don't match I would like to close the alert. Is this possible in ops-genie?

![2023-03-29_18-52-44.png](/t5/image/serverpage/image-id/248594i2CBB1A72911EC698/image-size/large?v=v2&px=999 "2023-03-29_18-52-44.png")


Answers:
author: Muhammad Zeeshan
body: Hey [@Michael Matthews](/t5/user/viewprofilepage/user-id/713687) ,

Yes that is possible, however, via the Notification policy, not alert policy, where you can define the filter as you have in your screenshot and then select the following option:

![Screenshot 2023-03-31 at 15.16.55.png](https://community.atlassian.com/t5/image/serverpage/image-id/249092i05178420A9C7F41E/image-size/large?v=v2&px=999 "Screenshot 2023-03-31 at 15.16.55.png")

You can adjust the number of minutes there accordingly.

It is required for this to work that the those key-value pairings are added on the alert upon alert creation. If they are added afterwards, the notification policy will not trigger.

Best regards,
Unable to assign alert in Slack
Asked by Sara Mikkelsen:

Currently I am unable to assign opsgenie alerts in Slack to users.

When I click "Assign" I am given a dropdown of users to choose from. All of my slack users show up in the dropdown. I will attempt to assign the alert to a user who is also an opsgenie user and I receive the message "This user does not exist in Opsgenie"

![Screen Shot 2023-03-29 at 5.26.12 PM.png](/t5/image/serverpage/image-id/248590i2E94C15F08F624B7/image-size/large?v=v2&px=999 "Screen Shot 2023-03-29 at 5.26.12 PM.png")

These are the settings for our Slack Integration

![Screen Shot 2023-03-29 at 5.23.33 PM.png](/t5/image/serverpage/image-id/248589iB2ED3E04F8C6E1E2/image-size/large?v=v2&px=999 "Screen Shot 2023-03-29 at 5.23.33 PM.png")

I was unable to find any other references to this error online. All help is appreciated!


Answers:
author: Nick H
body: Hi [@Sara Mikkelsen](/t5/user/viewprofilepage/user-id/5183299) ,

I believe your users will need to connect their Slack with Opsgenie through this command:

```
/genie connect?
```

before you can assign them alerts through Slack. This is to authenticate they are an active user in the Opsgenie.

comments: author: Sara Mikkelsen
body: so simple and it worked! Thanks so much Nick
Webhooks - access token for alert
Asked by Chris Hills:

When an alert is created, I would like to send a webhook that includes as part of the paypload an access token which has these specific properties:

* Can increase priority of the alert associated with the token
* Can add a note to the alert associated with the token
* Can close the alert associated with the token
* Is valid for a specified time period (e.g. 24 hours)

In addition, to avoid hard-coding api url's, it would be useful to also add a field to the payload with the api url associated with the token.

Is this something that is available or being worked on?


Answers:
author: Muhammad Zeeshan
body: Hey [@Chris Hills](/t5/user/viewprofilepage/user-id/4877698) ,

There is no such implementation being worked on at the moment, however, you can create a Feature suggestion ticket for it on our Development team's dashboard via: <https://jira.atlassian.com/secure/MyJiraHome.jspa>

Moreover, based on your use case, you can instead make use of OEC which allows you to run a script upon alert creation that you can customise to fit your needs. Feel free to read up more about OEC and its functionalities here to see if it fits your requirements: <https://support.atlassian.com/opsgenie/docs/opsgenie-edge-connector-as-an-extensibility-platform/>

Best regards,


Tags: cloud
Getting agent installation issue
Asked by Swastik Mukherjee:

Hi All I am trying to install a remote agent on ubuntu, its showing error. PF screen shot attached.

telent working on prodapp1 server to 54663, server is accesible via ssh as well.

![agent installation error.PNG](/t5/image/serverpage/image-id/215401i10BBCBF761446BCF/image-size/large?v=v2&px=999 "agent installation error.PNG")


Answers:
author: Santhosh Thokur Raghava
body: Hi [@Swastik Mukherjee](/t5/user/viewprofilepage/user-id/5027146) ,

Thank you for reaching out to Atlassian Community.

Assuming that remote agent host is different than the Bamboo Server, please check if telnet to prodapp1 on port 54663 from Agent Host.

If that works fine, then can you please check the Bamboo Server host and logs for any disk space issue or any. possible errors in \<bamboo-home\>/atlassian-bamboo.log while Agent trying to register with Bamboo Server.

Usually this issue comes up due to Firewall connectivity issue between Agent and Bamboo App Hosts, Space issue in Bamboo/agent server.

Thank You,

Santhosh Thokur

Atlassian Support AMER

**--please don't forget to Accept the answer if the reply is helpful--**
Unable to checkout for aws codecommit
Asked by Rainielle Maglaya:

We upgraded to Bamboo version 8.1.9 build 80117 today.

Everything looks fine, except for the Bamboo Plans which uses AWS CodeCommit repositories. See error below

**com.atlassian.bamboo.plugins.git.GitCommandException:**

command \[/usr/local/bin/git ls-remote [ssh://2656138a-fec9-43dd-935f-8f3265a2cbd7@127.0.0.1:42394/v1/repos/cws-ecomm-api](https://protect-eu.mimecast.com/s/BnyzC59nnH2gLxQTOhsV7)\] failed with code 128. Working directory was \[/app/atlassian/atlassian-bamboo/temp\]., stderr: Authenticating remote session failed stdout: Warning: Permanently added '\[[127.0.0.1](https://protect-eu.mimecast.com/s/WR2HC6RooTqVY1ATm0SEL?domain=127.0.0.1)\]:42394' (RSA) to the list of known hosts. BAMBOO-SSH-PROXY: \[SSH proxy tried to connect to \[APKAZTUTIMPY4ZVUUNOM@git-codecommit.eu-west-1.amazonaws.com/52.95.120.42:22\]: and failed due to the following error: \[Authenticating remote session failed\]: KeyExchange signature verification failed for key type=ssh-rsa\] fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

<br />

Tried cloning one of the repo using Bamboo server manually using the existing keys and also newly created keys and I was able to clone it

However, when I tried to update the ssh key in the repository definition in Bamboo, saved the setting and tried to test the connection I am having the issue shown bellow.

```
Warning: Permanently added '[127.0.0.1]:42394' (RSA) to the list of known hosts.
BAMBOO-SSH-PROXY: [SSH proxy tried to connect to [APKAZTUTIMPY7CHRVUVX@git-codecommit.eu-west-1.amazonaws.com/52.95.112.172:22]: and failed due to the following error: [Authenticating remote session failed]: KeyExchange signature verification failed for key type=ssh-rsa]
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
```


Answers:
author: Eduardo Alvarenga
body: Hello [@Rainielle Maglaya](/t5/user/viewprofilepage/user-id/3679878),

Thank you for reaching out to Atlassian Support and also here at Community!

This issue is being tracked by the following bug:

* [\[BAM-21881\] Git checkout not working with AWS CodeCommit repository](https://jira.atlassian.com/browse/BAM-21881)

We encourage you to add yourself as a watcher to be kept informed about the state of the bug moving forward. If our development team updates the ticket, you'll be notified via email.

Sincerely,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**


Tags: aws
Run in Docker Doesn't have bamboo/temp/ ScriptBuildTask sh
Asked by Matt Simon:

I have a job running in an isolated environment docker that dies immediately when it trys to execute any script.

\`/tmp/runInDocker...sh: line 4: /var/atlassian/application-data/bamboo/temp/...ScriptBuildTask...sh: No such file or directory\`

From other questions the issue is normally that the temp folder isn't mounted, but I'm still not able to run the task even though it has the default values

```
|Host directory             |Container directory        |
|${bamboo.tmp.directory}    |${bamboo.tmp.directory}    |
|${bamboo.working.directory}|${bamboo.working.directory}|
```


Answers:
author: Will
body: Hi, Matt,

You can add a script task to print bamboo directory variables in non-docker agent

* ${bamboo.tmp.directory}
* ${bamboo.working.directory}

Maybe your host directory is different with the container directory.

Please check these value must be correct.

Especially to check ${bamboo.tmp.directory} value in your host. Make sure it is correct. Good luck.


Tags: docker

script

scriptrunner
Cannot Create files during Bamboo upgrade.
Asked by Gihan Sundarapperuma:

Hello!

I'm trying to upgrade Bamboo server from 6.5 to 8.2.5. But during the upgrade getting below error.   

I'm using 8.2.5 64-bit installer.  
Windows server 2022 standard.   

![Bamboo error..PNG](https://community.atlassian.com/t5/image/serverpage/image-id/214712iFB31626FD5307345/image-dimensions/359x193?v=v2 "Bamboo error..PNG")  

All the directories have the right permissions. Any idea why?  

Thanks in advance!


Answers:
author: Eduardo Alvarenga
body: Hello [@Gihan Sundarapperuma](/t5/user/viewprofilepage/user-id/5025293)

Welcome to **Atlassian Community**!

According to the [Bamboo Upgrade guide](https://confluence.atlassian.com/bamboo/bamboo-upgrade-guide-720411366.html#Bambooupgradeguide-2.DownloadandinstallanewBambooversion):
> To upgrade Bamboo, you must install a new Bamboo instance in a `<bamboo-install>` directory that is different from the `<bamboo-install>` directory of the original Bamboo instance.

Restore your previous snapshot and start over again by installing Bamboo 8.2.5 on a different location maintaining the common **\<bamboo-home\>**. After Bamboo is up and running you can then uninstall the old binaries.

Thank you,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**


Tags: server
Upgrade bamboo because of Tomcat vulnerability but license expired.
Asked by niraj:

Hello, I am currently using Bamboo server 7.2.4 and my license expired on May 2021.

I have to upgrade Bamboo or Tomcat to a later version because of the Tomcat vulnerability CVE-2022-25762.

What are the options for me?

Which version can I upgrade to?

Can I upgrade even if the license is expired?

Can I create a new instance of my bamboo server by taking a backup of the AMI and spinning a new instance, and they try the upgrade process there?

Thanks


Answers:
author: Eduardo Alvarenga
body: Hello [@niraj](/t5/user/viewprofilepage/user-id/5024125),

Welcome to **Atlassian Community!**

Bamboo requires a license that is valid up to the date of the release you intend to install. As you are running Bamboo 7.2.4, you are on a "Server license", meaning you will not be able to upgrade Bamboo to a version of Bamboo that was released after the license expired nor be entitled to support.

For dates and examples please check the following KB article:

* [What happens when a Bamboo license expires](https://confluence.atlassian.com/bamkb/what-happens-when-a-bamboo-license-expires-1114804458.html)

Cheers,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**


Tags: licence

tomcat

upgrade
what is agent in bamboo? why we are using it? how we should it used ?
Asked by WillingMath:

Hi,

I am new to bamboo. we are using default assigned agents in our project execution in bamboo. We have observed that few of test-cases get failed due to browser load issue in bamboo execution.

so what is the crux behind test-cases and agents? how many agents to be there for how many test-cases, so that all test-cases get executed smoothly?

for example: I have 100 test-cases inside one test-plan. Configured 48 agents and provided random sleep time for 120 sec in bamboo.yaml file, even 50% test-cases are getting failed due to browser load issue.

I have checked that, test-case is light weighted and execute fine on my local system. could anybody please help me to come out from this issue ?


Answers:
author: Eduardo Alvarenga
body: Hello [@WillingMath](/t5/user/viewprofilepage/user-id/5023891)

Welcome to **Atlassian Community!**

As you haven't mentioned what type of Agent you are using, not the Bamboo version you are using we need to explore a few theories here.

If you are using Local agents (created on the Bamboo UI) you may be running out of system resources creating broken builds and resulting in failures. For that, we advise you to use Remote or Elastic Agents.

* [Difference between Local agents and Remote Agents](https://confluence.atlassian.com/bamkb/difference-between-local-agents-and-remote-agents-457703602.html)

If that's not the case, you'll need to provide information from your instance, error messages etc.

For that, we advise you to open a support case with Atlassian at <https://support.atlassian.com/contact>.

Please do not post private information on this page as it is a public forum.

Cheers,

Eduardo Alvarenga  
Atlassian Support APAC  

**--please don't forget to Accept the answer if the reply is helpful--**
Create plan branch using YAML specs
Asked by Balaji:

Hi,

I have a requirement that I wanted to create a plan branch using YAML specs. Please let me know this feature is available or not in bamboo.


Answers:
author: Eduardo Alvarenga
body: Hello [@Balaji](/t5/user/viewprofilepage/user-id/5023888)

Welcome to **Atlassian Community!**

In Bamboo, there are two ways to have Branches created via a Specs plan:

* [Enable branches](https://docs.atlassian.com/bamboo-specs-docs/latest/specs.html?yaml#handling-new-branches) with a code spec like this:

```
branches:
  create: for-new-branch
  delete:
    after-deleted-days: 7
    after-inactive-days: 30
```

* Use [Enhanced Plan Branches](https://confluence.atlassian.com/bamboo/enhanced-plan-branch-configuration-1018767259.html)

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC  

**--please don't forget to Accept the answer if the reply is helpful--**

comments: author: Balaji
body: Hi,

Can you please confirm that this will over inherit the stages/tasks from parent branch and will create a new branch. I am not able to reproduce my expectations.


author: Eduardo Alvarenga
body: Hello [@Balaji](/t5/user/viewprofilepage/user-id/5023888)

Plan branches will inherit the default branch Specs. They will only diverge from the default branch (be enhanced branches) if the contents of the bamboo-specs folder are different from the default one and if they are coming from a Bitbucket Server or Bitbucket Cloud Server (on Bamboo 9)

If you use Plan branches and the branch already exists on your Git repository, you'll need to create the branch manually in Bamboo by clicking on the "Create plan branch" icon next to "Plan branch" on the top right when checking the Plan configuration.

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC  

**--please don't forget to Accept the answer if the reply is helpful--**
Publish two plans related to each other [Java Specs]
Asked by Michael:

I want to publish two plans that are related to each other. But this doesn't work as Bamboo throws an error because the related plan doesn' exist yet.

* PlanParent has a child dependency to PlanChild.
* PlanChild has an Artifact download task of artifacts from PlanParent.

```
bambooServer.publish(planParent); // fails because planChild doesn't exist
bambooServer.publish(planChild);

// ---

bambooServer.publish(planChild); // fails because planParent doesn't exist
bambooServer.publish(planParent);
```

How to publish those two plans?


Answers:
author: Michael
body: Looks like there is no better way than doing it in two steps.

1. Publishing the plans without the child plan dependencies  
2. Publish the plans again including the child plan dependencies.

This worked for me.