Dear community,
How can I create a variable as part of an automation with T20250611.0010 from a comment like this:
Der Status Ihres Tickets hat sich geändert auf: Zugewiesen
Gerne können Sie den Verlauf Ihres Tickets in unserer Kundenzone auch selbst überprüfen. Klicken Sie schnell und einfach auf folgenden Link, um direkt auf die Kundenzone zuzugreifen: T20250611.0010. Falls Sie nicht über einen Zugang zum Kundenportal verfügen, diese aber gerne nutzen würden, kontaktieren Sie uns.
Mit freundlichen Grüßen,
With {{comment.body.match("zuzugreifen:\\s*(T\\d{8}\\.\\d{4})<").get(0)}} the log is empty.
Thanks for help!
Hey @KLINGER Servicedesk ,
Please try
{{issue.comment.body.match("(T\d{8}\.\d{4})")}}
I also had a little trouble with escaping and brackets, but this one finally returned the desired result for me, given your example comment.
Regards from Koblenz/Germany
Thorsten
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.