I have a jira comment that is generated via email to our JSM project.
I am trying to strip the corporate virus scan info and quoted body from the email thread. If I dont do this the JSM tickets are un-redable.
I have good consistent markers for the deletion.
I am using
comment.body.substringBefore("{quote}") and
comment.body.subsstringAfter("end-->")
and those functions work great.
I would like to use comment.body.substringBetween but when I use that function I don't get a result.
Any thoughts?
Hi @Scott Brown and welcome to the Community!
There most likely is an error in your syntax somewhere so the function can't parse some of the pieces of text you're trying to locate.
Maybe this related thread might help you diagnose. If not, share more details about how you are trying to do this, your exact syntax, any errors you may receive and so on.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.