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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,395
Community Members
 
Community Events
184
Community Groups

Is there a way to see a list of all the "tags" used on alerts in Opsgenie?

Unlike labels in Jira, when I start to type a tag in Opsgenie, there is no autofill. I would like to get a list of all the tags that are in use in Opsgenie.  Is there a way to get that list?

1 answer

1 vote
Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Sep 20, 2022 • edited

Hi @richard.n.pykkonen ,

Opsgenie doesn't have an autofill for tags at this time.

You could review the alerts in the Analytics tab >> Alert Analytics report. Add a filter that looks something like this, then export the list via CSV and manipulate the data there:

tags1.jpgtags3.jpg

 

There's also this table in the Alert Analytics report that shows the most used tags based on the report's filter as well:

tags2.jpg

 

You could also run a query in the Alerts tab for something like:

tag !: null

and export these alerts via CSV as well:

tags4.jpg

Thank you for the help.

Like Nick H likes this

What about through the API @Nick H 

I want to get all tags in incidents and/or alerts

Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 06, 2022

You can query on the alerts that have tags with something like either of these using the API:

tag !: null

https://api.opsgenie.com/v2/alerts?query=tag%20%21%3A%20null

or using a wildcard: tag: "*"

https://api.opsgenie.com/v2/alerts?query=tag%3A%20%22%2A%22

 

The incident query isn't as robust, and does not support Null querying. You could probably get away with using a wildcard with something like this for the incident API:

https://api.opsgenie.com/v1/incidents?query=tag%3A%20%22%2A%22

 

I typically use a URL encoder to help determine what the query should be:

https://www.urlencoder.org/

url1.jpg

 

Other helpful documents:

Search queries for alerts

Search syntax for incidents

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events