Is there a way to open a designated slack channel to a critical alert?
Asked by Adi Kuperman:

Whenever a P1 alert is triggered I want to create a new slack channel with the current on-call, open a Jira ticket with a link to the ticket and the status of the alert


Answers:
author: Adi Kuperman
body: Thanks [@John M](/t5/user/viewprofilepage/user-id/4625213)!  

One last issue I didn't manage to figure our is how to create an alert from slack with P1?  

when I create the alert with the following command:

/genie alert \[alert_name\] for \[on call team\]  

It creates the alert with P3.

Where should I define the priority?

comments: author: John M
body: It looks like there is no way to define the priority on alert creation, but you can update it after the alert it created:

![2023-04-28_13-34-25.png](https://community.atlassian.com/t5/image/serverpage/image-id/254532iBB227E07C3F29857/image-size/large?v=v2&px=999 "2023-04-28_13-34-25.png") The other option would be to a global policy for each priority that filters for Slack alerts with P1 in the message and assigns a priority of P1:

![2023-04-28_13-27-36.png](https://community.atlassian.com/t5/image/serverpage/image-id/254533iC787468CD71225AC/image-size/large?v=v2&px=999 "2023-04-28_13-27-36.png")


author: John M
body: Hi [@Adi Kuperman](/t5/user/viewprofilepage/user-id/5205905) ,

I would recommend using a [Jira integration](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-jira/) to automatically create Jira issues from P1 alerts:

![2023-04-27_17-46-05.png](https://community.atlassian.com/t5/image/serverpage/image-id/254362i346C047E701FDB4E/image-size/large?v=v2&px=999 "2023-04-27_17-46-05.png")![2023-04-27_17-45-51.png](https://community.atlassian.com/t5/image/serverpage/image-id/254363i2C10FD1D5462EFE2/image-size/large?v=v2&px=999 "2023-04-27_17-45-51.png")

New slack channels can't be created automatically, though we do have a[feature request](https://jira.atlassian.com/browse/OPSGENIE-57) for that. However, if you create an incident from the alert:

![2023-04-27_17-35-26.png](https://community.atlassian.com/t5/image/serverpage/image-id/254358i24750AF58BF01273/image-size/large?v=v2&px=999 "2023-04-27_17-35-26.png")

you can then manually create a Slack channel from the associated incident:

![2023-04-27_17-36-44.png](https://community.atlassian.com/t5/image/serverpage/image-id/254359i92AE795E2FF1ADFF/image-size/large?v=v2&px=999 "2023-04-27_17-36-44.png")

comments: author: Adi Kuperman
body: I'm trying to create a Jira ticket with Jira integration, but inside issue creation rule I don't see all mandatory fields that exist for this Issue type, that means it can't really create the ticket,  

Is there a way to fix it?


author: John M
body: [@Adi Kuperman](/t5/user/viewprofilepage/user-id/5205905) ,

If fields have been made required in Jira, they should show up on the Opsgenie side if they are correctly configured in Jira. In this example, I made a few fields required, including a custom field (test number field) which shows up in Opsgenie:

![2023-05-02_12-24-58.png](https://community.atlassian.com/t5/image/serverpage/image-id/254905iAF7A7C7F5650C654/image-size/large?v=v2&px=999 "2023-05-02_12-24-58.png")

If this is not happening, I would recommend reaching out to Jira support to have them review your Jira configuration.


Tags: cloud