youngmon/atlassian-qna huggingface dataset:
OpsGenie does AIOps?
Asked by Fabio Santos:

Hi!  

Is there any information on OpsGenie regarding AIOps? I've found this article below, but I was hoping I could find some more specific to opsGenie, since my understanding is OpsGenie it is THE incident management platform.

<https://community.atlassian.com/t5/Jira-Service-Management-articles/New-AIOps-capabilities-Alert-grouping-amp-PIR-creation-now-in/ba-p/2710532>


Answers:
author: Mubeen Mohammed
body: Hello [@Fabio Santos](/t5/user/viewprofilepage/user-id/5531864)

Thank you for contacting the Atlassian Community!

Please note that currently, the AIOps feature is available within Jira Service Management and is designed to enhance its incident management processes.

As for Opsgenie, while similar functionalities are part of its robust alert management and incident response features however, this particular AIOps capability isn't available in Opsgenie at this time.

Opsgenie continuously evolves, and new integrations and features are regularly considered to improve its offerings. You can follow <https://www.atlassian.com/roadmap/cloud?selectedProduct=opsgenie> for Opsgenie product roadmap.

I hope this is helpful.

Regards

Mubeen Mohammed

Cloud Support Engineer


Tags: aiops
OpsGenie: Is it possible to have more than one Team as a responder?
Asked by Jason Rogers:

OpsGenie: Is it possible to have more than one Team as a responder?

We have set up our Teams and each Team has their Sync set up as well. One Team though, Operations, would like to be alerted for all Incidents alerts that come in. I have set this up, but it now appears that Operations are listed as the sole responder for Alerts now.

In the screenshot below, we have two Alerts. One should go to Operations, but the top alert should go to Accounting and Operations (Ops just want visibility). It has however only gone to Operations as the responding team, when the responding team should be Accounting.

Any advice or guidance appreciated.

Cheers,

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


Answers:
author: Bruna Silva
body: Hello [@Jason Rogers](/t5/user/viewprofilepage/user-id/5508518),

Thank you for reaching out to Atlassian Community!

