youngmon/atlassian-qna huggingface dataset:
How to delete an unused schedule
Asked by Helen J:

We have two JSM projects which use opsgenie - one for IT support, one for customer support.

As we only have a teeny tiny IT department, we do not need their on-call schedule; however we can't seem to find how to delete this anywhere. Consequently the IT schedule shows up on the customer support 'On-Call' window which is just annoying and irrelevant.

Is there anyway to delete this schedule?

Thanks

![OpsGenie.png](/t5/image/serverpage/image-id/209724i7172BA893A1F22FC/image-size/large?v=v2&px=999 "OpsGenie.png")


Answers:
author: Helen J
body: And like magic, as soon as I post this, I find the answer. Everytime.

Go into the Team - click the ellipsis next to On-Call Schedule. Fight the error messages. Delete.

?
Foglight integration
Asked by Brian Healy:

I'm interested in an alert integration with Quest Foglight. We could use email, etc. But a bi-directional api integration would provide a little more features.

<https://support.quest.com/technical-documents/foglight/6.1.0/rest-api-reference-guide>


Answers:
author: Muhammad Zeeshan
body: Hey Brian,

Yes the Email, API and Webhook Integrations will be the way to go right now but if you would like to request an in-house Quest Foglight integration you may open up a Feature Suggestion ticket on our Dashboard here: <https://jira.atlassian.com/secure/Dashboard.jspa> which you can then Vote on and get others to vote on as well in order to gain traction.

Best Regards,


Tags: cloud
Add date & time in the postmortem list
Asked by Carsten H?usler:

As a user I would like to have a column for the date \& time of the start of the incident in the postmortem list. Currently, when I go to the postmortem list, I don't see any information on when this incident took place. I would have go to the respective postmortem or incident page to find out.

I was not able to add this ass request in the Opsgenie board. So am posing the request here.


Answers:
author: Eugenio Onofre
body: Hello [@Carsten H?usler](/t5/user/viewprofilepage/user-id/4014940)

Unfortunately, it is not possible currently.

A new product will be introduced in the next couple months called Atlassian Analytics, which will allow you to build custom dashboards by querying data directly on Atlassian Data Lake, which should help achieve what you are looking for.

Additional information is available at: <https://www.atlassian.com/platform/analytics>

Regards,  
Eugenio

comments: author: Carsten H?usler
body: Hello Eugenio,  

I don't have the issue that I don't know how to get the data. I know I would find it in the incidents, via incident API or via the new analytics tool.  
My issue is the usability of the postmortem list view. It should include a column for date \& time of the incident. I would like to place this feature request.


author: Eugenio Onofre
body: Hi [@Carsten H?usler](/t5/user/viewprofilepage/user-id/4014940)

Please submit your feature request to Atlassian Support through <https://support.atlassian.com>


author: Eugenio Onofre
body: Hi [@Carsten H?usler](/t5/user/viewprofilepage/user-id/4014940)

Please remember to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,  
Eugenio


Tags: cloud
How to parse the subject and the properties from aws cloudwatch payload?
Asked by pushpa:

I can't see the value for "Subject" in parsed date for my cloudwatchEvent integration. It shows as null. How can I get the value for "subject" in these alerts.

![OpsgenieParsedDataScreenshot 2022-08-03 133140.png](/t5/image/serverpage/image-id/209218i1ADF017ECF9235FF/image-size/large?v=v2&px=999 "OpsgenieParsedDataScreenshot 2022-08-03 133140.png")

Also, I want to parse the properties like "resources" from the payloads received from aws cloudwatchEvent. Is there any way I can parse any extra properties other than the mentioned above (i.e. reason, deploymentid, eventname, eventtype, source etc.). Subject is also null. Not sure how to parse any value to subject?

Can someone please help me in resolving the above issue.

![awsPayloadScreenshot 2022-08-03 133947.png](/t5/image/serverpage/image-id/209219i6E07E4E47C887390/image-size/large?v=v2&px=999 "awsPayloadScreenshot 2022-08-03 133947.png")


Answers:
author: Nick H
body: Hi [@pushpa](/t5/user/viewprofilepage/user-id/4098724) ,

Not entirely sure why the Subject field is included as a default field parsing in the payload, since it's not included as one in the CloudWatch Events integration:

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

Which is why I assume it's sending as null. It is a default field in the other CloudWatch integration, so maybe that's the reason.

