Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Alias not being set to set alias but message instead in Opsgenie

Tim Crowe
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 14, 2023

Here is a payload from a the test opgenie ticket from the opsgine logs.

[system] Alert created via API[Ender-Create Alert] with incomingDataId[17059ae5-1f3d-4926-b2b9-0a334531f6fd] with customSource[136.49.46.47] with tiny id [2753] id [43deab95-0c1b-4dc4-b4ab-4954714efdac-1702566869927] 2023/12/14 09:14:29.949 { "_result": { "alertAction": "create", "integrationName": "Ender", "integrationActionName": "Create Alert" }, "alertLogOwner": "Alert API", "alertId": "43deab95-0c1b-4dc4-b4ab-4954714efdac-1702566869927", "_incomingData": { "_parsedData": { "note": "null", "-responders": [ "Finance" ], "-actions": [], "-tags": [], "alias": "invoice-auto-allocate-no-pending-01HG2H7GYHYN18HVWAWDB6Q5W6", "description": "InvoiceId: 01HG2H7GYHYN18HVWAWDB6Q5W6", "source": "136.49.46.47", "message": "This is a test all ignore", "priority": "P4", "user": "Alert API", "_extraProperties": {}, "entity": "" }, "integrationType": "API", "integrationName": "Ender", "incomingDataId": "17059ae5-1f3d-4926-b2b9-0a334531f6fd" }, "alertLogType": "system" }

As you can see the alias is set to

"invoice-auto-allocate-no-pending-01HG2H7GYHYN18HVWAWDB6Q5W6"
in the request.

But the created opsgenie ticket has the message as the alias.

1 answer

0 votes
Eugenio Onofre
Community Champion
December 22, 2023

Hi @Tim Crowe,

Welcome to the Atlassian Community.

It seems there is an issue with the fields mapping when creating an incident/alert. Would you be able to provide the POST body you are using for the alert creation?

Regards,
Eugenio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events