youngmon/atlassian-qna huggingface dataset:
Who writes Opsgenie integrations.
Asked by Matt Osborne:

Hello,  

Looking for some details regarding the data security model of opsgenie integrations. I understand that they function as slightly more complex API endpoints, but who writes the code? And is there any opportunity for data to be sent to a third party when using an integration?


Answers:
author: John M
body: Hi [@Matt Osborne](/t5/user/viewprofilepage/user-id/5486956) ,

John from Opsgenie support here - happy to help.

Our development team writes all of the code for the integrations. We do have 2 options for sending data to a 3rd party:

Webhooks, which send alert payloads to any endpoint you specify:

<https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-webhook/>

OEC, which can send more customizable payloads to an AWS SQS queue, which is then retrieved by the OEC client, which can be installed on your local server:

<https://support.atlassian.com/opsgenie/docs/opsgenie-edge-connector-as-an-extensibility-platform/>
Unmerging Jira Service Management and Opsgenie
Asked by Robert Pawlak:

We are going to ask for unmerging Jira Service Management and Opsgenie. My question is if our current setup and configuration of Opsgenie will stay the same as it is now (teams, users, integrations, on-call escalations and schedules).


Answers:
author: Robert Pawlak
body: Answer from support:

"Please note that all settings, such as integrations, schedules, and teams within Opsgenie, will be preserved when the un-merge occurs. No features within Opsgenie will be lost by processing this un-merge. The changes you will experience as a result of splitting the merge include the restoration of features, such as:

- Incoming call routing

- Live chat support

- Free Stakeholder roles"

comments: author: Robert Pawlak
body: But.. there is another issue:

**"Splitting Opsgenie instance is not available for the CCP sites"**

I don't understand, what actually happened here. We have never asked for Opsgenie related actions nor moving to CCP billing. It sounds very strange. I wonder how many Atlassian customers are affected.


