I'm trying to find some text within the summary field.
I'm trying to make the post function conditional on the summary containing the text "Sign-off" at the beginning of the summary.
This is what I'm trying, but it doesn't work.
{{ issue.fields.summary.contains("Sign-off*") }}
I've dug through the documentation and other posts, but I can't find exactly what I'm looking for. Any help would be appreciated!
Hi,
You will want to try something like:
{{ issue.fields.summary.match(r/^Sign-off/i) }}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.