Trying to create an automation that will remove the phrase "New Text Message" from the beginning of the Issue Summary, add a phrase at the end of the Summary and remove a changing phone number in between.
Basically
This: "New text message from ABC s99 Fail-Over (987) 654-3210"
to this: "s99 Fail-Over Data Limit Warning"
Where "s99" will change to signify the location of the request.
I really only need the "s##" from the original summary but even so not sure how to make it happen.
I thought maybe using multiple Edit Actions on the Summary might do it but it only ends up with one of the edits working even though the Audit Log shows all are successful.
Edit Issue: {{issue.summary.remove("New text message from ABC ")}}
Edit Issue: {{issue.summary.concat(" Data Limit Warning")}}
Edit Issue: {{issue.summary.remove (issue.summary.substringBetween ("Over","Data"))}}
I combined the two of the three into one statement:
{{issue.summary.remove("New text message from DII ")}} Data Limit Warning
and end up with: s99 Fail-Over (987) 654-3210 Data Limit Warning.
How can I get rid of the changing phone number in the middle while keeping the changing s##?
Thank you in advance for any help.