Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation condition based on comment author membership

matan.grady
Contributor
February 22, 2023

Hi,

 

I have an automation that runs on each comment.

If the commenter is a specific group member, it has an action.

See screenshot.

 

The condition is never met.

The same condition works to me in another automation that says " if issue created by membersOf(Support)" and it works.

 

Any idea?

Screenshot 2023-02-22 at 16.30.04.png

2 answers

2 accepted

1 vote
Answer accepted
Vamsi Kandala
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 22, 2023

Hi @matan.grady

Welcome to Atlassian community!

Instead of the 'JQL condition', you can try using 'User condition' and

  • Select the value 'User who triggered the event' for 'User' field'
  • Select 'is in group' for 'Check to perform' field
  • Select the required group for 'Criteria' field

Hope this helps.

Thanks,
Vamsi

matan.grady
Contributor
February 22, 2023

Thank you @Vamsi Kandala it worked like a charm!

1 vote
Answer accepted
abelalia87
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 22, 2023

Hi @matan.grady , 

Welcome to the Atlassian community. The JQL condition will search for issues where <field> in membersof(Support). You can try typing in the JQL and you will see the problem with <any user> in membersof(sampleGroup). You can use User condition.  User Condition.png

matan.grady
Contributor
February 22, 2023

Thank you @abelalia87 it worked like a charm

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events