Josh Bridgens Posted July 26, 2021 Share Posted July 26, 2021 Hi All, running into a new issue with 3rd party emails not updating our tickets... this is the current Rule we have for updates: These are the emails in particular (they do include a 3rd party ref number but the REGEX should hopefully ignore that: (names redacted) Any help would be appreciated. Link to comment Share on other sites More sharing options...
Steve Giller Posted July 26, 2021 Share Posted July 26, 2021 The expression: [a-zA-Z]{2}[0-9]{8} matches both the Hornbill reference (SR00055903) and part of the external reference (INC000014741205) so the System cannot resolve to a single Request Reference. You'll need to adjust the Reference expression to cater for that, assuming (as I'm not a RegEx expert) that this is possible. Link to comment Share on other sites More sharing options...
James Ainsworth Posted July 26, 2021 Share Posted July 26, 2021 Hi Josh, You could try this... [inINsrSR]{2}[0-9]{8} I removed the a-zA-Z as that allows for all characters including the C in the INC, and I replaced it with inINsrSR. This will restrict the match to the 2 characters, either upper and lower cases, where I,N,S, and R exist and therefore it should exclude the references containing INC as the C is not listed. Let us know if that works. James Link to comment Share on other sites More sharing options...
Josh Bridgens Posted July 27, 2021 Author Share Posted July 27, 2021 Morning All, I have updated the rule, with the following: It still doesnt seem to want to update the tickets from those emails... any more ideas? Josh Link to comment Share on other sites More sharing options...
Steve Giller Posted July 27, 2021 Share Posted July 27, 2021 I'm pretty sure (maybe @James Ainsworth can confirm) that although the Rule Expression can match against the body, the Reference will only match against the Subject. Link to comment Share on other sites More sharing options...
James Ainsworth Posted July 27, 2021 Share Posted July 27, 2021 Hi Josh, I had missed @Steve Giller's comment about adjusting the Reference. I was purely looking at the Rule Expression and changing the regex there, and not the Reference. I see where the challenge is now. Steve is correct that the Reference only checks against the subject. The subject line of the email above doesn't include your Hornbill reference, only the 3rd Party reference, so it doesn't know which request to update. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now