When we started looking into Opsgenie there were two possible features we were very interested in. One being the auto-notification to the person on call, which will be fine if we upgrade to standard.
The next biggest is a way to have JSM access the on call list directly.
There are a few of scenarios:
1. A ticket comes in for a standard issue that does not need alerts. We would like the helpdesk agent to assign it to (SE on-call schedule) for example and it auto populates the name and sends the proper notifications.
2. We have a automated ticket created from an alert or whatever, and in the automation I can set the assignee to the team on-call.
3. This would be extremely useful but not a deal breaker. It would be helpful if the person who acknowledged the alert was automatically set as the assignee. For example if the backup acknowledged an alert on a ticket from JSM, it assigned the ticket to that person.
Is there a way to do any of these in the Basic functionality for testing, is this something we can do if we upgrade to standard or are none of these available?
Hey Chris, I am getting Jira tickets auto assigned to my team from our OpsGenie on-call schedule through an automation rule. I think atlassian should have made this native to the service but here is my work around.
Automation Rule -
When: Issue Created
Issue Type Equals
(your issueType here)
Then: Send Web Request
GET
https://api.opsgenie.com/v2/schedules/:scheduleIdentifier/on-calls
And: Edit Issue fields
Assignee to {{webResponse.body.data.onCallParticipants.name}}
the last step contains the smart value returned in the JSON from the API call.
I'm not able to add the assignee using the webresponse, could you add a picture on how you did it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I already added the API key and tried both with your url and this other one substituting api for my company namespace, would you know what am I missing?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey all, is there a way to round robin assign the issue if multiple agents are on the schedule at the same time?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chris!
Hope you are well :)
1. What the helpdesk agent can do is view the on-call page and manually assign an SE accordingly. To view the Oncall schedule the helpdesk technician can view all the on-call schedules and assign them accordingly.
But if you are talking about auto assigning the SE on an Opsgenie alert based on an evaluated ticket in Jira this can happen automatically. The Opsgenie alert is created from Jira Service Management through webhooks, You can find more information here https://docs.opsgenie.com/docs/jiraservicedesk-integration
You can set JQL queries on when these triggers are created OR set up filters within the Opsgenie integration to only create alerts based on parsed information.
For Item 2 & 3 for automatically assigning the assignee in Jira based on the Opsgenie technician this can happen. At the moment there is no straightforward way to achieve this but a combination of the Integration’s Action Mapping + Automation Rule can be used to map 1-to-1.
I can provide these steps if you want to go down this path :)
Thanks,
Connor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Connor Eyles if you could supply the steps for 2 and 3 that would be appreciated, we are attempting to do exactly that and our process is ...lengthy....would greatly appreciate seeing those options!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here are the steps on how to do the workaround :)
1. In Opsgenie - Map the integration to add a comment on the ticket when the alert is acknowledged:
2. In Jira - Create an Automation Rule that filters on the user's name and assigns them to the ticket:
Note - Multiple automation rules will need to be configured for each assignee, but they can be easily copied/cloned.
Simply rename the rule > adjust the IF condition > adjust the THEN condition
Thanks,
Connor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Connor Eyles Any luck making this a built in feature in Opsgenie/ Jira?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @[deleted]
So far this is not a built-in feature, however, you can track this feature request here: https://jira.atlassian.com/browse/JSDCLOUD-9731
Thanks,
Connor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just quickly chiming in here that this is also a feature we're looking for as a new OpsGenie customer. In our use case, we have numerous on-call teams and the on-call engineers on each team are quite fluid. Meaning that the (essentially) hardcoded mappings in the Automation Rule would require constant update and could be error-prone. However, it does act as a workaround until (if ever) such a feature is built-in.
Another route we're exploring is to build a Lambda function using Jira and OpsGenie APIs that will periodically (e.g. every hour) set the JSM Component owners to be the on-call of said Component (our Components are mapped to on-call teams). Our processes that generate JSM Incidents automatically map Incidents to Components and in turn the appropriate on-call since the Lambda function would keep the Component owners up to date.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.