Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA Automation to trigger notification if summary field contains the value

Vasanta Kumaar
Contributor
December 18, 2024

Hi All,

I am working on creating automation in Jira to send notifications when the summary contains either "Value 1" or "Value 2," or both.

I am not able to achieve, Can someone help.

Thanks,

Vasanta

3 answers

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 19, 2024

Hi @Vasanta Kumaar 

When you use an Issue Fields Condition with the "contains" test, it is checking the entire value, and not a list of values.

And thus your test on "GHE, Exepedia" does not match.  And it has a typo, as that should probably be "Expedia".

 

To match a list of values, please use the Advanced Compare Condition with a regular expression, as described here: https://confluence.atlassian.com/automation/jira-automation-conditions-993924794.html#Jiraautomationconditions-Comparingusingregularexpressions

 

Kind regards,
Bill

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 19, 2024

Another alternative is to use a JQL condition and use the following JQL:

summary~"GHE" or summary~"Expedia"

Like Bill Sheboy likes this
0 votes
Vasanta Kumaar
Contributor
December 19, 2024

Screenshot 2024-12-19 at 1.51.19 PM.pngScreenshot 2024-12-19 at 1.53.44 PM.pngScreenshot 2024-12-19 at 1.54.34 PM.pngScreenshot 2024-12-19 at 1.55.31 PM.png

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 18, 2024

Hello @Vasanta Kumaar 

We will be better able to help you if you provide the following:

1. Screen images that show your entire rule

2. Screen images showing the details of any condition or action where you are trying to evaluate the summary field

3. Screen images that show the details for the rule's Audit Log for a time when the rule ran and you did not get the results you expected.

4. The actual content of the field in the issue that was part of that execution of the rule.

Suggest an answer

Log in or Sign up to answer