Forums

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

How to query incidents by tags with API

Volodymyr Tochytskyi
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!
March 29, 2022

How to filter incidents by one of the assigned tags?

 

For example, I have a tag Infra:as for an incident. What is the solution to use that tag in query GET parameter 

https://api.opsgenie.com/v1/incidents?query=tags:(Infra:as)

 

1 answer

1 accepted

0 votes
Answer accepted
Volodymyr Tochytskyi
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!
March 29, 2022

Found the answer.

Just use tag (not tags) despite the fact that response contains tags attribute. According to docs

 

https://api.opsgenie.com/v1/incidents?query=tag:"Infra:as"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events