As for extracting the other fields being parsed in the payload, most customers will use a form of [string processing](https://support.atlassian.com/opsgenie/docs/string-processing-methods-in-opsgenie-integrations/) or [regex](https://support.atlassian.com/opsgenie/docs/regular-expressions-for-improved-alert-filtering/) to extract these into the alert.

You might be able to use something like one of these:

```
{{_payload.reason}}

{{_payload.substringBetween("\"reason\":\"","\"")}}?
```

comments: author: pushpa
body: Thanks Nick. I tried something like the above.


author: Nick H
body: It looks like the resources field parses a bracket which is a different formatting than the reasons field:

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

So the resources field might be something like:

```
{{_payload.resources}}

{{_payload.substringBetween("\"resources\":[\"","\"]")}}
```


author: pushpa
body: Thanks. I was also working on that and just got the things correctly.

Thanks for your help Nick.


Tags: aws

cloud
Opgenie Android turning volumes to 0 after alert
Asked by Dennis Hostetler:

I've got an issue with the Android Opsgenie app on Android. I have a Samsung GS22 Ultra patched current and since the July 1 update the app has been setting all volumes to 0 after overriding do not disturb to send an alert. I've caught it alerting 3-4 times then going silent and staying silent until I reset it back.

Yes, I've reinstalled the app multiple times, yes, it's installed in my profile not the work profile. It has the bypass do not disturb permission and turn off/on do not disturb.

I've missed alerts due to this bug and I've resorted to using Tasker to reset my volumes back after getting an opsgenie message.


Answers:
author: Arumugam M
body: Hi [@Dennis Hostetler](/t5/user/viewprofilepage/user-id/1395251)

I hope you are doing well. This is Arumugam and I'm here to help!

I understand that you are facing issues with the Opsgenie app when DND is enabled.

If you are using Scheduled DND on your phone, you might want to make the following configuration changes.

You would need to disable the "**Allow Opsgenie to set ringtone volume** " option from My Profile -\> Sounds, so that the Opsgenie App will no longer override the DND configuration.

You also need to add **Opsgenie to the exception list for DND**. So that it can send alerts even if DND is active.

You may also want to enable the **"Allow insistent notifications"** option if you want notifications to continue to sound until you see/cancel them.

Please let me know if you have any follow up questions.

Thanks,

Arumugam


Tags: cloud
Regex not matching email message
Asked by Rob Waterhouse:

We have the following email (included at the bottom) where we want to extract two key pieces of information.

The first is "Monitor: Service - SERVICENAME - Running State"

The second is "Stopped" (which could be anything from "99.9%", "Started", "Stopped", "Running", "1.230s"

These two blocks are the only pieces of information we want going into our alert.

I have tried several regex attempts to extract this data, but only the top one works.

I believe the second regex is not working due to the use of newlines. It's the only thing that differs between the two statements.

Here is my latest attempt at the extract. This code is in the description field of an email integration.

```
Monitor: {{message.extract(/Monitor: (.+)/)}}
Value: {{message.extract(/Monitor: .+\n+(.+)/)}}
```

Please could someone point me to where I am going wrong.

Thanks you

```
Click on [Body.html] attachment for HTML version




Log in to Stackify



Critical
View in Retrace
SERVERNAME (SERVERENVIRONMENT)
Monitor: Service - SERVICENAME - Running State






Stopped


Alerts



Associations
Started
State






SERVICENAME
Wednesday, August 3, 2022 12:13
Critical









Netreo, 7171 Warner Ave. Suite B787, Huntington Beach, CA 92647, USA


? 2022 Netreo | All Rights Reserved
```


Answers:
author: Muhammad Zeeshan
body: Hey Rob,

I have responded to your query in the Support Ticket you opened also. Basically this is what I would like you to for the second one:

Value: {{message.extract(/Monitor: .++\\s++(.+)/)}}

If that does not work could you please just add message in the Description field and create a test alert?

**MUHAMMAD ZEESHAN**   
Technical Support Engineer  
![](https://wac-cdn.atlassian.com/dam/jcr:4d5bf146-aa3a-453a-8628-28bdcf1f26a9)

comments: author: Muhammad Zeeshan
body: Apologies, the regex got reformatted. Here is the correct one:

```
{{Value: \{{message.extract(/Monitor: .+\s+(.+)/)}}}}
```


author: Afonso Henrique Rodrigues Alves
body: [@Muhammad Zeeshan](/t5/user/viewprofilepage/user-id/2797972) Could you point to the latest regex documentation?


author: Muhammad Zeeshan
body: [@Afonso Henrique Rodrigues Alves](/t5/user/viewprofilepage/user-id/4822155) <https://support.atlassian.com/opsgenie/docs/regular-expressions-for-improved-alert-filtering/>


author: Afonso Henrique Rodrigues Alves
body: [@Muhammad Zeeshan](/t5/user/viewprofilepage/user-id/2797972) Thanks!


author: Muhammad Zeeshan
body: [@Afonso Henrique Rodrigues Alves](/t5/user/viewprofilepage/user-id/4822155) You're most welcome! :)


Tags: cloud

email

regex
Is there a call-out history in Opsgenie?
Asked by Ludmila_Stahovich:

I would like to see the list of users who were notified of critical alerts.


Answers:
author: Darryl Lee
body: Hi [@Ludmila_Stahovich](/t5/user/viewprofilepage/user-id/4998823)

This is Darryl. I am here to help. ?

Understand that you would like to track down to see who was notified of critical alerts.

This can be seen under the **Alert Activity Logs** \& **Recipient States** of the critical alerts, as described in this article. -\> <https://support.atlassian.com/opsgenie/docs/track-user-events/>

Hope this is helpful.

Kind regards,   
Darryl Lee  
Support Engineer, Atlassian


Tags: cloud
Email integration | Is there any limit on Inbound emails?
Asked by shlomo.neiman:

Apologies if this is documented somewhere (I feel like it should be, but I didn't find..)

I'm configuring an Email integration and expect to receive a high volume of emails to this address.

Is there any limitation here? Will it be okay if 10 emails are received simultaneously? How about 100?

Thanks


Answers:
author: Nick H
body: Hi [@shlomo.neiman](/t5/user/viewprofilepage/user-id/4998313) ,

Opsgenie does have rate limiting, but it's dependent on your user count: <https://docs.opsgenie.com/docs/api-rate-limiting>

10 emails simultaneously shouldn't be an issue, but 100 might be.

comments: author: shlomo.neiman
body: Got it, Thank you Nick.


Tags: cloud
What happens to an OpsGenie user when they're removed from SSO?
Asked by Josiah Tillett:

I'm testing OpsGenie for use with a large enterprise that utilizes SSO. I've been unable to find any kind of documentation that describes what happens when I remove a user from my third-party SSO provider instead of within OpsGenie. Does the user get automatically removed from on-call schedules and teams? Or do they go inactive and need to be manually cleaned up?

Any kind of clarity into this would be much appreciated!


Answers:
author: Nick H
body: Hi [@Josiah Tillett](/t5/user/viewprofilepage/user-id/4997858) ,

I believe the user would need to be removed from within Opsgenie even if they were removed from your SSO. And I believe they would remain active as well even if removed from SSO.

A user cannot be removed / deleted from Opsgenie until they are removed from any schedules and/or escalations they are configured in: <https://support.atlassian.com/opsgenie/docs/add-invite-update-and-delete-users/#Deleting-users>

Removing them from schedules and escalations needs to be done manually, and by design so no workflows are interrupted or affected.

comments: author: Josiah Tillett
body: Is there any way to identify if a user has been removed from SSO without waiting the 90 days for their account to go inactive?


author: Nick H
body: I don't believe there is unfortunately.


author: Josiah Tillett
body: Alright, thanks anyways!


Tags: cloud
Email Integration | Can I create multiple email addresses linking to same integration?
Asked by shlomo.neiman:

On Email integration, I can choose an Email Address under my organization's opsgenie.net domain that, when emails are sent to it, creates an alert based on policies I configure in the integration.

Can I create more than one email address for this?

Any workaround to do this besides duplicating the whole integration?

Thanks


Answers:
author: Nick H
body: Hi [@shlomo.neiman](/t5/user/viewprofilepage/user-id/4998313) ,

An Email integration can only have one address per integration at this time.

Depending on your plan (Standard and Enterprise), you can configure multiple create alert actions under the integration's Advanced tab that manage alert fields depending on - for example - if the from address is a certain domain:

![email1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/208897i0ECFFFF3D5098AED/image-size/large?v=v2&px=999 "email1.jpg")![email2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/208899i1B4A93F8F0556C2A/image-size/large?v=v2&px=999 "email2.jpg")![email3.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/208898i3A28E5DEE13C0F8D/image-size/large?v=v2&px=999 "email3.jpg")

With this configuration you could easy filter on the Source field to run reports in the Analytics tab, or queries in the Alerts tab depending on the emails / alerts.

comments: author: shlomo.neiman
body: Hmm, is there a way to duplicate an integration with all its configurations?

We have use case where we want separate email addresses linking to the same set of alert rules.

Thanks


author: shlomo.neiman
body: Actually, Nick.

Reading the docs on rate limits, it looks it won't help us anyway. (I assumed having a different email address would duplicate total number of emails we can receive before hitting rate limit ?)

Thanks,


Tags: cloud
Make fields mandatory for manually created incidents
Asked by JP Feve:

How can we change the incident template so that manually created incidents have to include fields (like description, tags...)? Is there a way to change the "mandatory" attribute through the API?


Answers:
author: Darryl Lee
body: Hi [@JP Feve](/t5/user/viewprofilepage/user-id/4701982),

This is Darryl. I am here to help. ?

Understand that you would like to know if it's possible to define the mandatory fields to regulate the incident creators to create the Opsgenie Incidents in a consistent manner.

Unfortunately, this is not feasible in the current design.

*** ** * ** ***

#### Feature Request {#toc-hId-151909623}

We understand the importance this means to your operation, so I have just created a feature request on your behalf, [**OPSGENIE-747**](https://jira.atlassian.com/browse/OPSGENIE-747), please vote it and set yourself as a Watcher to receive the latest updates.

Please note that our Product team reviews all Feature Request (FR) together and they prioritize those with higher demand to be implemented first and any FR will take months until is ready since it needs to go through Design, Development, Testing, and rolling out to Production.

Thank you very much for your feedback in helping us improve Opsgenie.

*** ** * ** ***

Kind regards,   
Darryl Lee  
Support Engineer, Atlassian
Cannot change branch of second-repository using yaml specs
Asked by Vinod Dampuru:

I am having a Bamboo build plan which is managed by Bamboo specs using yaml configuration.

So this plan will checkout 2 linked repositories as part of build plan. After enabling the branch plan i am not able to change the branch of second repository it is still pointing to master. Is there a way to manage this configuration using yaml specs.


Answers:
author: Alexey Chystoprudov
body: Hello [@Vinod Dampuru](/t5/user/viewprofilepage/user-id/4440522) , it's not yet supported <https://jira.atlassian.com/browse/BAM-21066>

It will be addressed in future versions


Tags: spec

yaml
Is atlassian-bamboo-agent-installer-8.0.4.jar class log4j 2.9.0 vulnerable to CVE-2021-44228
Asked by Vincent:

We had to extract the atlassian-bamboo-agent-installer-8.0.4.jar and to analyse for CVE-2021-44228 for our client.

What we found was that log4j 2.9.0 is in the atlassian-bamboo-agent-installer-8.0.4.jar/classpath.zip, but apparently its not an issue per Nexus-IQ.

Any idea if atlassian will be updating the atlassian-bamboo-agent-installer-8.0.4.jar ?

Below are the extracted findings of the bamboo agent installer jar

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


Answers:
author: Daniel Eads
body: Hi [@Vincent](/t5/user/viewprofilepage/user-id/3854315) ,

Please see the advisory we released today - [Multiple Products Security Advisory - Log4j Vulnerable To Remote Code Execution - CVE-2021-44228](https://confluence.atlassian.com/security/multiple-products-security-advisory-log4j-vulnerable-to-remote-code-execution-cve-2021-44228-1103069934.html) - for the specific information in regards to Bamboo.

comments: author: Vincent
body: Hi Daniel,

Thanks for getting back to me. I've checked our bamboo server and it seems clean per the advisory.

I'm actually asking for the bamboo agent which is not stated


author: Alexey Chystoprudov
body: Bamboo agents are not affected as well. Added it to advisory


author: Ben Paul
body: Hi Alexey,

I still can't see any reference to Bamboo agents on the linked advisory?


author: Alexey Chystoprudov
body: Old version was cached, it should be visible now


Tags: cve-2021-44228
Docker container working directory mounting problem
Asked by Li:

Hey guys,

I am new to docker container and bamboo. And I am trying to use them to build my FPGA project.

Until recently I was using LXC container with bamboo and everything worked. Now I want to use docker container instead.  
The configuration of docker is shown in the following figure:

![Docker_configuration.PNG](/t5/image/serverpage/image-id/173344iF84085E2B683CDF7/image-size/large?v=v2&px=999 "Docker_configuration.PNG")

It seems that docker run has mounted the correct volumes:

![docker_run_log.PNG](/t5/image/serverpage/image-id/173345i79F3D48FD051578B/image-size/large?v=v2&px=999 "docker_run_log.PNG")

My FPGA project source files are also successfully checked out:

![source_code_checkout.PNG](/t5/image/serverpage/image-id/173347i21B1A8B3BCD9011A/image-size/large?v=v2&px=999 "source_code_checkout.PNG")

In order to make sure that it is the correct directory I have added a "pwd" command in a script task and it showed the correct directory:

![show_directory.PNG](/t5/image/serverpage/image-id/173349i29FACCAAB8941E5C/image-size/large?v=v2&px=999 "show_directory.PNG")

Now it should compile the FPGA project using a script in the working directory, which is shown above. But it complains that the script is not to be found.

![build_failed.PNG](/t5/image/serverpage/image-id/173350i9A4542AF6BA8C4D5/image-size/large?v=v2&px=999 "build_failed.PNG")

I think the working directory is somehow not correctly mounted and I have found this page about this issue: <https://confluence.atlassian.com/bamkb/bamboo-in-docker-build-fails-due-to-a-missing-working-directory-when-using-docker-runner-1027119339.html>

Since I am using absolute host path volume mounting, I think the first solution mentioned in the page may be suitable.

* stop container
* create a host path identical to Bamboo home path, for example /opt/atlassian-bamboo/agent-home
* copy Bamboo home to a newly created directory (for example from `/root/bamboo-volume` to ` ``/opt/atlassian-bamboo/agent-home`)
* start Bamboo server (agent) container with a new volume mount binding: `-v /opt/atlassian-bamboo/agent-home:/opt/atlassian-bamboo/agent-home`

But I don't know how to do the steps in bamboo job configurator based on web browser. Can anyone give me some tipps?

Li


Answers:
author: Li
body: Can some one help me?


Tags: docker
Error after running powershell script
Asked by Nike:

I've just started to learn Bomboo. I'm trying to run job with very simply power shell script:

```
$a = findstr "def" main.py
if ($a) {return 1} else {return 0}
```

I got errors:

```
/u03/atlassian/bamboo-home/temp/TB-TPC-JOB-17-ScriptBuildTask-6890328877188670307.sh: line 1: =: command not found
/u03/atlassian/bamboo-home/temp/TB-TPC-JOB-17-ScriptBuildTask-6890328877188670307.sh: line 2: syntax error near unexpected token `{return'
/u03/atlassian/bamboo-home/temp/TB-TPC-JOB-17-ScriptBuildTask-6890328877188670307.sh: line 2: `if ($a) {return 1} else {return 0}'
```

What am I doing wrong?


Answers:
author: Charlie Misonne
body: Hi Nikita,

Did you select *powershell* as **interpreter** in the script task configuration?

And is your Windows agent running on Windows?

comments: author: Nike
body: Tnank you for answer.

There was problem with agent. It was running on Linux.
Checking code with bamboo
Asked by Nike:

I need to automate finding some pattern in code after i did new commit in Bitbucket. Can I use bamboo for it and how i can use it?


Answers:
author: Charlie Misonne
body: Hi Nikita, Welcome to the Atlassian Community!

Yes you can use Bamoo for that. Here are the highlevel steps:

First create a new Bamboo build plan and add the following tasks:

1. Source code checkout  
   This will fetch the code from Bitbucket
2. Script task  
   Can be Windows Powershell or Linux shell depending on your environment  
   In this script task you can execute the search for the code pattern your looking for

You can also set a trigger on the build plan so it executes automatically on every commit.

Hope this helps!

comments: author: Nike
body: Thank you
Bamboo YAML specs artifact names
Asked by Matthew Gibboney:

I have a Bamboo plan where with multiple stages written as a yaml spec:

    # bamboo.yaml---
    # ...stages:
    - Run different stages:
        jobs:
          - jobA
          - jobB

    jobA: !include 'runJob.yaml'
    jobB: !include 'runJob.yaml'
    # ...# runJob.yaml---
    # ...artifacts:
      - name: ${bamboo.shortJobName}
    # ...

<br />

The yaml will fail to import with the following error:

    Bamboo YAML import failed: com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException: Duplicate shared artifact name ${bamboo.shortJobName}

Is there a way to dynamically define a bamboo artifact name?


Answers:
author: Alexey Chystoprudov
body: There's no option to define artifact name dynamically