Is it possible to use nunjucks to search the value of description for a word or phrase that is somewhere in the value? I've tried to use the "~" and also tried to use find command but nothing seems to work.
For a simple test, I'm trying to find the word "Voicemail" inside the description. It always retruns 101, even if I change Voicemail to have a "zero" as the letter "o".
{% set x = "200" %}
{% if issue.fields.description ~ Voicemail %}
{% set x = "101" %}
{% endif %}
{{ x }}
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.