I'm attempting to automatically log work based on comments which include a "unit of time". If for example a comment is left on the ticket saying "I worked for 45m doing a report on this" it would automatically log 45m of work on the ticket and provide the description as "I worked for 45m doing a report on this".
I've created an automation rule that firstly checks if the comment includes the regexp (\d+)([mhd]). I then create a test action to write a comment of the format {{issue.comments.last.body.regexpMatch("(\d+)([mhd])")}}, this returns empty in the audit log though, wondering if this is the correct way to go about it or if some syntax has changed.
Thanks!