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,552,901
Community Members
 
Community Events
184
Community Groups

How to parse multiple tags in an email?

I'm using the email integration to pick up alerts from some of our systems and am parsing the email using the advanced string processing.  I've managed to parse the alert priority, entity, source and I can parse one tag by using

{{ message.substringBetween("Tags:","#") }} 

in the Tags field and including

Tags: Incremental#

in the actual email which will apply the tag "Incremental" to the alert. But I can't figure out how to parse multiple tags so that they appear separately on the alert.  I've tried multiple entries in the Tags field in the template, using different substring identifiers, quotes, commas and a few other things, but the all come through as one big tag, so : "Incremental CIG ODS" rather than as three separate tags : "Incremental", "CIG", "ODS".

 

Thanks

Doug McGibbon

1 answer

1 accepted

1 vote
Answer accepted
Darryl Lee
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 14, 2021

Hi @Doug McGibbon ,

This is Darryl, Opsgenie Support. I am here to help. 😃

Understand that you would like to parse the tags by extracting from the strings in the Email body with the String Processing Method and separate them by a comma.

Unfortunately, in the current design, this is not feasible as it will be just like you have seen, parsed into 1 long tag.

I have just added you to an existing feature request, HEIMDALL-2930, and we will keep you posted on this thread.


Please note that our Product team reviews all feature requests together and they prioritize those with higher demand to be implemented first and any feature requests will take months until is ready since it needs to go through Design, Development, Testing, and rolling out to Production.

Further, every feature requests tickets are logged on our internal system without public access for our customers.


Thank you for reporting this here helping us make Opsgenie better! ðŸ˜ƒ

Hope you will enjoy using Opsgenie.

Kind regards,
Darryl Lee
Opsgenie Support

Hi. 

Thanks, I suspected as much once I looked at the way it was parsing the data.  Note that I also raised a support ticket for this (OGSP-77047) so you might want to head that one off.

Dougie

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events