youngmon/atlassian-qna huggingface dataset:
Are there plan for GitHub Deployments in OpsGenie
Asked by Ken Young:

I would like to start sending deployment information from GitHub to OpsGenie. Unfortunately the documentation for the Api's say that only Bitbucket is supported.

* Are GitHub deployments support a feature on the OpsGenie roadmap
* If not, can it be opened up to allow you to use the API to created the needed deployment information and send it to OpsGenie

The DevOps metrics screens look quite nice, but not using Bitbucket limits their value.


Answers:
author: Giovanni Tirloni
body: You may have to use one of the various HTTP request Github Actions to send to OpsGenie API. It doesn't answer your question but it's a workaround until proper integration is available.

comments: author: Ken Young
body: Hi Giovanni,

I have tried using the Deployments API (via HTTP rest).

<https://docs.opsgenie.com/docs/deployment-api#create-deployment>

The releases object seems to be the blocker, as it a required field, and fails because there is no Bitbucket SCM configured (because we are using GitHub)


author: Ash Neilson
body: +1 for this. It appears BitBucket, GitLab and Bamboo are supported but not GitHub.


author: Ken Young
body: Following up --- is there any place to raise a feature request for GitHub support?


author: Ken Young
body: If possible, could someone from the Atlassian Team weigh in on a solution or workaround for this.

Thx


Tags: github
Is there a way to see a list of all the "tags" used on alerts in Opsgenie?
Asked by richard.n.pykkonen:

Unlike labels in Jira, when I start to type a tag in Opsgenie, there is no autofill. I would like to get a list of all the tags that are in use in Opsgenie. Is there a way to get that list?


Answers:
author: Nick H
body: Hi [@richard.n.pykkonen](/t5/user/viewprofilepage/user-id/3251848) ,

Opsgenie doesn't have an autofill for tags at this time.

You could review the alerts in the Analytics tab \>\> Alert Analytics report. Add a filter that looks something like this, then export the list via CSV and manipulate the data there:

![tags1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/216879iA24669957F261D5D/image-size/large?v=v2&px=999 "tags1.jpg")![tags3.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/216880iBC5D62DDB20797C0/image-size/large?v=v2&px=999 "tags3.jpg")

There's also this table in the Alert Analytics report that shows the most used tags based on the report's filter as well:

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

