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,300,574
Community Members
 
Community Events
165
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 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
Community showcase
Published in Jira Service Management

Improving the Create Issue Experience in Jira Service Management Cloud

Hello everyone!  We are very excited to announce some much needed changes to the issue create experience in JSM (the blue "create" button) at the top of the screen.  We have just starte...

178 views 7 5
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