Hello,
I'm trying to write a JMWE post-op transition script that will conditionally transition the issue only if ALL the users in a multi-user picker are in a certain group.
I have this:
{% for user in issue.fields.customfield_19486 %}
{{ user | isInGroup('training-complete') }}
{% endfor %}and I get something like
true
false
but what I really want is just a true/false for the entire set of users overall.
I feel like I should be able to use a filter that looks something like this:
{{ issue.fields.customfield_19486 | filter({isInGroup('training-complete')}) }}I know that's not the syntax for a filter but I can't quite figure out how to do this more succinctly.
Thanks for any help