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.
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.