youngmon/atlassian-qna huggingface dataset:
How to make custom fields mandate while submitting an idea?
Asked by Sagithya:

Hi, I want to make a few custom fields mandate when someone adds an idea to the JPD project. I couldn't find the 'Required' checkbox anywhere under field settings.


Answers:
author: Gary Spross
body: As far as I'm aware, currently, it's all (like [@Rob Mkrtchian](/t5/user/viewprofilepage/user-id/5465093) indicates) or nothing with regards to required fields on idea creation. I would hope that there is something on Atlassian's [JPD roadmap](https://www.atlassian.com/roadmap/cloud?status=future;comingSoon&) (although I don't see anything....).

comments: author: Hermance NDounga
body: Indeed for the moment it's all or nothing - that's part of the small product improvement we could make through the year so it wouldn't appear on this roadmap. We haven't prioritized it yet as this feature is relatively new so it's still version 1, but that's definitely an espact (the form in general) of the product we will improve at some point.


author: Rob Mkrtchian
body: ![Screenshot 2024-05-17 at 14.19.51.png](https://community.atlassian.com/t5/image/serverpage/image-id/324449iDF3AA765720A8466/image-size/large?v=v2&px=999 "Screenshot 2024-05-17 at 14.19.51.png")

Project Settings \> Features \> Create Ideas \> \> Enable "Make all fields mandatory"  

<br />

comments: author: Gary Spross
body: This will make ++**ALL**++ of the fields in the "Create Idea" form required. Some fields aren't supported (and therefore aren't shown on the form), like in your example screenshot.


author: Sudarsana G
body: Navigate to Field Configurations:

Go to your JPD settings by clicking on the settings icon in the bottom left corner.  
Under the "Settings" section, select "Field Configurations."

Select or Create a Field Configuration:

Choose the field configuration that is associated with your JPD project or create a new one if needed.

Edit Field Configuration:

Click on the field configuration you want to edit.

Configure Field Requirements:

In the field configuration settings, locate the custom fields that you want to make mandatory.  
Click on the field name to edit its configuration.  
Check the "Required" checkbox to make the field mandatory.  
Save your changes.

Associate Field Configuration with Project:

Once you have configured the field requirements, you need to associate the field configuration with your JPD project.  
Go back to your project settings.  
Under "Issue Types," select "Field Configuration."  
Choose the field configuration you just edited or created and associate it with your project.

comments: author: Gary Spross
body: JPD (Jira Product Discovery) projects are team-managed style. Field Configurations are not applicable to team-managed style projects.


Tags: custom-field

required-field
how to change the name of the event exported from the calendar?
Asked by Lorene Degeorges:

We have a shared calendar for our team on Opsgenie.

Each coworker need to export their schedule on their Google Calendar. The name of the event is : " *name* (user) is on call for schedule: *name of the schedule*."

Can we change it ?


Answers:
author: John M
body: Hi [@Lorene Degeorges](/t5/user/viewprofilepage/user-id/5455386) ,

John from Opsgenie support here.

At this time, unfortunately, there isn't an option to customize the title of the webcal events. Sorry about that!
Auto close Opsgenie associated alerts
Asked by Peter Tung:

We would like to auto close "Associated alert" created by Opsgenie's Incident rule, we have setup close alert policy and it doesn't seem to work, anyone know what could be done to achieve this? Many thanks!

![?? 2024-03-18 ??2.53.52.png](/t5/image/serverpage/image-id/312603i8CC8263D46F90DD0/image-size/large?v=v2&px=999 "?? 2024-03-18 ??2.53.52.png")![?? 2024-03-18 ??2.54.03.png](/t5/image/serverpage/image-id/312604iDC9BD16AC5D2AE2C/image-size/large?v=v2&px=999 "?? 2024-03-18 ??2.54.03.png")


Answers:
author: Skyler Ataide
body: Hey [@Peter Tung](/t5/user/viewprofilepage/user-id/5218922)!

The reason that the current Notification Policy that you shared isn't working is due to the [alert creation flow.](https://support.atlassian.com/opsgenie/docs/alert-creation-flow/) Before an alert gets created Global/Team policies are checked first, then the alert gets created \> then triggers incident rule \> creates the incident \> then the alert becomes associated with the incident and the extra properties are added. There are a couple workarounds to this flow that are possible to close associated alerts:

