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

How to add dynamic text to tags field

Anil Sai Kolapalli
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!
October 8, 2024

Hi Team,

This issue concerns email integration.
I am attempting to incorporate message.extract(/Current (queue depth)/) into the tags field, as the tags attribute is not emanating from the email template.

When I enter any text other than dynamic property, it is not displaying the value (I am referring to showing the select option in that field again, resulting in a blank field) 

I want to look like the second screenshot, where the jobs tag was displayed on the alert.

Can you suggest what i can do here?

Screenshot 2024-10-09 112619.png

1 answer

1 vote
Egor
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 10, 2024

Hey Anil, 
Thanks for reaching out to Atlassian Community! 

To add a dynamic value, such as message.extract(), in the Tags field of an Opsgenie email integration alert rule, it's important to ensure the property extraction is correctly formatted. You could try extracting the value into an intermediate alert property first, and then reference that property in the "Tags" field. Alternatively, double-check if the regular expression correctly matches the content of your incoming email.

More information on using dynamic properties in Opsgenie integrations can be found here:
https://support.atlassian.com/opsgenie/docs/dynamic-fields-in-opsgenie-integrations/

Best Regards,
Egor

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events