When using a [site-level integration](https://support.atlassian.com/jira-service-management-cloud/docs/add-an-integration-site-level/), it is possible to set more than 1 Team in the **Responders** field in its **Create alert** rule:

![Community.png](https://community.atlassian.com/t5/image/serverpage/image-id/341343iC1C704AD64303B8F/image-dimensions/389x228?v=v2 "Community.png")

However, if you configured a [team-level integration](https://support.atlassian.com/jira-service-management-cloud/docs/add-an-integration-team-level/), the **Responders** will always be the Team you used to add that integration.

Please note that *site-level integrations* are only available on Jira Service Management Premium and Enterprise plans.

If you have any other questions regarding this matter, please let us know.

comments: author: Jason Rogers
body: Great. Thanks for this.

I had indeed set up Team level Syncs, but can recreate the ones where I need two or more Teams.

Thanks!

J


Tags: alerts

jsm

opsgenie-cloud

teams
salesforce integration (custom values)
Asked by Amardeep Singh:

Hi,

I need to get Salesforce's application name (This is one of the fields where a user enters the application name they are facing a problem with) in the alert created in Opsgenie. Any help would be greatly appreciated, thanks


Answers:
author: Sean Suwal
body: Hi Amardeep,

Thank you for reaching out to the Atlassian Community!

Regarding your query, if the field application name is being sent in the payload received by Opsgenie, you should be able to extract the custom field into the alert by following the steps outlined in our community article [How to Extract Custom Fields and Data into an Alert](https://community.atlassian.com/t5/Opsgenie-articles/How-to-Extract-Custom-Fields-and-Data-into-an-Alert/ba-p/2133902)

I hope this helps.

Regards,  
Sean


Tags: cloud

opsgenie-cloud
Alerting from Kibana to Opsgenie
Asked by Lubom?r Kostal:

I am having a problem with sending alerts from Kibana to Opsgenie, where the tags I attach to the alerts are not being sent. I am using Kibana version 7.17, so I'm using a webhook instead of the integration available in version 8.X.

I am using our F5 connector to call the API at `/v2/alerts`, but when the call is made, only the message appears in the alert, and none of the tags I created show up in Opsgenie.  

<br />

<br />

{ "alert_name": "{{alertName}}", "alert_instance_id": "{{alertInstanceId}}", "alert_status": "{{alertState}}", "timestamp": "{{context.date}}", "message": "{{context.message}}" }  

<br />

![Sn?mek obrazovky 2024-08-07 091018.png](https://community.atlassian.com/t5/image/serverpage/image-id/340422iD85E41C9AE88EA3A/image-size/large?v=v2&px=999 "Sn?mek obrazovky 2024-08-07 091018.png")


Answers:
author: Mubeen Mohammed
body: Hello [@Lubom?r Kostal](/t5/user/viewprofilepage/user-id/5562635)

Thank you for contacting the Atlassian Community!

When sending alerts from Kibana to Opsgenie using a webhook, you'll need to ensure that your payload is correctly formatted to include the tags. The Opsgenie API expects a specific JSON structure, and if the tags are not appearing, it's likely due to a formatting issue in the payload you're sending.

{ "message": "Sample Alert", "description": "This is a sample alert description", "priority": "P3", "tags": \["tag1", "tag2", "tag3"\], "details": { "key1": "value1", "key2": "value2" } }

From the above payload you shared it looks like you need to include   
"tags": {{#context.tags}}\["{{.}}"\]{{/context.tags}}

I hope the details provided are helpful.

Regards

Mubeen Mohammed

Cloud Support Engineer


Tags: cloud

devops
How to create an alert based on a certain JSM Request Type?
Asked by Calvin:

Hi all,

So in creating an alert from the JSM it gives me an array of options from priority to summary to issue type.

All great and all, but I'm guessing theres a way to slice it down further? Can I create it only for an urgent priority of a certain Request Type, or some custom field? Or do I need to use the only ones available (like a label/comment/etc).

And does anyone know if this will change with the migration of Opsgenie being part of JSM?

Cheers!


Answers:
author: Bhanu
body: Hi [@Calvin](/t5/user/viewprofilepage/user-id/4851947)

Legacy automation and jira automation should help you build alerts for your use case.
is it possible to pass Bamboo project or plan variable to ephemeral agent template YAML file?
Asked by ???:

is it possible to pass Bamboo project or plan variable to ephemeral agent template YAML file?

how to handle bamboo variable when using ephemeral agent


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

Welcome to Atlassian community.

Bamboo project and plan variables are independent of any agents, can you try to explain me your scenario properly, what exactly you are trying to achieve ?

Regards,

Shashank Kumar

comments: author: ???
body: thanks to your reply, [@Shashank Kumar](/t5/user/viewprofilepage/user-id/4693340)

as you know, when using remote agent, bamboo variables can be handled in script.

but, in ephemeral agent, I can handle any information about bamboo like plan trigger, commit hash or user input varibles.

usually how can ephemeral agent read bamboo information?


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

There is no change in the way ephemeral agent read bamboo information, Ephemeral agent is a kind of remote agent running on a Kubernetes Pod and only difference is that it will shutdown when the Job completes based on your setting.

All your variables defined in Bamboo and any script task will work as it is, it does not depend upon which agent is executing them.

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***
Failed to connect to ssl://bamboo:54663
Asked by Mkurama:

Hi all,  

I have bamboo server on Linux and client on Windows PC.  

when I try to install remote agent on the windows PC I get this error:  

INFO \| jvm 1 \| 2024/07/18 09:40:36 \| 2024-07-18 09:40:36,079 WARN \[ActiveMQ Task-1\] \[FailoverTransport\] Failed to connect to \[ssl://bamboo:54663?socket.verifyHostName=false\&wireFormat.maxInactivityDuration=90000\] after: 1 attempt(s) with bamboo, continuing to retry.  

<br />

Thank you


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

Welcome to Atlassian community.

The issue probably seems to be that the Windows remote agent is not able to establish connection with the bamboo server or it not aware of the DNS : bamboo

Can you run a quick telnet command from your remote agent server to your Bamboo server and see if the connectivity is established.

You can read <https://confluence.atlassian.com/bamkb/troubleshooting-remote-agents-216957427.html> for some detailed troubleshooting steps.

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***
I see Bamboo Slowness in particular time
Asked by Rajesh kalyanam:

Team ,

We have an issue where Bamboo is too slow in particular tiemings what could be the issue .

we are using version

6.8.0


Answers:
author: Shashank Kumar
body: Hello Rajesh,

Welcome to Atlassian community.

There could be multiple reasons why Bamboo would be slow, here you have mentioned that you see this behaviour at particular timings, you can check few things.

1. If you see that the behaviour is seen at particular timings, please check if there are any backup's scheduled at those timings

2. Are there multiple builds which runs at those timings.

3. Are there are expiry process scheduled

These are just few things which possibly can affect, the best way to check this would be to refer **\<bamboo-home\>logs\>atlassian-bamboo.log** file and see what is Bamboo server during this time.

You should also monitor system resources like CPU, Heap and GC logging to check if there are any discrepancies during this time.

Regards,

Shashank Kumar
Why am I getting 401 ? Unauthorized response while calling bamboo REST API with valid credentials?
Asked by Madhankumar M:

I need to setup some environment variables and queue the last successful version for deployment using a python script.

I'm doing something like this to get the last deployed versionId:  

```
url = f"{base_url}/rest/api/latest/deploy/environment/{environment_id}/results"
```

```
headers = {"Accept": "application/json"}
```

```
response = requests.request("GET", url, auth=(username, password), headers=headers)

response = json.loads(response.text)

return response["results"][0]["deploymentVersion"]["id"]
```

This was working fine until 2 days ago. Suddenly from yesterday, I'm getting a 401 Unauthorized error.  
I'm getting this page when I try the same via Insomnia  
![Screenshot 2024-07-10 at 3.34.40?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/334565i82F2800B4734070D/image-size/large?v=v2&px=999 "Screenshot 2024-07-10 at 3.34.40?PM.png")  
The interesting thing is, I'm able to do all the actions from the UI and using curl with the same credentials. Any idea what I'm missing?


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

Welcome to Atlassian community

I think probably the authentication is not coming correctly via Insomnia. Just to double check can you try to access this API via Postman and check if you are getting the same error?

Regards,

Shashank Kumar

comments: author: Madhankumar M
body: Hi [@Shashank Kumar](/t5/user/viewprofilepage/user-id/4693340),   

Thanks for the reply. I tried using postman too. Same response.


author: Shashank Kumar
body: Hello Madhu,

What errors do you see in **\<bamboo-home\>logs\>atlassian-bamboo.log** file when you use the REST API from postman, does it print anything different from 401 error?

Regards,

Shashank Kumar


author: Madhankumar M
body: Hey, I think I got what the issue is.

Sometimes when I login, bamboo asks for a captcha verification. Whenever that happens, I'm getting the 401 error while using the REST API. Once I login to the UI after completing the captcha verification, the API requests are going through.  

Is there a way to bypass captcha while accessing the REST API?


Tags: python
Does Bamboo Java Spec support Java version >= 17
Asked by Anders Persson:

Today we use Bamboo 9.6.3 and Java Specs. After some reading i found that it support Java 11 (End of life Oct 2024). Will there be support for Java version \>= 17?


Answers:
author: Marcin Gardias
body: Specs for Bamboo 9.6 are compatible with 11 and 17 and use '1.8' language level by default.

Bamboo 10.0 is going to support JDK 17 only and you will be able to use language level 17 in specs.

I hope that answers your question.

comments: author: Anders Persson
body: Thank you. And when will 10.0 be released?


author: Marcin Gardias
body: Tentative date is around Aug 14, 2024


author: Charlie Misonne
body: On the [supported platforms page of Bamboo 9.6](https://confluence.atlassian.com/bamboo/supported-platforms-289276764.html) you will read that Java 17 is supported and Java 11 is being deprecated (meaning it will not be supported in future versions)

comments: author: Anders Persson
body: Thanks. Found that page but wasn't sure if it stated the version for the server or the Bamboo Java Spec.
Why is the default variable bamboo.shortPlanBranchName blank
Asked by garrellj:

I'm trying to reference ${bamboo.shortPlanBranchName} in my build plan

<https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html>.

It works for branches other than the default branch, but when running the default branch, it returns blank.


Answers:
author: Shashank Kumar
body: Hello garrellj,

Welcome to Atlassian community.

This is expected because this build will return the name for only Plan branches and not the default branch ( main branch ).

As per the description at [Bamboo Variables](https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html)

|----------------------------|----------------------------------------------------------------|
| bamboo.shortPlanBranchName | The name of the current plan branch where the job is being run |

For the default branch if you need the same you can use

|-----------------------------------------|-----------------------------------------------------------------|
| bamboo.planRepository.branchDisplayName | The name of the branch displayed in the branch details section. |

Regards,

Shashank Kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***
Bamboo stop ongoing build when a new one is scheduled
Asked by Oleksii Kotukhov:

If there are multiple pushes to branch, Bamboo schedules separated builds for every push which creates redundancy on the queue. We only care about the last build with the latest changes for ours pull requests. Therefore, is there any way/configuration to cancel ongoing/scheduled builds if new build is scheduled?


Answers:
author: Charlie Misonne
body: Hi [@Oleksii Kotukhov](/t5/user/viewprofilepage/user-id/5533174) and welcome to the Atlassian Community!

I'm not aware of such a setting. Canceling a build each time a new one starts does not sound ideal. What if your build is quite long and every time it almost completes there is a new push. Theoretically you could end up with commits all day long without a single completed build.

Instead you could use the **quiet period** setting: [Globally enabling the repository quiet period \| Bamboo Data Center 9.6 \| Atlassian Documentation](https://confluence.atlassian.com/bamboo/globally-enabling-the-repository-quiet-period-1236444136.html)

With this setting Bamboo will not execute a build immediately but it will wait for some time to allow consecutive pushes to be built in a single run.

comments: author: Oleksii Kotukhov
body: Hello [@Charlie Misonne](/t5/user/viewprofilepage/user-id/502263) we have cases when the build can take a long time to be executed. This can lead to a long queue with scheduled builds for the same branch. So I'm looking for some feature to allow canceling such "duplicates" automatically.


author: Charlie Misonne
body: Hi Oleski,

Well nothing like that exists so you'd have to create your own plugin.

Or creating external script listening checking the queue with this API endpoint: [Get api latest queue](https://developer.atlassian.com/server/bamboo/rest/api-group-api/#api-api-latest-queue-get)and [this one](https://developer.atlassian.com/server/bamboo/rest/api-group-api/#api-api-latest-queue-projectkey-buildkey-buildnumber-delete) to stop a build if another one has been queued.

You can also rethink your build process: do you really need to build on every commit? Why not just every hour, or every 2 hours, or...  
Or you could only build when a pull request is created.  
Just some ideas :-)


author: Marcin Gardias
body: The feature is coming in Bamboo 10.

comments: author: Oleksii Kotukhov
body: Is there any official reference I can use?  
Thank you in advance


author: Marcin Gardias
body: The official release is still few weeks away, but we've just published a release candidate: <https://community.developer.atlassian.com/t/bamboo-data-center-10-0-early-access-program-release/81426>
View all Skipped tests
Asked by Shreyank Ramachandra:

Hi,

I am seeing different skipped tests in Bamboo test result page. Also, I am not able to see the full list of all skipped tests. Has anyone come across this issue? any way to view full list? Please let me know. I am using Bamboo version 7.2.4 , not sure if this is bug in this version or some setting to be done.![Atlassian Bamboo and 3 mo.png](/t5/image/serverpage/image-id/331665i5AEA73F43691390A/image-size/large?v=v2&px=999 "Atlassian Bamboo and 3 mo.png")


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

Welcome to Atlassian community.

For details about Skipped test currently there is a feature request raised, please see [BAM-20948 Build result summary should show details about skipped/Quarantined tests](https://jira.atlassian.com/browse/BAM-20948) unfortunately this has not gathered much attention.

For the difference in count there are few knows issues with the way Bamboo displays the number of tests, I am not sure if your issue is related to one of those, probably it will need some investigation with the build results, logs and the test xml to see the issue, I would suggest to raise a ticket with Atlassian support to check this.

One of the known issues : <https://jira.atlassian.com/browse/BAM-11366>

Regards,

Shashank kumar

**\*please don't forget to Accept the answer if your query was answered\*\***
How to save pdf document to bamboo working directory
Asked by Okuhle Mbewu:

I have a testcase where i need to click on the link to download document. but when i check if the file was available on the bamboo working directory it shows that directory is empty and no pdf was stored


Answers:
author: Shashank Kumar
body: Hello Okuhle,

Welcome to Atlassian Community.

I am not sure on your setup, but probably you might have enabled "Clean working directory after each build" on the Job where the File is generated, can you uncheck this option by going to the Job configuration and see if the file is left after the build completes.

Regards,

Shashank Kumar


Tags: java

selenium
Change detection constantly triggering
Asked by Joel_B:

We are running Bamboo *9.2.14 build 90213* and during a set of builds the bamboo service crashed and restarted. After that four builds are being constantly triggered. The logs are:

```
2024-06-18 00:24:50,453 INFO [10-BAM::PlanExec:pool-13-thread-3] [DefaultChangeDetectionManager] : Excluding changeset 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' from change log. 
2024-06-18 00:24:50,454 INFO [10-BAM::PlanExec:pool-13-thread-3] [ChangeDetectionListenerAction] : Change detection found 1 change for plan KI-PLN 
2024-06-18 00:24:51,154 INFO [10-BAM::PlanExec:pool-13-thread-3] [ChainExecutionManagerImpl] Build KI-PLAN-JOB1-1187 has been dispatched
```

How to I stop this from happening?


Answers:
author: Shashank Kumar
body: Hello Joel,

Welcome to Atlassian community.

If you are just looking to stop few particular builds you can go to the plan configuration of that plans and go to triggers tab and remove all the triggers for the specific plan and see if that helps.

<https://confluence.atlassian.com/bamboo/triggering-builds-289276897.html>

If that does not help, we'll need to investigate if there is something else which is triggering the plans.

Regards,

Shashank kumar

**\*\*please don't forget to Accept the answer if your query was answered\*\***
How to enable repository tagging via Bamboo if GPG key is enabled in repository ?
Asked by Rakesh Singh:

We have enabled our repository with GPG key, but we observed that through Bamboo its not able to tag the the repository as GPG key is enabled.

Is there a process to tag our repository via Bamboo?


Answers:
author: Shashank Kumar
body: Hello Rakesh,

Welcome to Atlassian Community.

I am not sure on the ask here can you provide some details

1. What is the repository type? ( Bitbucket, Github ? )

2. What is the error which you are seeing on Bamboo.

3. How are you trying to tag the repository, are you using a repository tag task in Bamboo and trying to create a new tag when the build comletes?

Regards,

Shashank kumar