Hello
I am wondering if I can use smart values with JQL search in jira automation. What im trying to do is use JQL condition component to check if the {{issue.comments.last.author.displayName}} is not in a specific user group. Something like this {{issue.comments.last.author.displayName != membersOf("team")}}
You can use smart values in JQL but you'll need to make sure it evaluates to a proper JQL.
My advice would be to use the Log Action to try to create you JQL string and then test out the JQL manually to make sure it's valid. e.g you might need to add quotes around the JQL to make it work in some cases
e.g.
assignee = '{{issue.comments.last.author}}'
I tried your example in a Jira advanced search for issues, but got this error:
The value '{{issue.comments.last.author}}' does not exist for the field 'assignee'.
What am I doing wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does this work specific to a specific Jira Version?
I also tried this query but it didn't work. Got same error message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your Jira needs to be team-based for you to check if anyone on any field is in the team.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the Community!!
Smart values with JQL search in Jira automation is possible.
Make sure the smart value you are using returns a valid value.
It's not possible to check if the user has commented on an issue.
Thanks,
Pramodh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you so much for the help, this helped. Appreciated.
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.