Hello,
I have a rule set to check if a summary contains the word 'webex' which then edits some issue fields for triaging tickets and this is fine.
However, if a user logs a ticket which, in the summary, contains the word 'webexpenses', the rule is applied where I would not want it to be.
I've tried to create a separate rule for the webexpenses tickets to be correct but this is being overwritten by my webex rule.
I've also tried using different conditions such as equals or contains regular expression but these won't work as the user can will usually put more than just webex in the summary of their ticket.
Have also looked through this community as best as I can with no luck either so any help would be most appreciated. I'm new to this tool so hopefully there's someone with the experience to point me in the right direction.
Many thanks in advance,
Mark
Hi John,
Finally got our version updated and found the following comparison worked for us.
Thanks for your help on this.
Mark
Hey Mark,
glad to hear! Got there in the end :)
best of luck,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Mark,
I hope you are enjoying using Automation for Jira so far.
So for your use case here, you will want to use a compare condition with the following structure:
{{issue.summary}} Contains Webex[^p]
This ensures that the letter 'p' can never follow the word 'Webex' thus ruling out Webexpenses.
I hope that helps but let me know if you have any other questions.
Cheers,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
The tool is great and I can see how it will save us a great deal of time.
Unfortunately this is not working for me. I'm not sure why but I think it's now looking for the [^p] as plain text.
Am I missing a setting of some sort for the system to recognise this tag?
Thanks,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Mark,
Apologies I think I slightly mislead you here. Regex can be a pain!
Make these two changes and it should work for you:
1) Change from 'contains' to 'matches' in your compare condition.
2) Use a lower case 'w' in webex[^p]
Let me know if that doesn't work for you
Cheers,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
Thanks for coming back to me.
Unfortunately that's not worked for me either. I've tried changing 'contains' to 'Equals' and 'Exactly matches regular expression' as I don't have the option of just 'match'.
Have also dropped the w to lower case in webex[^p]
Many thanks,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Mark,
What version of Automation for Jira are you using? We added the 'matches regex' function fairly recently. If you upgrade to the latest version, you should be able to see this. Let me know if not.
Cheers,
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
Sorry for the delay. We're running version 4.1.0 so I'll check for updates.
Will post how we get on.
Thanks,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.