author: Robert Pawlak
body: Issue fixed: [OPSGENIE-1633](https://jira.atlassian.com/browse/OPSGENIE-1633) (*"Unable to split Opsgenie from JSM if it has been previously merged with JSM and Atlassian Site is Billed in CCP"*).


author: Shashwat Khare
body: Hey [@Robert Pawlak](/t5/user/viewprofilepage/user-id/5444937) ,  

<br />

Yes, this is fixed and our CA Team should be able to help you with the split.  

Could you please log a ticket with us for the same using [this link](https://www.atlassian.com/company/contact/purchasing-licensing?redirectSource=sac-wac-redirect#/)?  

<br />

Best,  
Shashwat


author: Elelta D
body: Hello there Robert!

Welcome to the community :-)

Yes, you can split OpsGenie from Jira Service Management (JSM), but there are specific conditions and steps involved in the process and requires coordination with Atlassian support teams to ensure the process is completed correctly.

<br />

Please open a ticket here: <https://support.atlassian.com/contact/>

Elelta

comments: author: Robert Pawlak
body: Hi [@Elelta D](/t5/user/viewprofilepage/user-id/4767776) , thanks for info. I've already opened a ticket on 23/Apr/24, but got no answer up to now. Could you please check CA-2937816? Thanks!


author: Robert Pawlak
body: And I know there is an option, but my question is if after unmerge our current setup and configuration of Opsgenie will stay the same as it is now.
Nested Rules
Asked by ACME MS:

Is it possible to create nested rules in opsgenie? For example, I have 2 rules in cloudwatch,

CPU utilization exceeds 80%, then alerts should come as P1.

CPU utilization exceeds 70%, then alerts should come as P2.

I need the alerts to get suppressed rather than logging it as 2 seperate alerts/ tickets to jira. So, if its 70 then alert it as P2 and once it reaches 80 then alert it as P1 but not log it separately.

Please provide clarification on this.


Answers:
author: Egor
body: Hey There,  
Thanks for reaching out to Atlassian Community!  

To achieve your goal of handling alerts based on CPU utilization and managing escalation without creating duplicate alerts, you can use OpsGenie's **Alert Policies** and **Integration settings**. Here's a simplified guide:

1. **Create Integration with CloudWatch**: Set up your OpsGenie integration to receive alerts from AWS CloudWatch. Ensure both P1 and P2 conditions (CPU exceeds 80% and 70%, respectively) are configured in CloudWatch to send alerts to OpsGenie.

2. **Use Alert Deduplication**: In OpsGenie, utilize the deduplication feature to manage multiple alerts triggered for the same incident. Configure deduplication to match alerts based on a common identifier (e.g., instance ID or alert name).

3. **Define Priority-Based Policies**:

   * **Filter by Condition**: Use filtering rules in OpsGenie to categorize alerts into P1 or P2 based on the specifics in the alert message or custom fields sent by CloudWatch.
   * **Update Priority**: Use OpsGenie policies to automatically upgrade the priority of an existing alert (from P2 to P1) instead of creating a new alert, based on newer incoming data.

I hope this helps!   

Thank you,

Egor

comments: author: ACME MS
body: Thank you,

Can you please elaborate on Update priority part please? maybe the steps or screenshots etc,.


author: Muhammad Zeeshan
body: Hey,

The updating priority works when for example, there is an existing Alert with priority P3 and alias 'test-alert-alias'. Then a new alert is created with the same alias 'test-alert-alias' but priority P1. In that case, that new alert will not be created as a separate alert, instead it will merged into the initial alert and raise its priority to P1.

Now you can implement it via your Integration settings and via your Alert policies. Please feel free to open a ticket on our Support channel here: <https://support.atlassian.com/contact/> so we can assist you with a solution based on your current configuration and requirements.

BR,
Create Incident response Incident Id
Asked by Mert ?smail K?ro?lu:

I am performing a "Create Incident" operation using Api Key. Then I want to close the Incident I created using the "Close Incident" feature. However, the "Create Incident" operation does not return the Id value of the created incident. How can I do "Close Incident" in this case? I am integrating processes into automation. Entering the application is not among my options.


Answers:
author: Egor
body: Hey Mert,   
Thanks for reaching out to Atlassian Community.   

I'm afraid that at the moment there's no possibility to get the needed data for the automation.   

Once you create an incident, you won't see its ID. I filed a new ticket here for our engineering team - <https://jira.atlassian.com/browse/OPSGENIE-2085>   

Please feel free to start watching it and also add public comments, if needed.

Best Regards,  
Egor


Tags: cloud
How to create an alert, from email integration, with a specific condition
Asked by Ioannis Karavasilis:

Hello, I have the following issue:  

I receive alerts in mail that have the following body format:  

**Total emails: "number of mails"**   

I want an alert to be created, only when the "number of mails" \> specific threshold.  
Is there a way to achieve that?  
I have tried with regex, but I cannot make it work.  
Thanks.

<br />

<br />


Answers:
author: Vijay Dadi
body: Dear [@Ioannis Karavasilis](/t5/user/viewprofilepage/user-id/5484933) ,

You need think of ticket de-duplication which means any incoming alert from the same issue will not create a new ticket and increase the count for the same alert.

In the screenshot below, there is a number below alert it like x2 this means this alert was triggered 2 times. Hope this help.

Regards,

Vijay

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


Tags: cloud
Get Schedule of Team Via Postman
Asked by Dhary Almousa:

Dear Community,

I have the postman apis for opsgenie and i am trying to get the on call schedule however i keep getting error could not authenticate even though i am using the API Key from my settings in ops genie.

Br,


Answers:
author: Elelta D
body: Hey there Dhary,

Thanks for getting in touch!

Can you please tell me what error you see? There are a a few types possibilities for what is happening.

|------------------------------------------|-------|--------------------------------------------------------------------------------|
| 401 - Unauthenticated (Not Unauthorized) |       | apiKey is invalid or integration is disabled                                   |
| 403 - Forbidden (Unauthorized)           | 40301 | apiKey is valid but the apiKey cannot do this operation because of permissions |
| 403 - Forbidden                          | 40302 | apiKey is valid and authorized but we do not support the request               |

In the case of a 401, please check the api key is correct and that the integration is active/

In the case of 40301, it means the the API key is from the [API Key Management](https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/) and you need to get the API from [API integration](https://docs.opsgenie.com/docs/api-integration) by going to the Settings tab \>\> Integrations and selecting the API integration you would like to use.

In the case of 40302, it means that the request is not support, perhaps the endpoint is incorrect.

comments: author: Elelta D
body: Dhary, a quick follow up to say that when you configure your api key in postman you can do it in the authorisation tab, chose the API key type and add the key as below where the Key = GenieKey and the Value = the API key from your integration.

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

Let me know how you go.


Tags: cloud
Bamboo page just loading endlessly after upgrade to 9.2.7
Asked by Ismail Sanni:

Hi Guys,

I'm not a tech wiz but i just upgraded Bamboo to 9.2.7 on my staging environment, but after configuration it, the bamboo page keeps loading endlessly, please can anyone help?

Steps i took

- Download bamboo

- Update setenv.sh - `vim` `/opt/atlassian/bamboo_new/bin/setenv``.sh`

- Update server.xml - `vim` `/opt/atlassian/bamboo/conf/server``.xml`

- Update bamboo-init.properties - `vim ``/opt/atlassian/bamboo/atlassian-bamboo/WEB-INF/classes/bamboo-init``.properties`

- Update crowd.properties -

|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `vim` `/opt/atlassian/bamboo/atlassian-bamboo/WEB-INF/classes/crowd``.properties` `- `Update seraph-config.xml `- `Copy Oracle DB driver - Start Bamboo After a while, I got this (Screenshot) ![aa.png](https://community.atlassian.com/t5/image/serverpage/image-id/301809iAD8794436EF954C9/image-size/large?v=v2&px=999 "aa.png") |

Thanks


Answers:
author: Shashank Kumar
body: Hello Ismail,

Welcome to Atlassian community.

You'll be able to see the possible errors under **\<bamboo-home\>logs\>atlassian-bamboo.log**file to understand if there was any problem during the upgrade process.

As Atlassian community is a public forum I'll not advise you to upload the logs here, if you have a valid SEN you can raise a support request with Atlassian support to get this checked.

Regards,

Shashank Kumar

**\*please don't forget to Accept the answer if your query was answered\*\***

comments: author: Sharmila
body: Hey Ismail,

Can you confirm what is the version of Bamboo you upgraded Bamboo from?

You can have a look at the upgrade procedure to get more details on Bamboo upgrade steps that you will need to undertake: [Bamboo upgrade guide.](https://confluence.atlassian.com/bamboo0902/bamboo-upgrade-guide-1236931009.html)

Regards,

Sharmila
Installation Stuck on H2 Data
Asked by Srinivasan Azhagar:

Hi Team,

Not able to complete the installation using H2 database


Answers:
author: Shashank Kumar
body: Hello Srinivasan,

Welcome to Atlassian community

There might be multiple reasons why Bamboo installation would be stuck on H2 DB setup, we would need access to **\<bamboo-home\>atlassian-bamboo.log** file to understand this issue, as this is a public forum I would not advise you to directly put the logs here, if you have a valid SEN you can raise a support request with Atlassian support to get this checked.

Meanwhile looking a past cases, this normally happens when the Bamboo user which you have used to start does not have **read/write** access to \<bamboo-home\> directory, you should provide full read/write access to bamboo-home directory to the user which is starting Bamboo and restart the installation, it will work.

This is just one hypothesis, you may have some other problem which can be confirmed by looking at the logs

Regards,

Shashank Kumar

**\*please don't forget to Accept the answer if your query was answered\*\***
How to configure test parser plugins like JUnit Parser, TestNG Parser in deployment environme
Asked by velu:

Hi team, In build plan, test parser tasks are available. In deployment project environment there is no test parser task are available. How to configure test parser plugins in deployment project environment task.  
Is there any steps or plugins to configure test parsers like JUnit parser, TestNG parser, Nunit parser and so on.  
If it is possible to add test parser tasks or any other method. Give me the solution to complete the task.


Answers:
author: Shashank Kumar
body: Hello Velu,

Welcome to Atlassian community.

Test parser tasks are available under Build Plan \> Job \> Tasks, the reason for that is these test parser scans for test cases during the build time ( As part of CI process ), the result is then provided under Test tab for each build result. This is part of CI process

Deployment projects and Deployment environments are designed to deploy the already completed builds, we don't expect to capture the status of test results here, hence you don't see any test case parsing tasks there.

Can you explain me your flow why would you want a test case parsing task under deployment environments?

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***
Is there a way to not copy the trigger settings when performing a clone using restapi?
Asked by leegyu86:

The plan being executed periodically is copied.

The problem is that Tigger's 'Single daily build' settings are also being copied.

Is there a way to not copy the trigger settings when performing a clone using restapi?

Or please tell me about restapi where I can delete the trigger settings.

(Please do not suggest methods using the Bamboo spec.)

If there is no solution, I have no choice but to find a 3rd party method... but I would like to solve it in Bamboo itself.


Answers:
author: Shashank Kumar
body: Hello [leegyu86](https://community.atlassian.com/t5/user/viewprofilepage/user-id/5325379),

Welcome to Atlassian community.

As far as I am aware, I am not aware of any REST API to delete the Triggers settings for the plans or not copy the trigger settings which cloning using Rest API

You can try to use the Bulk action functionality from Bamboo GUI to achieve this, go to **?? \> Overview \> Bulk action** page

You can select all the plans which you want to change the trigger and click Next and select what kind of Trigger you want to choose, see example below of the page

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

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***
How to display the test result in bamboo console using plugin or some other tasks ?
Asked by velu:

Hi team, In bamboo pipeline task I have added a testing jobs for API testing using Newman, Performance Testing using JMeter, Selenium Testing.

Is any possibilities like tasks or plugins to display the above three test results in the bamboo console to view the test reports.

Is any possibilities is there to display the test results, Give me solution to resolve the above test tasks


Answers:
author: Shashank Kumar
body: Hello Velu,

Welcome to Atlassian community.

You can view the test results for a particular build using by navigating to Build result and Tests tab, it will display all the test result for that particular build.

Please refer <https://confluence.atlassian.com/bamboo/viewing-test-results-for-a-build-289276936.html> for more details

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***
Remote trigger and webhook
Asked by Matimba Mashaba:

Hi, I have a plan that I have enable a remote trigger but I get an error when i send a POST API request (Method Not Allowed). i do get results when i use GET method. Please note I have left the IP Address edit box blank as I am querying from Saas environment.

Regarding webhook, How can I create a webhook that trigger a build. I saw the build webhook template but I did not understand how to go about it.


Answers:
author: Shashank Kumar
body: Hello Matimba,

Welcome to Atlassian community.
> Regarding webhook, How can I create a webhook that trigger a build. I saw the build webhook template but I did not understand how to go about it.  
>
I believe you are referring to <https://confluence.atlassian.com/bamboo/using-webhooks-1018270680.html> where the Build webhook is used to send information about the current build to third party apps. This will help you display Bamboo build information in for example in Teams where you can get to know if a Build passes or Fails.

To trigger the Build best way would be to use **Bamboo REST API** , you can refer <https://developer.atlassian.com/server/bamboo/rest/api-group-api/#api-api-latest-queue-projectkey-buildkey-post> for more details, the REST API would looks something like below

```
curl --request POST \ 
--url 'http://{baseurl}/rest/api/latest/queue/{projectKey}-{buildKey}' \ 
--header 'Accept: application/json' \ 
--header 'Content-Type: application/json' \ 
--data '{ "fakeParam": "<string>" }'
```

If you looking to use Webhook to Trigger builds from Github or BB Cloud you can refer the below documentation

<https://confluence.atlassian.com/bamkb/how-to-trigger-bamboo-builds-with-github-webhook-1097179080.html>

<https://confluence.atlassian.com/bamboo/triggering-a-bamboo-build-from-bitbucket-cloud-using-webhooks-873949130.html>

Regarding your query related to Remote Trigger, can you explain the whole setup again, it's little confusing to understand currently.

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***
Sharing previous build artifact is failing
Asked by sulekhak:

I have a plan A and has Stage 1 and Stage 2  
Stage 1 has 1 Job which creates artifact in the working directory  
Stage 2 has 1 Job which downloads those files and uses those files in the execution flow  

Have disabled Stage2 and ran stage 1 and files are shared in the working directory  
Have disabled stage 1 and ran Stage 2 but not able to use the shared files, shared files are present in the directory.


Answers:
author: Shashank Kumar
body: Hello [sulekhak](https://community.atlassian.com/t5/user/viewprofilepage/user-id/3247597),

Welcome to Atlassian community.

When you run stage 1 Artifacts are created in the working directory of the agent where you ran the Build and once the Job is completed, these artifacts are then published to Bamboo server.

You can see this information in the build logs of the Job from Stage 1 as below

```
08-Jan-2024 06:22:34 Running post build plugin 'Artifact Copier'
08-Jan-2024 06:22:34 Publishing an artifact: Artifact1
08-Jan-2024 06:22:34 Finished publishing of artifact Required shared artifact Http Compression On : [Artifact1], patterns: [*.jar] in 64.49 ms
```

When you go to the Artifacts tab of the Job which created this artifacts, you'll see where it is stored on the Bamboo server

**Shared artifacts can be found under:**

```
/var/atlassian/application-data/bamboo/shared/artifacts/plan-26705921/shared/build-00022
```

Now if you disable Stage 1, Artifcats won't be created for that particular run as Stage 1 is disable and Stage 2 won't able to download it.

You can't share artifacts across different build runs.

Same concept is applicable if you are create dependency from Artifacts from Stage 1 to Stage 2 via <https://confluence.atlassian.com/bamboo/sharing-artifacts-359400060.html>

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***
Will BAMBOO server continue work after the 14th Jan, as the current license expires on Jan-13th,2023
Asked by Devendar Gangapuram:

Hi Team,

what will happen if we cannot migrate to Data center version and given that we cannot renew the existing server license. Will BAMBOO continue work after the 14th Jan, as the current license expires on Jan-13th,2023

* SEN-20623233 - Bamboo (Server) 1 Remote Agent License - Jan 13, 2024

Please let us know, how to proceed on this BMABOO set up going further after Jan-13th, 2024.

Thank you,

Dev G


Answers:
author: Shashank Kumar
body: Hello Dev G,

Welcome to Atlassian community.

With Server license post Effective **15th Feb 2024** , Atlassian will no longer offer **technical support** , **security updates** , or **bug fixes** . You'll not be able to upgrade Bamboo to **latest** version with the server license.

Your current Bamboo instance will continue to run as the Server license is perpetual ( meaning it never expires ), you can read more about it at [What happens when a Bamboo license expires](https://confluence.atlassian.com/bamkb/what-happens-when-a-bamboo-license-expires-1114804458.html)

You can refer [Upgrade from Bamboo Server to Bamboo Data Center](https://confluence.atlassian.com/bamboo/upgrade-from-bamboo-server-to-bamboo-data-center-1189482373.html) for more details. In short you can just migrate by buying the DC License and applying it to your current Server instance, you'll need to take care of certain external app's or plugins which you have installed which are not supported on Bamboo Data center, read the above page for all the details.

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***


Tags: migration

migration-customer-care
Permissions issues with viewing the details of a new stage with jobs created from specs
Asked by Ryan Mann:

I have a working build configuration checked in with (Java) Specs on the master branch of my code, which has a single stage and a single job. I am attempting to break up the work into two stages. I am working on a branch from master, so that I can test the changes before merging them into master. I have added a stage (with a new key) before the existing stage, which has three jobs.

When the branch comes off the queue on our bamboo server, the new jobs are queued. I can see the "live activity log" for each of the new jobs, but when I click on the link for each job, I'm given an "access denied" error. After the job is complete, I cannot see the live activity view, or see the results of the build.

The same is not true for the pre-existing stage and job (which exist with the same keys in the master branch specs): that job I can click into and see the details about.

I even changed the user permissions (in the build specs) to make sure I have admin privileges, but makes no difference.

Is this simply because I'm working on a branch? Is there no way to create and test new stages or jobs on a branch without first defining them in master?


Answers:
author: Ryan Mann
body: I solved it by logging out of Bamboo and then back in again.