1. Use an [Alert Policy](https://support.atlassian.com/opsgenie/docs/create-and-manage-global-alert-policies/) to filter for alerts that will match your configured Incident Rules, and then use that Alert Policy to tag these alerts. Then, create a Notification Policy that filters for this tag to auto close those alerts.
2. Create a Notification Policy that filters for the same criteria as your Incident Rules, this way any alerts that match your Incident Rules will also match the Notification auto close policy.

Hopefully this information helps!

comments: author: Peter Tung
body: Thanks for the answer [@Skyler Ataide](/t5/user/viewprofilepage/user-id/4456296) ! I'll be trying out both solutions and see which one works best for us. Cheers.


Tags: cloud
Is it possible to change the default priority?
Asked by Ponnappan Ganapathiya:

Hello there,

Is there anyway to change the default priority of unknown values from P3??


Answers:
author: Ste Wright
body: Hi [@Ponnappan Ganapathiya](/t5/user/viewprofilepage/user-id/5282370)

I don't think so - it's not mentioned as an option in the support pages.

For example, see here: <https://support.atlassian.com/jira-service-management-cloud/docs/set-priority-levels-of-alerts/>

It just states...
> The alert has an unknown value or the tool has priority information. In this case, the alert gets the default priority which is P3.

Ste


Tags: cloud
Closing an alert via API doesn't work
Asked by Alexey Labutin:

I have an alert with an alias like:

```
service@nano-prod||connections||data gateways||data||data://proxy-fg.prod.com
```

and sending a command to close:  

```
curl -X POST "https://api.eu.opsgenie.com/v2/alerts/service@nano-prod||connections||data gateways||data||data://proxy-fg.prod.com/close?identifierType=alias" -H "Authorization: GenieKey 111b1111144-41111f-11111" -H "Content-Type: application/json" -d '{ "user":"Monitoring Script"}'?

```

And I get an answer:

```
{"result":"Request will be processed","took":0.007,"requestId":"d62e7d50-4453-4879-be79-94b25c76ae72"}
```

Alerts with other aliases are closed with such a response, but in this situation this is not the case. Why?


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

Testing this, it seems that the issue is that the alias is being parsed incorrectly due to the **data://** part of the value - If you check your logs, you are probably going to see something similar to this:

[Logs documentation](https://support.atlassian.com/opsgenie/docs/track-user-events/)

```
Can not execute alert action. There is no open alert with alias 
[service@nano-prod||connections||data gateways||data||data:/proxy-fg.prod.com].
```

Where we can see that one of the slashes is getting removed

One possible workaround for this would be to use URI encoding to get the value to be parsed correctly, here is an example that worked on my side:

```
curl --location 'https://api.opsgenie.com/v2/alerts/service%40nano-prod%7C%7Cconnections%7C%7Cdata%20gateways%7C%7Cdata%7C%7Cdata%3A%2F%2Fproxy-fg.prod.com/close?identifierType=alias' \
--header 'Content-Type: application/json' \
--header 'Authorization: GenieKey APIKEY' \
--data '{

}'
```

I hope this helps, and if you need more assistance with your instance, I would recommend creating a support ticket at [Atlassian Support.](https://support.atlassian.com/contact/)

Cheers,

Alan


Tags: api

cloud

opsgenie-api
How to avoid alerts for suppressed AWS Security Hub findings?
Asked by Philipp Schuller:

Dear ATLASSIAN Community,

There are Security Hub findings that I would not like to mitigate like "GuardDuty should be enabled". Therefore, I've suppressed this finding and closed the Opsgenie alert. Nevertheless, I do receive a new alert during the next check by AWS Security Hub although I've changed the findings' workflow status to SUPPRESSED.

Any ideas on how to avoid alerts for such suppressed AWS Security Hub findings? I also tried the workflow status NOTIFIED with the same result. I've followed the official documentation and also set up the IAM *opsgenieSecurityHubRole*.

Thanks in advance.

BR,

Philipp


Answers:
author: Skyler Ataide
body: Hi Philipp!

If you are looking to have Opsgenie not create alerts for findings that come in with a workflow status of 'SUPPRESSED', you will need to configure this in the filters section of your create alert action in the integration. By default, the AWS Security Hub integration creates alerts in Opsgenie for all workflow statuses. You can add a filter like shown in the screenshot below to exclude creating alerts for findings that have a workflow status of 'SUPPRESSED':

![Screenshot 2024-03-18 at 11.15.52?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/312796i013C21C87AA91CD7/image-dimensions/413x312?v=v2 "Screenshot 2024-03-18 at 11.15.52?AM.png")

comments: author: Philipp Schuller
body: Awesome, thank you very much!


Tags: aws

cloud

security
Can we avoid closing an alert manually?
Asked by Manu John:

Can we avoid closing an alert manually? or can we retrigger the alert if someone accidentally close the alert.  
Suppose in alertmanager the particular alert is still in firing state and someone accidentally closes the alert, My expectation is to get a new alert via opsgenie regarding to this firing alert, Will it be possible?


Answers:
author: Mona Singh
body: Hi Manu,  

This is Mona here, happy to help :)  

As I understand, you would like to reopen a Closed Alert in Opsgenie. Please let me know if my understanding is correct.

To answer your query, please note that, the *Closed* state is conclusive, indicating that all necessary actions have been taken. Once closed, an alert's only available action is to delete. Recipients will be notified when an alert is closed. The alias of the closed alert will also be invalidated, meaning the closed alert won't be able to be queried using its alias and it won't be reopened again.

Secondly, Opsgenie will create an alert if it receives an incoming payload from the alert manager. So, if the alert is closed on the alert manager side and doesn't hit the Opsgenie server then it won't be creating a new alert.

I hope it helps :) In case you have any further queries, please feel free to reach out to us by creating a ticket in this [link](https://support.atlassian.com/) and we'll take it from there :)

Thanks,  
Mona


Tags: cloud
Create a schedule with 2 weeks on 1 week off
Asked by ryanpearse:

Hi there, I am trying to figure how to create a custom rotation schedule, we were 3 people on the schedule and now we are down to 2 people, I need to create a new schedule where 1 person has 2 weeks on and then one week off, so the second person would only have the rotation every 3rd week.

Is this possible at all, I have been trying to use the custom rotation but it insists on splitting the time evenly over the 2 people left on the list.

I tried to create a new user with an email alias of the person who would doing the 2 week schedule but then we cannot have 2 people logged in to the app at once


Answers:
author: Brennan Kiely
body: Hi Ryan,

The rotations allow you to put in the same user more than once, so you should be able to do a weekly rotation with User 1, User 1, User 2 to cover this use case.

comments: author: ryanpearse
body: I had no idea you could add the same user to the group, that works perfectly thank you very much for your help.
Documentation that explains how to use a parameter from an Opsgenie Action in OEC script
Asked by Jerald Sirmans:

I am looking for documentation that explains and/or provides examples on how to use a parameter from an Opsgenie Action in an OEC script. Any personal tips or suggestions are also welcomed.


Answers:
author: Rafael Meira
body: Hey [@Jerald Sirmans](/t5/user/viewprofilepage/user-id/3692559)   

The most relevant documentation for your question would be the first link: <https://support.atlassian.com/opsgenie/docs/manage-actions-with-oec/>

This document provides a comprehensive guide on how to manage actions with Opsgenie Edge Connector (OEC). It explains how OEC operates and how you can customize actions by using scripts. It also provides a step-by-step guide on how to configure an action, which includes how to pass parameters to the OEC script.

However, for a complete understanding, I would recommend going through all these documents as they provide a holistic view of how Opsgenie's actions work with OEC. The link below details how to setup an action channel with OEC and the third link provides a list of all downloadable files related to OEC.  

<https://support.atlassian.com/opsgenie/docs/set-up-an-action-channel-with-oec/>   
<https://support.atlassian.com/opsgenie/docs/list-of-all-downloadable-files/>

As for personal tips, it's important to ensure that your OEC is correctly installed and configured for your Opsgenie account. Also, when writing your scripts, remember to test them thoroughly to avoid any execution errors.  

<br />

Best,  
Rafa


Tags: oec

zzz
Integrate Opsgenie with Amazon Security Hub
Asked by Sharif Rezaie:

Hi,

While I was configuring the integration of Opsgenie with Security Hub, specifically, the outgoing functionality, I was not able to access the Cloudformation [templates](https://tinyurl.com/3x3fsbdc) for IAM role.

here is the page link: <https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-amazon-security-hub/>

Could someone please help?


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

I can see this issue from my end as well, so I will be checking internally so that we can update/fix the template link - Will post here as soon as I have more updates.

Thanks for bringing this to our attention!

Cheers,

Alan

comments: author: Kompier_ Patrick
body: Hi Alan,

Any update on this? Running in the same issue.

Cheers,

Patrick


author: Alan Violada
body: Hey folks! Apologies for the delay on this, the team is looking to update the documentation, in the meanwhile, you can use the link in Amazon Security Hub integration page in Opsgenie -\> Settings -\> Integrations (**Create** new Amazon Security Hub integration or **Select** previously created one ).  
![Screenshot 2024-04-18 at 16.03.36.png](https://community.atlassian.com/t5/image/serverpage/image-id/319238iF93A0585268EA31C/image-size/large?v=v2&px=999 "Screenshot 2024-04-18 at 16.03.36.png")  
Regards,  
Alan


Tags: cloud
Create Jira Software Cloud issue when an opsgenie alert is created
Asked by Jan Verbeke:

I tried 2 ways to achieve the above :

* Add opsgenie-JiraCloud integration
  * I configured : "Create and update Jira issues with Opsgenie alerts that are created by other integrations" as I want to filter first opsgenie alerst before having them creating an issue in Jira
  * Problem : Opsgenie fails to do so because it has no access rights to create an issue in the Jira Software Cloud project
  * Question : What access rights I need to set where ? There is nowhere a token I can set neither
* Add webhook integraion
  * The webhook integration does not give me a webhook that can be used in the Jira automation
  * I then used the jira software cloud automation webhook url and used that url as webhook url for the 'authenticate with a webhook account' in the opsgenie webhook integration settings
  * The above works, but the payload I get in Jira, is not json although I added "Content-type: application/json" extra header info in the integration settings

I would prefer the first integration, but I can't get passed the creation failure.  
Can someone unblock me ?


Answers:
author: Rosa M Fossi
body: Hello [@Jan Verbeke](/t5/user/viewprofilepage/user-id/5200821) Although it sounds like it's already connected, just make sure you're properly integrated (also note which version of OpsGenie you're using):

* <https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-jira-software-cloud/>

For the *opsgenie-JiraCloud integration error:* if you have the integration between your instance and OpsGenie setup correctly it should work. Double check the project and the issuetype you have selected in the integration... Also worth checking the permission scheme of the project. Can you provide where the error is appearing and the exact wording (maybe a screenshot)?

comments: author: Jan Verbeke
body: Atlassian saw a problem with the Jira adapter. After disconnecting and reconnecting, the jira opsgenie plugin works now.  

Still I'm puzzled why the webhook is not sending json.


Tags: cloud

integration

jira-cloud
Create Alert based on Service Desk Organisation
Asked by Ray Nixon:

Hi,

New to setting up OpsGenie, and playing around. One thing I want to try is setting up an integration with Service Desk, so that an OpsGenie team gets an alert if an issue is raised in Service Desk by a particular organisation (alternatively, alert is raised for a particular queue).

After setting up the Jira Service Management Cloud integration, under Incoming automation rules, I can edit the Create Alert rule. But under the conditions there is no option to select Organisation to add a filter on a particular organisation.

So, how can I do it?


Answers:
author: Mubeen Mohammed
body: Hello [@Ray Nixon](/t5/user/viewprofilepage/user-id/4823612)

Thank you for contacting the Atlassian Community. This is Mubeen.

You're correct. In the default OpsGenie settings, there isn't an option to specify an organization or queue directly in the conditions for the "Create Alert" rule inside the incoming automation rules. However, you can achieve what you're looking for by validating the incoming {{_payload}} sent to Opsgenie from your Jira account.

You need to validate where exactly the Organization details are sent in the Incoming Payload when the Jira ticket is created. You can either analyse the debug logs(Settings \> Logs) to find more details on where the Organization details are specified in the payload and using the [StringProcessing Method](https://support.atlassian.com/opsgenie/docs/string-processing-methods-in-opsgenie-integrations/) or [Regular Expressions](https://support.atlassian.com/opsgenie/docs/regular-expressions-for-improved-alert-filtering/) you can parse this information in other fields of Create alert conditions to route the alerts accordingly.  

If you need further help validating Incoming payload you can raise a support request at <https://support.atlassian.com/contact/> we will further validate your account to suggest specific conditions you can consider for this requirement.   

I hope the details provided are helpful.  

Regards

Mubeen Mohammed

Cloud Support Engineer
Immediately escalate to the next step is no one is assigned in the schedule
Asked by John Harper:

Hi all - We have a 24x5 L1 schedule and a 24x7 L2 schedule in the same escalation policy and are running into a delay that we are trying to work around.

By design, alerts are sent via escalation policy immediately to the 24x5 calendar. If there is no response then alerts are escalated to the 24x7 schedule in 15 mins.

On the weekends there are no people schedule on the 24x5 schedule and the policy waits 15 mins before sending to the 24x7 calendar.

We would like to immediate escalate to the 24x7 schedule if no one is scheduled for the slot on the 24x5 calendar. Is this achievable? We are coming from PagerDuty that this was the normal behavior if there is an empty slot on the calendar. We are trying to replicate this.

Thanks!


Answers:
author: Tejaswi G
body: Hi John,

Thank you for reaching out to Opsgenie community.

We understand that you wish to escalate the alert to the next schedule if there is no on-call person in the schedule.

As per the design, The Opsgenie waits for the time delay as mentioned in the escalation policy irrespective of the scheduled on-call person.

To achieve your use case, I would recommend you create a separate escalation policy(E1) that would directly escalate the alert to a 24x7 schedule immediately after the alert is created. You can route alerts to this new escalation policy(E1) from the routing rule if the alerts are created at the weekends.

If you have any further queries please feel free to open a ticket at [Https://suport.atlassian.com/contact](https://suport.atlassian.com/contact).

Kind Regards,

Tejaswi
Use Opsgenie alert from prometheus to trigger Azure vm restart
Asked by Jerald Sirmans:

Is it possible to use the Opsgenie integration with Azure to trigger an Azure vm restart when Opsgenie receives an alert from Prometheus. If so, is there any documentation to support the setup process?


Answers:
author: Charlie Misonne
body: Hi Jerald,

I don't think there is be an out of the box action to trigger a VM restart.

But if your alert contains the right data you could extract it and use Azure's REST API to perform the restart.

--\> [REST API Documentation](https://learn.microsoft.com/en-us/rest/api/compute/virtual-machines/restart?view=rest-compute-2023-10-02&tabs=HTTP)

You will need the subscriptionID, resourceGroupName and vmName. And of course the authentication details.

That's what I would give a chance but I don't have an environment to try it out myself at the moment.


Tags: azure

prometheus
Alert list show last alert date & time instead of first
Asked by pietro_boidi:

Hello,

I would like to know if it's possible to show the last alert time instead of the first alert time in the alert list ?

See red circled information attached

![Screenshot 2024-03-08 101618.png](https://community.atlassian.com/t5/image/serverpage/image-id/311000i659CD65B76F2CF49/image-size/large?v=v2&px=999 "Screenshot 2024-03-08 101618.png")

Thanks

Pietro


Answers:
author: Mubeen Mohammed
body: Hello [@pietro_boidi](/t5/user/viewprofilepage/user-id/4816830)

Thank you for contacting the Atlassian Community. This is Mubeen.

Currently, the option to customise the Alert time display is not possible. However, we have an open feature request with our Engineering team and [OPSGENIE-1835](https://jira.atlassian.com/browse/OPSGENIE-1835) is the ticket ID for your reference.  

You can also follow the [link](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) to Atlassian feature implementation policy. I hope the details provided are helpful.  

Regards

Mubeen Mohammed

Cloud Support Engineer