youngmon/atlassian-qna huggingface dataset:
Tickets created from Opsgenie to Jira
Asked by Leo:

Hi,  
I have created an integration that every time an Opsgenie alert is created and incident ticket is created in certain project in Jira. I was thinking if it's possible to set some rules so the Incident Ticket is created with default information, like a template in the description, an specific label, some links already attached to the jira issue and that the person On Call in Opsgenie gets automatically assign to the Jira issue. Is all of this possible?  

I was looking into Opsgenie's integration configuration but I did not find this options. I thought about automation in the Jira project but our project does not have this option. So now I'm kind of lost on what to do with this Incident tickets.  

I hoep you can help me further with this, thank you in advance.


Answers:
author: Samir
body: Hi [@Leo](/t5/user/viewprofilepage/user-id/2508979) !

Most of these customized workflows shoudl be possible if you setup the integration with [Jira using OEC](https://docs.opsgenie.com/docs/jira-integration#section-integration-via-oec-for-jira-software-server-data-center-usage) (integrating with OEC is required for server, but can also be used with Jira cloud for customizations like this).

When setting up the integration with Jira using OEC, this makes it so actions are passed from Opsgenie to OEC, and then OEC executes a script to create/update the issue in Jira. You could modify that script however you want to add extra fields, labels, etc to the issue. You could modify the script to make an additional api call to Opsgenie to see who is on call in a particular schedule, and pass that info to the Jira issue as well. Basically you can modify the script to make any additional api calls to Opsgenie or Jira, which allows you to customize a lot of these fields/mappings.

Currently, that would be the only way to customize these sorts of workflows. We do have some improvements to the Opsgenie-Jira integration on the roadmap, so some of those idea should be available in the future!

If you have more questions on how to setup the integration with Jira using OEC, feel free to reach out to our support team via chat (blue bubble in bottom right of screen when logged into Opsgenie), or create a ticket at <https://getsupport.atlassian.com/>

Hope this helps!

-Samir


Tags: automation

integration

jira
Confluence Cloud app - Opsgenie Incident Timeline EU - how to get it working?
Asked by P?l F. Kristiansen:

I can't figure out how to use the Opsgenie Incident Timeline EU app for Confluence Cloud.

How to use it?

Where do I fint the Incident Id?

Using Confluence Cloud and Opsgenie EU.

[https://marketplace.atlassian.com/apps/1221312/opsgenie-incident-timeline-eu?hosting=cloud\&tab=support](https://marketplace.atlassian.com/apps/1221312/opsgenie-incident-timeline-eu?hosting=cloud&tab=support)


Answers:
author: Kate Clavet
body: Hi! [@P?l F. Kristiansen](/t5/user/viewprofilepage/user-id/1193237) Did you purchase Opsgenie from Opsgenie.com or did you purchase it from the Confluence Admin Panel?   

Thanks,  
Kate

comments: author: P?l F. Kristiansen
body: opsgenie.com

Is it possible to buy opsgenie from the Confluence Admin Panel? Is there a difference?


author: Kate Clavet
body: If you purchased Opsgenie from Opsgenie.com then the Opsgenie+Confluence integration won't work for you at this time. This is due to the way that your information is set up on the back end. We are working to make this available for all customers. Let me know if you have any other questions.


Tags: confluence-cloud
Installation of Opsgenie
Asked by Nivek90:

I have now manage to install opsgenie on a Ubunto 18.04. When i try to access the default website(<https://api.opsgenie.com>) i'm getting an error "{"message":"No handler found","took":0.001,"requestId":"3db45a6f-e880-42fc-a43c-78fc430308b3"}"

Is there something I have missed that need to be configured before it works? Is there an indepth installation guide out there, I dont fint the opsgenie docs to be that good


Answers:
author: Andrew Laden
body: What are you trying to install? Opsgenie itself is a completly web based solution, there should be nothing to "install" on your server.

There is a component called "Marid" which is used to allow Opsgenie to communicate with systems on prem for various reasons. Is that what you are trying to install?

comments: author: Nivek90
body: I followed an installation guide for it. I now see that I followed the oec installation guide, that exsplains it. How would I go by starting opsgenie on a seperate VM and later integration with Marid. The goal is to have opsgenie to communicate with op5


author: Andrew Laden
body: op5 looks to be a successor for nagios.

<https://www.op5.com/>

Luckily op5 is supported by opsgenie

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

You want to follow the instructions below to get op5 to send alerts to nagios

<https://docs.opsgenie.com/docs/op5-monitor-integration>
User licensing - Opsgenie for integrations only
Asked by Teck Yong Tan:

Hi,

There is a requirement to automate JSD ticket creation based on alerts from monitoring tools such as SCOM.

I am thinking about taking advantage of integrations in Opsgenie to achieve the following SCOM alerts \<-\> Opsgenie alerts \<-\> Jira Service Desk tickets

Base on the above requirement, is it enough to buy just 1 "standard" user license ?

Thanks.

Teck Yong


Answers:
author: G?k?em
body: Hi Teck Yong Tan,

Thanks for contacting with Opsgenie! About your question, our SCOM integration is working in incoming way, in other words, the abilities that you can have with SCOM integration can be summarized as follows:

* When an alert is created on SCOM, an alert is created in Opsgenie automatically through the integration.
* When an alert is resolved or closed on SCOM, the related alert is closed in Opsgenie.
* When an alert is acknowledged on SCOM, the related alert is acknowledged in Opsgenie.

And Opsgenie also has an integration with Jira Service Desk in bidirectional way.  
For more details about SCOM integration, you can check [this](https://docs.opsgenie.com/docs/scom-integration) page.  
For more details about JSD integration, you can check [this](https://docs.opsgenie.com/docs/jiraservicedesk-integration) page.  
In standard plan, you can use both integrations, and about the license number, in order to make the users notified from the alert, they need to be Opsgenie users. You can decide the number of users based on your use case.  
For your further questions, feel free to reach us.  
Regards,

comments: author: Teck Yong Tan
body: Hi,

Thanks for your response.

To be specific, the key requirement here is automatic creation of a Jira service desk ticket from a monitoring system alert, and a service desk agent takes over the issue from there.

1. If there are no requirements for on-call schedule responses, there is no need to have a team of opsgenie users/responders/... etc, is that right ?

2. So for this particular customer requirement, I would only need to register 1 user for the purpose of setting up integrations, is that right ?

Regards,

Teck Yong


author: G?k?em
body: Hi Teck Yong,

Yes, you can do this through alert creation in Opsgenie as a result of SCOM alert. Then, when you integrate Opsgenie with JSD, the alerts will cause ticket creation in there.

For your first question, yes it is right.

For your second question, if you will not use the teams functionality or multiple users in Opsgenie, then it sounds like single license is okay for you.

Regards,
How to bypass DND mode on iOS for Voice Notifications?
Asked by Ali Nalawala:

There used to be a page on the old community to setup OpsGenie contact information to bypass DND for iOS.

<https://community.opsgenie.com/t/how-to-bypass-dnd-mode-on-ios-10-for-voice-notifications/310>

I can't find it anymore, and google/wayback machine isn't helping me with a cached page.


Answers:
author: Amit Kumar
body: This worked for me on ios 13

<https://www.howtogeek.com/436750/how-to-let-a-contact-bypass-ios-do-not-disturb-mode/>

comments: author: Ali Nalawala
body: To do this you need the contact information which can be found in [documentation](https://docs.opsgenie.com/docs/voice-sms-notifications).

And this is the [direct link](https://s3-us-west-2.amazonaws.com/opsgeniedownloads/voice-sms-notifications/Opsgenie_vCard.vcf) to the VCF contact card.
opsgenie local or public domain
Asked by Nivek90:

So I'm under registration for opsgenie and I see that I need to register a domain.

I would like to download and test opsgenin on a local machine (10.x.x.x) but obviously I cant use this as a domain. So my question is how do go about this, do I need a public domain for registration?

I was thinking of creating a VM and assigne it a local ip, but during registration it fails with that domain. If I add 10.x.x.x as ops.genie.test.com in the dns record, will this solve my problem?


Answers:
author: Kate Clavet
body: Hi [@Nivek90](/t5/user/viewprofilepage/user-id/3630682) ,

Thanks for your question! Just a few follow-up questions for you.

Where in Opsgenie are you registering a domain? Do you mean company name?

Also, while Opsgenie can connect to on-prem tools via Opsgenie Edge Connector and we do offer a mobile application. It's not an on-prem tool itself. Can you explain a bit more about your use case so we can help you?

Thanks!

Kate

comments: author: Nivek90
body: [@Kate Clavet](/t5/user/viewprofilepage/user-id/2156162) Are you telling me there is no installation process for opsgenie? I'm able login on the website(xxx.app.eu.opsgenie.com) on a free trial account. That's it? I know how the basic setup for it? And in order to migirate it to exp. op5, I would need to install Marid, right?


author: Kate Clavet
body: [@Nivek90](/t5/user/viewprofilepage/user-id/3630682) There are installation steps for Opsgenie Edge Connector (this replaces Marid) which is used for connecting Opsgenie to on-prem tools. Here is the link to those steps: <https://docs.opsgenie.com/docs/oec-installation>   

Hopefully this helps!


Tags: domain

public
Opsgenie - adding comments to JIRA tickets
Asked by Firas Amer:

Hi,

I guess it is possible to trigger an Opsgenie call when a P1 issue is created in SD, however would it be possible to push an update as a comment/or changing a field (e.g. assignee or custom field) back to JIRA stating the name of the on-call person and when a specific person has acknowledged the case?

Thanks!


Answers:
author: Andrew Laden
body: Are you using Jira cloud, or on prem?

Jira Cloud has good two way integration with OpsGenie

On prem you can look at the opsgenie "Marid" program to link your Jira to your OpsGenie instance.

comments: author: Firas Amer
body: [@Andrew Laden](/t5/user/viewprofilepage/user-id/744425) ..we have JIRA Cloud

So you are saying that with the integration it should work easily?


author: Andrew Laden
body: I cant speak from experience, as I am on prem for Jira only. But I know Atlassian put a lot of effort into integrating Jira Cloud and OpsGenie, when they did their "JiraOps" product. So I would think it would be easier. Only way to know for sure is to try it. :)


author: edgar.polancogomez
body: hey [@Firas Amer](/t5/user/viewprofilepage/user-id/2199704) ,

Were you able to figure out how to do that?

We use Jira Cloud too, but I haven't figured out a way to change other fields when creating the jira ticket from an OpsGenie alert. I cant even find a way to put the OpsGenie alert URL in the Jira description.

It would be interesting to know if you did it with just configuration or if you had to do it "manually" with a webhook or something.

Thanks!


author: Firas Amer
body: [@edgar.polancogomez](/t5/user/viewprofilepage/user-id/3359329) ,![2020-03-22 10_38_19-Opsgenie - Integration.png](https://community.atlassian.com/t5/image/serverpage/image-id/87463i87933712826086D6/image-size/large?v=v2&px=999 "2020-03-22 10_38_19-Opsgenie - Integration.png")This is the setting I have (you can find this only by the advanced settings), it pushes a comment when the alert acknowledged and then using Automation for JIRA (now also part of Atlassian....) I change the status. when the alert is closed it pushes another comment and it moves to resolved....I guess you can also add additional text to the description, and based on that change fields in Jira.

Hope it helps.

Regards,

Judit


author: Oliver Moore
body: Do you find it a problem that the OpsGenie comments are customer facing rather than internal?
Bamboo Rest API Port
Asked by Allan Morris:

I want to commence using the Rest API for Bamboo. Following the documentation is seems to default the port as 8085. How do I found the actual port that is used as none of the examples work when we attempt them on our instance.


Answers:
author: Jimmy Seddon
body: Hi [@Allan Morris](/t5/user/viewprofilepage/user-id/3737362),

If you are an admin of the Bamboo server you can click on the Admin cog in the top right of the WebUI, and select overview in the drop down menu.

Once on the admin page scroll all the way down to the System heading in the left hand menu and click on General configuration.

On the General Configuration page you will see the base URL, which should have the address including port to access your Bamboo server.

If that shows that you are using port 8085 then there must be something else that is going wrong when you are trying to connect through the REST API.

Are you able to share any bits of what you are trying to run or the error messages?

I hope that helps!

-Jimmy
xUnit testing in bamboo
Asked by lance_lyons:

Hi, Are there any xunit test runners built into bamboo?

is the only way to do this is calling a xunit console from the command line and then parsing the results?

thanks in advance.


Answers:
author: Jimmy Seddon
body: Hi [@lance_lyons](/t5/user/viewprofilepage/user-id/853588),

There was an app that added a task for this a couple of years ago but it hasn't been maintained, and I found it stop working properly for me the moment our company moved to using the dotnet cli.

So I gave up on GUI tasks and wrote PowerShell scripts that I could call from a script task to accomplish this.

Sorry but I'm not aware of a better way.

-Jimmy


Tags: bamboo-administration
Bamboo remote agent unable to ssh the Bitbucket Server
Asked by Vamsi:

I have Bamboo running on Linux server and installed a remote agent on windows server. Trying to run the build using remote agent and error in Bamboo build log, error: Cannot fetch branch '(unresolved) HashAndSource{refName=\[null\], branch=\[feature/test\], hash\[somevalue\],}' from 'ssh://git@comanyurl/project.git'

Error log:

Build MuleSoft -SampleMule -Default Job 2 : Error occurred while running task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.

This error may have occurred due to an authentication issue with Bitbucket Server. Save the repository configuration to refresh the authentication details or manually add the access key visible in "Advanced" section to Bitbucket Server.

I have tried generating ssh key in windows build server (where remote agent installed) and copied to Bitbucket server (ssh keys). still getting same ssh/authentication error.

Any help would be appreciated, TIA!


Answers:
author: Vamsi
body: I fixed the issue by installing git executable in E:\\Tools\\ (where I have installed the remote agent) and updated capability git executable path in Bamboo.
Bamboo Linked repository - Test Connection not working
Asked by ncapp:

Hi,

I've installed Bamboo v7.0.3 on Windows 10, running as a listener on <http://localhost:8085>

I am trying to set up a Linked Repository to Bitbucket Cloud using SSH authentication. I think I've entered the correct Bitbucket user/password \& SSH private key/passphrase.

I get "We couldn't connect to the repository. The details you provided were invalid".

I looked in atlassian-bamboo.log

At first I found message "java.nio.file.FileAlreadyExistsException: C:\\Bamboo\\temp\\bamboo-ssh.41538fd5.bat"

So I removed that file, and again tried "Test connection".

Now there is a log message "java.io.FileNotFoundException: C:\\Bamboo\\temp\\bamboo-ssh.41538fd5.bat (Access is denied)". But the file is there again?

Help appreciated, I'm getting stuck on this.


Answers:
author: Ellie Z _they_them_
body: Hi [@ncapp](/t5/user/viewprofilepage/user-id/3912826),

Thank you for reaching out to the Atlassian Community!

I'm sorry to hear that you're running into issues creating and testing a Bitbucket Cloud repository.

Given the "Access is denied" message, it seems like this may be related to the user that Bamboo is running as.

**If Bamboo is running as a Service** , is the Service [running as a local user](https://confluence.atlassian.com/bamboo/running-bamboo-as-a-windows-service-as-the-local-user-416580754.html)?

There was recently a Tomcat upgrade that included a change to the default user for Services from Local System to Local Service, which has restricted permissions. Can you try running the Service as a local user? It is our recommendation that the local user have Full Control over the Bamboo Home and Bamboo Install directories and included files.

**If Bamboo is running as a process** (from the console batch script), does the user running Bamboo have full control over the Bamboo Home and Bamboo Install directories?

Please let us know if you have any questions or concerns.

Cheers,

Elias \| Bamboo Support

comments: author: ncapp
body: thanks for your reply Elias.

I did a full uninstall.

Before reinstalling I made sure that the home directory and install directory pre-existed, and had Full Control permission for the user running Bamboo.

Then I reinstalled Bamboo and I was able to connect to Bitbucket, "Test connection successful".

I did have a smaller issue with a plugin spitting out an error, but I fixed that by referring to this answer: <https://confluence.atlassian.com/bamkb/unable-to-compile-soy-template-in-plugin-module-830283556.html>
bamboo-specs with yaml file
Asked by Alexander Gorshtein:

Hello,

I am trying to make multiple deployment projects with YAML file, but i have error in configuration:

**---**   
**version: 2**   
**deployment:**   
**name: STATUS ########**   
**source-plan: MARS-ROCKET**   
**release-naming:**   
**next-version-name: 0.${bamboo.buildNumber}**

**environments:**   
**- DEV**   

**DEV:**   
**tasks:**   
**- clean**   
**- artifact-download:**   
**destination: /**   
**- script:**   
**- echo "Hello World"**

<br />

**deployment:**   
**name: RESTART ########**   
**source-plan: MARS-ROCKET**   
**release-naming:**   
**next-version-name: 0.${bamboo.buildNumber}**

**environments:**   
**- DEV**   

**DEV:**   
**tasks:**   
**- clean**   
**- artifact-download:**   
**destination: /**   
**- script:**   
**- echo "Hello World"**

can it be merged or? please advice

Thank you in advance


Answers:
author: Marcin Gardias
body: You need to split the file into documents like this:

---  
version: 2  
deployment:  
name: STATUS ########  
source-plan: MARS-ROCKET  
release-naming:  
next-version-name: 0.${bamboo.buildNumber}

environments:  
- DEV  

DEV:  
tasks:  
- clean  
- artifact-download:  
destination: /  
- script:  
- echo "Hello World"

---  
version: 2  
deployment:  
name: RESTART ########  
source-plan: MARS-ROCKET  
release-naming:  
next-version-name: 0.${bamboo.buildNumber}

environments:  
- DEV  

DEV:  
tasks:  
- clean  
- artifact-download:  
destination: /  
- script:  
- echo "Hello World"

...

comments: author: Alexander Gorshtein
body: thank you!


Tags: spec
Reverse Proxy - server.xml
Asked by Ajay Gupta:

Hi,

I already have Confluence/ Jira and use to have Bamboo. Trying to re-evaluate latest version, 7.0.3 and having issues with setting reverse proxy.

I have Confluence and Jira working great like (<https://domain.com/confluence> and [https://domain.com/jira).](https://domain.com/jira).?) Have similar configuration for Bamboo in apache httpd.conf.

We bamboo, struggling for while.

Any working sample of **server.xml in any GIT repo**. Tried making changes similar to Confluence/ Jira, no luck.

**Components**: apache httpd, SSL i.e. using https, LetsEncrypt. (Confluence and jira working do apache looks good).

ProxyPass /jira http://localhost:8080/jira  
ProxyPassReverse /jira http://localhost:8080/jira

ProxyPass /confluence http://localhost:8090/confluence  
ProxyPassReverse /confluence http://localhost:8090/confluence

ProxyPass /bamboo http://localhost:8085/bamboo  
ProxyPassReverse /bamboo http://localhost:8085/bamboo

thanks.  


Answers:
author: Ajay Gupta
body: HI,

Issue with conf/server.xml, which is packaged with tar file: Line 63 should have "/\>"

46 \<Service name="Catalina"\>  
47  
48 \<Connector  
49 port="8085"  
50 protocol="HTTP/1.1"  
51  
52 maxThreads="150" minSpareThreads="25"  
53 connectionTimeout="20000"  
54 disableUploadTimeout="true"  
55 acceptCount="100"  
56  
57 enableLookups="false"  
58 maxHttpHeaderSize="8192"  
59  
60 useBodyEncodingForURI="true"  
61 URIEncoding="UTF-8"  
62  
63 redirectPort="8443"\>


author: Austin Smith
body: I thought the same, but received an error when I closed that directive bracket and the server refused to start at all.
Error during specs scan - Filename too long
Asked by danieldaeschle:

How can i fix this issue?

I uploaded my spec file. When scanning for spec files i get this error:

```
Error during specs scan:com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: Checkout to revision 6372f0a261ec16f76396921fc51ad89bd484f404 has failed.command ['C:\Program Files\Git\cmd\git.exe' checkout -f feature/dev_J200907-37_FrontendImplementation] failed with code 128. Working directory was [D:\bamboo-home\xml-data\build-dir\serverSide\REPOSITORY_STORED_SPECS\repository-72057281-feature%2Fdev_J200907-37_FrontendImplementation\checkout]., stderr:error: unable to create file CAM_00000_SAP_Administration/Frontend/Modules/Cam00000SapAdministration/CreateConfigurationView/CreateConfigurationView.less: Filename too long
```


Answers:
author: Victor Debone
body: Hello [@danieldaeschle](/t5/user/viewprofilepage/user-id/3708021) welcome to the community :)

The error that you found seems to be a Git error, not Bamboo or Specs. I gave a look and found [this information](https://stackoverflow.com/questions/22575662/filename-too-long-in-git-for-windows) regarding long names on Git and Windows.

I hope that helps :)

comments: author: danieldaeschle
body: Yes, i found that as well. Seems like it's only possible on windows 10 1609. Currently, we have a Windows Server 2012.
Remote Agents are Offline
Asked by KA:

Agent Goes offline and not able to recover,

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'agentRegistrationBean': Invocation of init method failed; nested exception is org.springframework.remoting.RemoteTimeoutException: Receive timeout after 300000 ms for RemoteInvocation: method name 'registerAgent'; parameter types \[com.atlassian.bamboo.buildqueue.RemotableRemoteAgentDefinition\]


Answers:
author: eriendeau
body: Somebody can but some information about this or do you solved it becaus I have the same error on a UAT version of Bamboo