Forums

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

automation rule - condition with several words

Fabrice Gantois December 19, 2024

Hello Everybody

I done a automation rule to analyse the summary mail to affect the issue to the good affected service. I want do the check on serveral words. I try it but it is unfuctional

thanks in advance for your answer

 

4 answers

0 votes
Fabrice Gantois January 2, 2025

Hi Bill

Sorry my last post was not saved. I am sending it again. With your last comment I found the solution. It was the condition the initial was just "content" and the good is "content in the regular expression" and I also remove the "|" because I want the exact "ceryx sinistre" sentence.

Thanks again for your support.

0 votes
Fabrice Gantois December 26, 2024

Hi

Thanks for your reply.

Unfortunately, my tests remain bad :-) I will continue to search for the good solution.

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 @Fabrice Gantois 

To match on several possible words in the field, please try using the Smart Values Condition with a regular expression: https://support.atlassian.com/cloud-automation/docs/jira-automation-conditions/#--smart-values---condition

For example, the second value with the regular expression could be:

(Ceryx|Sinistre)

Also please note: I see you are forcing the Summary text to lower case.  And so your matching values should also be in lower case if you want to continue that practice:

(ceryx|sinistre)

 

Kind regards,
Bill

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 26, 2024

Please post images of the following to provide context:

  • an image of your complete rule (in one single image file)
  • images of each rule trigger, action, condition, branch, etc.
  • an image of the audit log details showing the rule execution
Fabrice Gantois December 27, 2024

 

please find  screenshots of my rule

thanks again

 

Capture d'écran 2024-12-27 145214.pngCapture d'écran 2024-12-27 145425.pngCapture d'écran 2024-12-27 145519.png

 

 

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 27, 2024

It does not appear you have tried what I suggested using the regular expression.  Please read my first post, implement that approach, and re-test.

0 votes
Fabrice Gantois December 19, 2024

screenshot.png

with the screenshot it is better !

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events