You could also run a [query in the Alerts tab](https://support.atlassian.com/opsgenie/docs/search-queries-for-alerts/) for something like:

```
tag !: null
```

and export these alerts via CSV as well:

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

comments: author: richard.n.pykkonen
body: Thank you for the help.


author: devin42r
body: What about through the API [@Nick H](/t5/user/viewprofilepage/user-id/2540930)   

I want to get all tags in incidents and/or alerts


author: Nick H
body: You can query on the alerts that have tags with something like either of these using the API:

tag !: null

```
https://api.opsgenie.com/v2/alerts?query=tag%20%21%3A%20null
```

or using a wildcard: tag: "\*"

```
https://api.opsgenie.com/v2/alerts?query=tag%3A%20%22%2A%22
```

The incident query isn't as robust, and does not support Null querying. You could probably get away with using a wildcard with something like this for the incident API:

```
https://api.opsgenie.com/v1/incidents?query=tag%3A%20%22%2A%22
```

I typically use a URL encoder to help determine what the query should be:

<https://www.urlencoder.org/>

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

**Other helpful documents**:

[Search queries for alerts](https://support.atlassian.com/opsgenie/docs/search-queries-for-alerts/)

[Search syntax for incidents](https://support.atlassian.com/opsgenie/docs/search-syntax-for-incidents/)


Tags: cloud
Jira Service Management-Opsgenie and Server Density Integrations - Team Problem
Asked by Kemal G:

Hi everybody,

I've administrator and service desk team privilliged. I'd like to ask you I want to integrate our Jira Cloud environment with our Server Density service for OpsGenie Alert System.

So alerts will be on Opsgenie page and it should be integrated with Server Densiity. However, SD and Opsgeniue websites provide information how can I do but it's not happening because I cannot add team on OpsGenie section.

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

For this explanation: I can go Teams Sections on OpsGenie but it gives this error

'  

#### Your teams will show here {#toc-hId-175116569}

It looks like you've not joined a team yet. When your account admin adds you to a team, we'll list them here.'

Note: I tried to give permission service desk team etc not working.

**In respect of Serverdensity documentation**:

There is a link to add ServerDensity Integration within one click, After I logged via this link, it does not show anything at settings

<https://app.opsgenie.com/integration#/add/ServerDensity>

Original page [https://support.serverdensity.com/hc/en-us/articles/360001084126-OpsGenie-integration](http://Serverdensity)

![1Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/216586i18EB3A73B1EE1FC4/image-size/large?v=v2&px=999 "1Capture.PNG")


Answers:
author: Nick H
body: Hi [@Kemal G](/t5/user/viewprofilepage/user-id/5034337) ,

It might be an issue with your role and what permissions you do/not have throughout the account. Your screenshot leads me to believe you are an account User based on the tabs I'm seeing in the Settings section.

If you click into the Teams tab, and 1) do not see any teams listed, or 2) do not see an *Add team* button - then you have to be added into a team by someone who has permission (whether that is an account Owner or Admin, or a team admin).

comments: author: Kemal G
body: ![2Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/216620i677C7074C79427F2/image-size/large?v=v2&px=999 "2Capture.PNG")

Thanks for comment, Is that role? already administrator


author: Nick H
body: Hi [@Kemal G](/t5/user/viewprofilepage/user-id/5034337) ,

The role you shared is for your Atlassian site - which doesn't always transfer from site role \>\> Opsgenie role.

You can manage users in your Atlassian site, and which user(s) have product access to Opsgenie through the opsgenie-users group:

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

But Opsgenie role management realistically should be managed in Opsgenie vs. the Atlassian site. Groups at this time cannot control Opsgenie roles.

So you may need to connect with an Opsgenie Admin or Owner to change your role / be added into a team.


author: Kemal G
body: You are right Nick. Thanks a lot.


Tags: jira-service-management

server
How can I checked if a SCOM alert is sent to OpsGenie?
Asked by Pieter Swildens:

We have a SCOM 2022 environment and the OpsGenie solution sometimes seems to work and then stops working. After a complete removal of the Opsgenie Intergration and install with another intergrationb version of OpsGenie no new SCOM alerts are sent to OpsGenie. Can I check if communication from SCOM with OpsGenie works?


Answers:
author: Nick H
body: Hi [@Pieter Swildens](/t5/user/viewprofilepage/user-id/5014384) ,

Within Opsgenie, you should be able to review the [Logs tab](https://support.atlassian.com/opsgenie/docs/search-logs/). This is the best place to troubleshoot whether or not a connection has been made between Opsgenie and an integration.

Even if an alert is not created, Opsgenie will still log errors and helpful entries to determine what the issue is. But if no log(s) exist, then there's most likely a misconfiguration on the the other side since Opsgenie is not receiving anything.


Tags: cloud
What reports can be seen in opsgenie's trial version ? Can we have custom reports?
Asked by Fiza Beg:

I am using trail version of opsgenie to check features of the tool. While I was exploring analytics part I found in the documentation it is mentioned there are several reports like Alert reports, monthly overview, on call time reports etc.

But I couldn't find any report while using trial version. Only API usage and notification reports are present. Kindly anyone can help me in this ? Is it not available in trial version or I am expected to find in some other tab?

And also if I need custom reports then is it possible to do so ?


Answers:
author: Nick H
body: Hi [@Fiza Beg](/t5/user/viewprofilepage/user-id/5034159) ,

[Advanced reporting](https://support.atlassian.com/opsgenie/docs/view-global-and-team-reports/) is only available on the Standard and Enterprise plans - so it sounds like your trial is most likely subscribed to Essentials.

Accounts Owners can upgrade trials for free though to test other plans / functionality. That can be done under the Quick Start Guide here:

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

comments: author: Fiza Beg
body: Thanks [@Nick H](/t5/user/viewprofilepage/user-id/2540930) for the help. Yes I am using essential plan and I'll upgrade my trial plan to Enterprise for checking reporting features.

Can you also highlight something on custom reports. Can I generate custom reports ? Or can I edit these reports which I'll be getting under analytics tab?


author: Nick H
body: You can customize the filter of the existing report you are viewing, but the filters cannot be saved similar to Saved Searches in the Alerts dash.

We do have a feature request for this you an follow, watch and vote for here: <https://jira.atlassian.com/browse/OPSGENIE-325>


author: Fiza Beg
body: Okay. Thanks for info. Will be following the link.


Tags: analytics

cloud

report
Does the Slack integration provide a way to notify if the escalation goes to the next person
Asked by Tris Wasson:

For example, an alert will cause a notification to appear in the designated slack channel. Now let's say the first responder doesn't respond and the next person in line is notified. Can that escalation also be sent to the same slack channel?


Answers:
author: Nick H
body: Hi [@Tris Wasson](/t5/user/viewprofilepage/user-id/1549933) ,

That unfortunately is not possible at this time. There is an option to notify the Slack channel when the "Escalate to Next" action is taken - but not when an alert escalates naturally through some workflow.

comments: author: Tris Wasson
body: Hi [@Nick H](/t5/user/viewprofilepage/user-id/2540930) ,

Thanks for the clarification and additional info.


Tags: cloud
Associate Alerts to Incident
Asked by Randy Everett:

When I manually create an alert and the incident and then associate the alert to the incident, the association works. I did it this way for testing purposes to see how it worked.

When I try to associate an alert and incident that came into Opsgenie via other than my manual creation, the association does NOT work.

I am the incident commander (in learning) and would like to associate alerts to P1 / P2 that come into the system. What is preventing me from being successful?

Thanks, Randy


Answers:
author: Nick H
body: Hi [@Randy Everett](/t5/user/viewprofilepage/user-id/5008513) ,

Nick from Opsgenie support here - I believe we have a ticket open about the same issue.

What seemed to be happening is you created an incident manually. This is turn creates a Responder alert(s) to notify responders, users, teams, etc. of the open incident.

At this time, a Responder alert cannot be associated to an incident. This is also by design though. Alerts not tied to an incident are only able to be associated.


Tags: cloud
What actions does OpsGenie sends to OEC integration?
Asked by Michael123:

Looking for the list of actions to add to config.json. Here is the list available on integration's config page (I was able to guess "Create"):

++**OEC action - config.json action**++

alert is created - Create  
alert is acknowledged  
alert is unacknowledged  
alert is snoozed  
a user executes "Escalate to Next"  
a note is added to the alert  
a responder is added to the alert  
a tag is added to the alert  
a tag is removed from the alert  
alert is closed  
alert is escalated  
a custom action is executed on alert  
a user executes "Assign Ownership"  
a user takes ownership of the alert  
alert's priority is updated


Answers:
author: Chris DeGidio
body: Hi [@Michael123](/t5/user/viewprofilepage/user-id/4303270)

Chris here with Opsgenie support. Out-of-the-box OEC supports receiving many actions from Opsgenie when one is executed within the UI. A good sample of these can be seen at the following doc area: <https://support.atlassian.com/opsgenie/docs/opsgenie-edge-connector-alert-action-data/>

Additionally, you can also reference an actual OEC integration to view the configurable options under the integration :

![2022-09-19_12-15-17.png](https://community.atlassian.com/t5/image/serverpage/image-id/216656i2F75984D90E0873D/image-size/large?v=v2&px=999 "2022-09-19_12-15-17.png")

In conjunction with this, you can also define custom actions on Opsgenie alerts via the integration settings which would then be able to be executed on the alert. These custom actions can also be sent over to OEC.

![2022-09-19_12-21-10.png](https://community.atlassian.com/t5/image/serverpage/image-id/216657iA39F26CAD98FFDB6/image-size/large?v=v2&px=999 "2022-09-19_12-21-10.png")

I hope this helps!

- Chris
MIgrate Opsgenie to another Atlassian instance
Asked by Donny Gison:

We POC'd Opsgenie in a separate instance and activated it's usage there.

We are on our 2nd year of Opsgenie usage and we'd like to leverage JIra integration. It seems the integration requires Jira and Opsgenie to co-exist in the same instance. Is it possible to migrate our Opsgenie to our Confluence and Jira instance?


Answers:
author: Nick H
body: Hi [@Donny Gison](/t5/user/viewprofilepage/user-id/1165413) ,

Unfortunately it's not possible at this time to migrate Opsgenie into another Atlassian instance at this time, but he have an open feature request for this you can watch, follow and vote for here: <https://jira.atlassian.com/browse/OPSGENIE-24>

So you will not be able to use the new Jira cloud integration. Having said that, you can use the Jira legacy integration to connect with any site as long as you have permission (email / API key): <https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-jira/>

It's pretty straight forward to configure. All you need to do on the Jira side is configure a webhook that triggers the Opsgenie-Jira integration. You can specify which projects, issues, etc. create alerts as will in the webhook's JQL. It might look something like this:

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

If you want Opsgenie alerts creating Jira issues, or want actions taken on the Opsgenie alert to reflect on the Jira issue, this article should help with configuring the that as well:

<https://community.atlassian.com/t5/Opsgenie-articles/Opsgenie-Alerts-Not-Creating-Jira-Jira-Service-Management-Issues/ba-p/1563628>


Tags: cloud
How to get notified on webex when job completes or fails
Asked by Syed Yunus:

How to get notified on webex when job completes or fails


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Syed Yunus](/t5/user/viewprofilepage/user-id/4751818) ,

welcome to the community!

Builtin Bamboo notifications are the following :

**Bamboo Wallboard**Show build results on a dedicated monitor.

See [Displaying the wallboard.](https://confluence.atlassian.com/bamboo/displaying-the-wallboard-289276971.html)

**Email (e.g. GMail)**Get build results in your inbox.

See [Configuring notifications](https://confluence.atlassian.com/bamboo/configuring-notifications-for-a-plan-and-its-jobs-289276973.html).

**Instant messaging (e.g. Hipchat, Google Talk)**Send notifications to your dev chat room.

See [Configuring notifications](https://confluence.atlassian.com/bamboo/configuring-notifications-for-a-plan-and-its-jobs-289276973.html).

**RSS feeds**Get aggregated key information about your builds.

See [Subscribing to RSS feeds](https://confluence.atlassian.com/bamboo/subscribing-to-rss-feeds-289276970.html).
git.exe lfs fetch fails
Asked by Nick Hoddinott:

I have a Git repository that contains Git LFS files. Git.exe is configured in server capabilities and repository authentication is SSH.

When the repository has 'Enable LFS support' unchecked everything works great, but LFS files a

When I check 'Enable LFS support', I get

```
Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command ['C:\Program Files\Git\bin\git.exe' lfs fetch 
ssh://{removed}@127.0.0.1:59323/{removed}/{removed} refs/heads/development] failed with code 2. Working directory was [E:\bamboo-home\local-working-dir\393217\MA-MSP-JOB1]., stderr:
fetch: Fetching reference refs/heads/development
batch request: 'E:\Program' is not recognized as an internal or external command,
operable program or batch file.: exit status 1
batch request: 'E:\Program' is not recognized as an internal or external command,
operable program or batch file.: exit status 1
batch request: 'E:\Program' is not recognized as an internal or external command,
operable program or batch file.: exit status 1
batch request: 'E:\Program' is not recognized as an internal or external command,
operable program or batch file.: exit status 1
error: failed to fetch some objects from 'https://127.0.0.1/{removed}/{removed}.git/info/lfs'
at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:773)
at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:702)
at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:693)
at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runLfsFetchCommand(GitCommandProcessor.java:627)
at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:542)
... 29 more
Failed to prepare the build '{removed}' - Default Job #21 (MA-MSP-JOB1-21)'
```

I'm running Bamboo on Windows and it's installed in E:\\Program Files\\Bamboo.

It seems like it's trying to run something in that folder without quotes.

I've added a Bamboo task to run "git lfs install" to ensure that's done.

I'm at a loss to know where to go from here.


Answers:
author: Nick Hoddinott
body: For anyone who finds this in future, the issue is this one

<https://confluence.atlassian.com/bamkb/after-moving-bamboo-to-another-drive-git-ssh-authentication-stops-working-in-windows-802591707.html>

and is fixed by setting a path without spaces for the Bamboo temp directory

<https://confluence.atlassian.com/bamboo/configuring-your-system-properties-289277345.html#Configuringyoursystemproperties-Windowsservice>
Support for Mercurial was dropped?
Asked by Stanislav Spiridonov:

I have upgraded the Bamboo from 7.3 to 8.1 and do not see the configured mercurial repositories. The atlassian-bamboo-plugin-mercurial missed in 8.x distribution.

Was support for mercurial dropped in 8.x Bamboo?


Answers:
author: Alexey Chystoprudov
body: Hello [@Stanislav Spiridonov](/t5/user/viewprofilepage/user-id/752740) , please see upgrade notes for 8.0 at <https://confluence.atlassian.com/bamboo/version-specific-upgrade-notes-992678288.html> where removal of CVS and Mercurial repositories was announced.
When using tag triggers, how do I find out which repository triggered the build?
Asked by Julia Valder:

I have a plan which is triggered by someone pushing a tag to the master branch. Now I want to use this plan with multiple repositories, but for certain scripts within the pipeline to work I need to know during build time which repository triggered this specific build.

When using ${bamboo.planRepository.1.name} I can only choose one of the repositories which are configured in the plan but this is static information, so it might not be the one which actually triggered the current build.

I found [this](https://confluence.atlassian.com/bamkb/how-to-identify-which-repository-triggered-a-build-1093015126.html) but it only seems to work if you're using a repository trigger. With the tag trigger, the repository contents have not changed.

Is there any way to do this?


Answers:
author: fnc11
body: Hello [@Julia Valder](/t5/user/viewprofilepage/user-id/4748595)

I am working on a similar problem, for me, the tag trigger is not even working for multiple repositories. Could you share how you made it work for the multiple repositories?

I am working on a task where we create a new release branch for the repository that pushed a release tag on their master branch. It works for a single repository but not for multiple repositories.
Testing in DevOps
Asked by chandag:

Hello All,

I am quiet new to DevOps and I am little confused about testing (automated) in devops... I mean, while setting up a simple pipeline, I wanted to know what are all the test to be executed and also where exactly in pipeline these tests to be executed.

Consider a simple java based web application as an example....

Please give me some insights....

Below is a brief summary of pipeline of this project based on my level of understanding of devops...

A code is in github and when a change is committed to the repo, a new build is triggered and I believe during the build, code will be reviewed, compiled and also a unit test will be executed to thus compiled code(pls do correct me if I am wrong here) and then the code will be packaged and deployed to a test environment. Please guide me.

Thanks

Chandan


Answers:
author: Robert Wen_ReleaseTEAM_
body: Hello [@chandag](/t5/user/viewprofilepage/user-id/2238840) !

Yes, you're getting the gist. Once a commit happens, unit testing should happen automatically. Other checks such as listing could occur at this stage. If the tests pass, the commit is allowed.

You can also automate the merge of changes back to a higher-level branch (including master/main). More tests including some BDD-style tests can be run. Once merged, automation can create the deploy packages and deploy to staging or even to production.

Use of this CI/CD pipeline is one of the fundamental practices of DevOps.

Hope this helps.

comments: author: chandag
body: Hello [@Robert Wen_ReleaseTEAM_](/t5/user/viewprofilepage/user-id/3970316) ,

Really appreciate your reply. Just got a quick follow up question.

Could you please let me know if all the tests be conducted only after a build has been deployed to a test server or are there any tests that can be or should be done directly to a build (.jar/.war file) before it has been deployed to a Test server.


author: Robert Wen_ReleaseTEAM_
body: It depends on the type of test.

SAST (Static Analysis) scan the source code to find errors and security vulnerabilities.

Dependency scans are done either before or after a build. They scan libraries to see if security vulnerabilities exist.

Dynamic Scan (DAST) are run against a build on a test server. BDD tests are also run against a build on a test server/production server


author: chandag
body: Thanks [@Robert Wen_ReleaseTEAM_](/t5/user/viewprofilepage/user-id/3970316)

Actually what I thought is when a test is conducted just on a build (.jar/.war package), it is not possible to conduct any functionality test. Am I right here?

So, If I am right, then BDD testing doesn't test any functionality? (assuming we are talking about a web application).

Also Does Integration Testing happens against build? or Does it happens against application? Same question for Regression Testing...

Also should the tests on a Build should happen only in Test server/Prod server or can the test be done on a build in Jenkins Server itself?