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

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".



Doug McGibbon

1 answer

1 accepted

0 votes
Answer accepted
Darryl Lee Atlassian Team 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


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.


Suggest an answer

Log in or Sign up to answer
Site Admin
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,757 views 0 10
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