Hi All,
How to use user not in a group condition in post function.
Can someone help me with the snippet for Jira Cloud. We use both JMWE and Scriptrunner
TIA!!
Hi,
what do you mean by "condition in post function"? Are you trying to create a conditional execution script for a JMWE post-function? Or are you trying to create a workflow condition (not post-function)?
Hi @David Fischer
Thank you for your reply. I'm trying conditional execution script for a JMWE post-function.
Condition should be like this "user not in a particular group"
If a user not in a group X then set the default value to the sprint field and to a custom field.
Try this:
{{not currentUser | isInGroup("administrators")}}
Thank you @David Fischer
It looks like you're new here. Sign in or register to get started.