Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Update Alert via API

Is there any way to update details of an alert via the API? I see that there's a way to add Tags and Notes, but specifically I want to update:

{

"details":{"key1":"value1","key2":"value2"},

}

 

2 answers

1 vote
Nick H Atlassian Team Jan 14, 2021

Hi @Jeremy Worden ,

You can use the Add Details API request to update the details / extra properties of an alert.

The request is a POST, but if you adjust the body of the detail key that needs to be updated, it acts more like a PATCH.

deatils comm 1.jpgdeatils comm 2.jpgdetails comm 3.jpgdeatils comm 4.jpg

Hope this helps! Let us know if you run into any questions or issues.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Opsgenie

Leveraging Atlassian’s Opsgenie and AWS Cloudformation Registry to stay ahead of incidents

In the past, managing IT infrastructure was a hard job. It required a lot of manual effort and it was hard to keep track of all the necessary information (monitoring, scalability etc). Thankfully, as...

1,780 views 0 11
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you