youngmon/atlassian-qna huggingface dataset:
JIra Auatomation rules not passing the {{issue.key}} to opsgenie for opsgenie and JIRA priority sync
Asked by Suman Saurabh:

I have written a JIRA Automation rule follow this doc   

<https://confluence.atlassian.com/jirakb/update-opsgenie-alert-priority-when-the-issue-priority-in-jira-is-changed-1236929317.html>  

Based on this i am trying to sync Opsgenie Alert Priority and JIRA Priority , My automation sends the URL Post suecssfully , However at the OG end its not getting changed.  

[https://api.opsgenie.com/v2/alerts/{{issue.key}}/priority?identifierType=alias](https://api.opsgenie.com/v2/alerts/%7B%7Bissue.key%7D%7D/priority?identifierType=alias)

Using issue.key does not works at all

However when i replace the issue key with OG alert ID the priority get updated   

[https://api.opsgenie.com/v2/alerts/ebea4129-cf01-4bab-8622-c21b56717999-1709836064349/priority?identifierType=alias](https://api.opsgenie.com/v2/alerts/%7B%7Bissue.key%7D%7D/priority?identifierType=alias)

How to use alias as a field for the web request to be sent via jira . I am already having this feild in my JIRA   

* customfield_10019: "0\|i1k7zb:",
* updated: "2024-03-07T19:31:09.257+0100",
* timeoriginalestimate: null,
* customfield_10491: null,
* customfield_10492: null,
* customfield_10493: null,
* customfield_10130: null,
* description: "Issue created from Opsgenie Alert Incident number: 22155 Incident URL: <https://jfrog-int.app.opsgenie.com/alert/detail/ebea4129-cf01-4bab-8622-c21b56717999-1709836064349>

<br />

<br />

<br />


Answers:
author: Alan Violada
body: Hey Suman, Alan from the Opsgenie Support team here.

Alerts that were created via the Jira integration should have the "alias" field set to the Jira issue key, which is what would make that web request to update the priority work.

If the alert was created with an alias that does not match the Jira issue key, the web request would end up failing to be parsed.

I would recommend creating a support ticket at [Contact Support](https://support.atlassian.com/contact/) so that we can take a look at your instance and logs and figure out if some configuration needs to be tweaked.

Cheers,

Alan


Tags: cloud

jira

jira-cloud
salesforce service cloud integration
Asked by Nehal Zade:

I am new to working with opsgenie.

I am trying to create a case in salesforce when the alerts are being created in Opsgenie using salesforce service cloud application in opsgenie. But, for some reason the integration is not getting triggered.

I checked the logs as well but I cannot find any error as well. I have just given an outgoing condition as for all alerts the case should get created in salesforce. I have followed all the steps but I am not understanding why it is happening.

Is there any setting that I am missing or any other thing which needs to be configured?


Answers:
author: John M
body: Hi [@Nehal Zade](/t5/user/viewprofilepage/user-id/5447543) ,

John from Opsgenie support here - happy to assist!

Once common reason for actions not being triggered is that the integration is assigned to a team, but the alert is not. If your Salesforce integration is assigned to a team, the alerts must also be assigned to the same team or they will not be processed by that integration.

If that is not the case, please [open a support ticket here](https://support.atlassian.com/contact/) so we can take a look - thanks!


Tags: cloud

salesforce
External Service - Modify Alerts
Asked by Tony Ray:

Is it possible to configure rules to automatically modify an alert generated from an external Statuspage service? What I am looking to do is to add \[ServiceName\] at the beginning of the alert message to help identify the source of the alert before opening the alert. I can manually update this after an alert comes in, but I have not been able to figure out how to automate this. I am able to customize the alert creation for our integrations, such as API, email, and Amazon SNS, but I don't see how to do this for the external services. I thought that perhaps the Alert Policies settings would do the trick, however I was not able to figure out how to filter by service name.


Answers:
author: Mubeen Mohammed
body: Hello [@Tony Ray](/t5/user/viewprofilepage/user-id/5447546)   
Thank you for contacting the Atlassian Community. This is Mubeen.

Your understanding is valid, you can make use of the Alert Policy to extract the external service name and attach it to the alert message.

I was doing some internal tests and I can see the External Service name was sent in my Alert Extra properties. So I used {{extraProperties.service-name}} {{message}}  

![Screenshot 2024-03-11 at 8.26.02?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/311356i50B31CEFF4877246/image-dimensions/367x204?v=v2 "Screenshot 2024-03-11 at 8.26.02?PM.png")  

This allowed me to get the Alert Message updated with the External Service name.  

I hope this helps.  

Regards

Mubeen Mohammed

Cloud Support Engineer

comments: author: Tony Ray
body: Excellent! This works perfectly! That's awesome that we can the additional properties besides what is available to drag \& drop
OpsGenie Edge Connector with Git config giving fatal error on launch
Asked by Darren.Burrows:

Hey all,

We've been trialling getting OEC built and configured for automated self healing actions. Initial trials have gone well, with locally hosted scripts running fine. However we need to now look to bring Git into play for version control of the scripts in use.   

After some playing about over the day to get this running, I've finally got it launching OK. However it near instantly crashes due to not being able to read a config file, which I believe is a temp copy of the data it pulls from git.   

The logs give the following message:   

Could not read configuration: open C:\\Windows\\TEMP\\oec165461519\\main\\resources\\OpsGenie\\OEC\\conf\\config.json: The system cannot find the path specified.  

I've actively watched the folder when launching OEC and have seen for a split second that a folder with the name the logs reference as not being there is created and is then instantly deleted.

I cannot see anything in windows server itself that could be doing this, eg Storage Sense is off and other temp files seem to be present and happily sat in the temp director from a few weeks back, so I can only assume this is being deleted by OEC itself, but I cannot see anything in the logs to confirm this, or to confirm they were even deleted.   

Anyone encountered this issue and have any ideas for how to work around this?


Answers:
author: Darren.Burrows
body: To add to this - finally managed to get something back from the audit logs, which suggests this is being deleted by OEC itself.   

A handle to an object was requested.  
Subject:  
Security ID: SYSTEM  
Account Name: WIN-GRC2VFFKLQG$  
Account Domain: WORKGROUP  
Logon ID: 0x3E7  
Object:  
Object Server: Security  
Object Type: File  
Object Name: C:\\Windows\\Temp\\oec301842295\\.github\\vale  
Handle ID: 0x2bc  
Resource Attributes: -  
Process Information:  
Process ID: 0x1aec  
Process Name: C:\\opsgenie\\OpsgenieEdgeConnector64.exe  
Access Request Information:  
Transaction ID: {00000000-0000-0000-0000-000000000000}  
Accesses: DELETE  
SYNCHRONIZE  
ReadAttributes  
Access Reasons: DELETE: Granted by D:(A;ID;FA;;;BA)  
SYNCHRONIZE: Granted by D:(A;ID;FA;;;BA)  
ReadAttributes: Granted by D:(A;ID;FA;;;BA)  
Access Mask: 0x110080  
Privileges Used for Access Check: -  
Restricted SID Count: 0
how to auto-group alerts from the same server/service?
Asked by Austin Lehdonvirta:

Hi,

Is there anyone happens to know how to set in opsgenie?

My request is auto-group alerts from the same server. Server name is in alert details. We have 170 servers so we cannot set service\>incident rules \> details contains ### server name.

Is there any better way with this ?


Answers:
author: John M
body: Hi [@Austin Lehdonvirta](/t5/user/viewprofilepage/user-id/5267479) ,

John from Opsgenie support here - happy to help!

You can group alert by using the alias field to trigger [deduplication](https://support.atlassian.com/opsgenie/docs/what-is-alert-de-duplication/).

In your case, since the server name is in the alert details, you will need to edit the integration to use map the dynamic field for the server to the alias. If you need to parse it out, [string processing](https://support.atlassian.com/opsgenie/docs/string-processing-methods-in-opsgenie-integrations/) and [regex](https://support.atlassian.com/opsgenie/docs/regular-expressions-for-improved-alert-filtering/) can help.


Tags: cloud
I am unable to add new user in a Opsgenie
Asked by KRISHNA CHAITANYA REMALLI:

Hi

I am unable to add new user in a Opsgenie. While adding new user I am getting Your account has reached the limit for number of responders.

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


Answers:
author: Shashwat Khare
body: Hello [@KRISHNA CHAITANYA REMALLI](/t5/user/viewprofilepage/user-id/5348240) ,  

This error message is shown when your license seats for the Opsgenie account have been consumed with the current active user accounts in your instance.  

To add more users please navigate to Settings \> Subscription \> Update plan \> Update the user count to increase by how many users you're looking to add \> Confirm  

Once this is done, you should see the updated user count for your subscription and will be able to add more users without seeing this error.  

I hope this helps resolve the issue, please check and let us know. :)   

Best,  
Shashwat
Zabbix integration alerts received but without 'owner' or 'responders'
Asked by Tom Kercher:

Hello, I recently built a new Zabbix integration under one of our NOC teams. Since it's built under a team, the team should be the "owner" and default responders. However, when the alerts show up in OpsGenie, there is no 'owner' and 'no responders'. When I view the activity log for the alerts, it states "Skipping Create alert notification policies for alert because it doesn't have an owner team" and the alert itself doesn't show any responders. I have searched through documentation and cannot find out how to add an "owner" to the integration. I was under the impression that adding the integration from the team integration tab was the way to do this. That is the process I followed but there is no owner??? Any assistance is very appreciated.  


Answers:
author: Tejaswi G
body: Hi Tom,

Thank you for reaching out to the Opsgenie Community.

It seems like you're having trouble with the Zabbix and OpsGenie integration. The issue is that the alerts appear in OpsGenie without an owner or responders. OpsGenie considers the team that adds integration to be the owner of the alerts created by this integration. If you've added the integration from the team's integration tab, then it should have set the team as the owner. However, based on your description, It looks like you have configured a Global integration that is not assigned to any team.

You can double-check if the integration was added from the team's integration tab. It won't have an owner if it was added from the main integrations page. In this case, you can assign this integration directly to your NOC team from Settings \> Integrations \> Search Integration \> Edit \> change "Assignee team" to NOC

If you are facing any further issues, please feel free to open a ticket at <https://suport.atlassian.com/contact>.

Kind Regards,

Tejaswi


Tags: cloud
JSM users in Opsgenie?
Asked by C?sar Inzunza:

Hi community, currently we have a cloud JSM instance and just activated opsgenie but i'm unsure about if each JSM agent can have a responder role and if it is included in price?

Not sure if relevant by my account is already merge.


Answers:
author: Jonas Martinez
body: Hi Cesar,

Yes, if you merged your Opsgenie with your JSM, your JSM licenses should grant your users access to Opsgenie. If so, your JSM users should be able to act as responders on your Opsgenie alerts. They would need to log in to Opsgenie and set up their own notification preferences before they get alerted.

Hopefully this clears things up but feel free to open a ticket with Atlassian Support for any issues.

comments: author: C?sar Inzunza
body: Thanks by your answer Jonas. In order to solve an extra doubt, our JSM license is a Standard license, given this our OpsGenie will be same license level? (I'm not sure about licence equivalence).  

Thanks in advance!


Tags: jira-service-management
Bamboo server 9.2.4 for production?
Asked by Joe Coyle:

I understood that Bamboo Server 9.2.4 was the latest stable version and downloaded it for a new server build. This page [Supported platforms \| Bamboo Data Center and Server 9.2 \| Atlassian Documentation](https://confluence.atlassian.com/bamboo0902/supported-platforms-1236930985.html) says about 9.2: "Limited - you can evaluate Bamboo on this platform, but you can't use it to run a production Bamboo site," and "Deprecated - support for this platform will end in an upcoming release." I understand that Bamboo Server EOL is coming soon, but we need to continue running server past support end date.

Question: Is 9.2.4 the best version for this?


Answers:
author: Alexey Chystoprudov
body: Bamboo 9.2.4 is the latest LTS release, see what's it at <https://confluence.atlassian.com/enterprise/long-term-support-releases-948227420.html>

There's newer major version of Bamboo 9.3.3 with new features comparing to 9.2.x <https://confluence.atlassian.com/bambooreleases/bamboo-9-3-release-notes-1236441827.html>

Duration of Bamboo versions support is available at page <https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html>


Tags: server
Rest Api failed with "You must enter a valid variable name" when send json data
Asked by sunil jaiswal:

I am using bamboo 8.2.5 and when I made the the post request to

/plan/{projectKey}-{buildKey}/variables it failed with an error saying "

You must enter a valid variable name" When I googled I found this <https://jira.atlassian.com/browse/BAM-21787> It indicates that it's a bug but just want to check if we have any alternate way to add variables to the newly created branch plan.  
Can anyone share some other method for this.


Answers:
author: Khushboo Gupta
body: Hello [@sunil jaiswal](/t5/user/viewprofilepage/user-id/5290961)

It seems like you're trying to programmatically add variables to a new branch plan in Bamboo. Unfortunately, as you've discovered, there is a known bug (BAM-21787) in the REST API that prevents this from working as expected.

Please try the workaround given in the BAM
>
> ### Workaround {#toc-hId-2118848249}
>
> Use the following format:
>
> /plan/{projectKey}-{buildKey}/variables?name=foo\&value=bar  
> **POST**  
>
> ```
> $ curl -H "Content-Type: application/x-www-form-urlencoded" -u admin:admin -X POST "https://bamboo.mydomain.net/rest/api/latest/plan/ABC-DFG/variables?name=foo&value=var"<?xml version="1.0" encoding="UTF-8" standalone="yes"?><variable name="foo" value="var"/>
> ```
>
**GET**  
> $ curl -u admin:admin -X GET "<https://bamboo.mydomain.net/rest/api/latest/plan/ABC-DFG/variables>" \[{"name":"foo","value":"var"}
>
Let me know if this helps!

Regards,

Khushboo Gupta

**\*please don't forget to Accept the answer if your query was answered\*\***
Looking to create Bamboo CLI tool to link repositories
Asked by Steven Hizmi:

Is there a way currently to link repositories both globally and within a plan via a Bamboo API? I am looking to create a CLI tool. Thanks


Answers:
author: Eduardo Alvarenga
body: Hello [@Steven Hizmi](/t5/user/viewprofilepage/user-id/5313938)

Welcome to **Atlassian Community**!

Bamboo uses Specs (Java/YAML) to configure the Plan in a "configuration-as-code" model. Meaning that no REST API is available for that.

You can find more about Specs on the following links:

* [Bamboo Specs](https://confluence.atlassian.com/bamboo/bamboo-specs-894743906.html)
* [Bamboo Java Specs](https://confluence.atlassian.com/bamboo/bamboo-java-specs-941616821.html)
* [Tutorial: Create a simple plan with Bamboo Java Specs](https://confluence.atlassian.com/bamboo/tutorial-create-a-simple-plan-with-bamboo-java-specs-894743911.html)
* [Exporting existing plan configurations to Bamboo Specs](https://confluence.atlassian.com/bamboo/exporting-existing-plan-configurations-to-bamboo-specs-894743917.html)

Thank you,

Eduardo Alvarenga  
Atlassian Support APAC

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

comments: author: Steven Hizmi
body: Is there an API call available for linking repositories globally? ie Not for linking repos in plans.
Do you not offer the Bamboo server version download?
Asked by ???SA:

Hello,

I would like to migrate the current Bamboo server version I'm using to another server. Currently, on the download page, it seems there's only the Bamboo Data Center version. Where can I get the server version?


Answers:
author: Eduardo Alvarenga
body: Hello [@???SA](/t5/user/viewprofilepage/user-id/5152256)

Bamboo provides a single installer that will have "Data Center" or "Server" features depending on the licence that is used. You can use that version normally with a Server licence.

For more information about the DC feature set check this link:

* [Bamboo Server and Data Center feature comparison](https://confluence.atlassian.com/bamboo/bamboo-server-and-data-center-feature-comparison-1063170546.html)

Best regards,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**
Having problem to dynamically retrieve the bamboo variable value
Asked by Kexin Pei:

Hello, I'm writing a script to utilize the bamboo variables. I have a echo line looks like: echo **${bamboo.dependency.parent.!parentsIndex!}**

The parentsIndex variable is a number here based on my personal requirement and it's ensured that this number won't exceed the max index of the parents that this build has. So ideally, I want this line to output the name of the parent which I request for. However, it outputs **${bamboo.dependency.parent.1}**, instead of dynamically retrieving the bamboo variable name. How should I change the way to set and echo this line?


Answers:
author: Eduardo Alvarenga
body: Hello [@Kexin Pei](/t5/user/viewprofilepage/user-id/5310618)

Welcome to the **Atlassian Community**!

In Bamboo, variable substitution happens before the build is started. If a variable needs to be replaced or created during the build, you need to use an ***Inject Variables Task*** that will consume a Java properties file on a *key=value* format.

So basically, you must create a properties text file, consume it through the Inject Variables task and use the new variable from the next task (or Stage).

Check this documentation for more information:

* [Configuring a Variables Task](https://confluence.atlassian.com/bamboo/configuring-a-variables-task-687213475.html)

Sincerely,

Eduardo Alvarenga  
Atlassian Support APAC

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

comments: author: Kexin Pei
body: Hello Eduardo,

Thanks for the reply : ) ! I still have a problem about how to create the properties text file. So in my usage, I want to access to a bamboo variable looks like: **bamboo.dependency.parent.\<parentsIndex\>**. So parentsIndex will be the namespace that I want to inject before the script. But parentsIndex is a calculated number instead of a simple self-customized namespace. How should I define this namespace in the properties text file then?

Thanks,

Kexin


author: Eduardo Alvarenga
body: Hello [@Kexin Pei](/t5/user/viewprofilepage/user-id/5310618)

**bamboo.dependency.parent.#** variables are protected and you can't overwrite them.

You can declare a second variable based on that output and consume it instead:

Try this:

```
#!/bin/bash

# This is to simulate Bamboo - it will there already
bamboo_dependency_parent_0=PLAN-KEY

# Index you want -- change it to the position you want here or via script
parentsIndex=0

# Declare the variable you will consume using dynamic vars
declare bamboo_dependency_parent_name=bamboo_dependency_parent_${parentsIndex}

# Evaluate and consume it -- this will print "PLAN-KEY"
echo ${!bamboo_dependency_parent_name}
```

Cheers,

Eduardo Alvarenga  
Atlassian Support APAC

**--please don't forget to Accept the answer if the reply is helpful--**
Create a bamboo 5.4.2 test environment - upgrade to version 7.0.3
Asked by aldo david martinez alarcon:

Good afternoon, community of Atlassian. I am building a test environment similar to my production environment to be able to migrate bamboo from version 5.4.2 to version 7.0.3. After approximately 17 hours I lift the service but now I cannot enter with any user and password to the bamboo test environment.

- the bamboo version 5.4.2  
- The PRD database has been restored oracle 12.  
- The bamboo-home folder has been copied and we are pointing to it.  
- Bamboo uses JIRA to manage users and groups.  
- Java jdk1.7.0_25

-I am using the atlassian upgrade documentation.

[Bamboo upgrade guide \| Bamboo Data Center and Server 9.3 \| Atlassian Documentation](https://confluence.atlassian.com/bamboo/bamboo-upgrade-guide-720411366.html)

your help please.


Answers:
author: Mahesh Shinde
body: Hi [@aldo david martinez alarcon](/t5/user/viewprofilepage/user-id/2189301) ,

As Bamboo using Jira user directory for authentication, I wants to know following:

* is your Bamboo test environment configured on Jira directory as a new application?

if no, please add the application in user directory: <https://confluence.atlassian.com/bamboo/connecting-bamboo-to-jira-for-user-management-952604122.htm>

* If you want old bamboo application config to be used in Jira directory then update the URL of new Bamboo test environment and IP address in current config of Jira directory.

Please, let me know if you have any questions or concerns.

If you still facing issue then share the atlassian-bamboo.log file for application logs.

Regards,

Mahesh Shinde

comments: author: aldo david martinez alarcon
body: Hi Mahesh

We are currently trying to get into the new test environment but can't get past login.

to do this, the atlassian documentation has been followed

[Bamboo upgrade guide \| Bamboo Data Center and Server 9.3 \| Atlassian Documentation](https://confluence.atlassian.com/bamboo/bamboo-upgrade-guide-720411366.html)

Regards,

Ald![bamboo5.4.2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/279139i22B2B7AA0F15D38C/image-size/large?v=v2&px=999 "bamboo5.4.2.jpg")