Forums

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

How Automation rule can set a condition about a user type: agent or customer

Alona Kirichansky --CNTR
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 12, 2026

I want to create a condition that if a customer adds a comment then the issue will be moved to another status. but I do not manage the agents and customers in groups or in space roles, but only in the acces role (User (Agent) or Customer) what can be the smart value and the condition?

1 answer

1 vote
Andrea Robbins
Community Champion
April 12, 2026

Great question! There is a user condition to say if the initiator (assuming the trigger is a comment trigger in the automation) is a customer or is not a customer - this means specifically if the user is a customer on the ticket that was commented on. In other words, if the user has the Customer access role, but is not a reporter or a request participant on the ticket, then this condition will return false.

Screenshot 2026-04-12 at 7.48.23 AM.png

Another option for the user condition is to say the role or is in group:

(it's possible you might not have access to the list of groups depending on your role, so you will be able to add the condition, not see the list of groups, and thereby not be able to save the rule). I think you should use the role vs the group since as a space admin (I am assuming that is your space role) you have access to view the space roles.

Screenshot 2026-04-12 at 7.48.29 AM.png

I always use the "is a customer" condition" because I want to have it scoped to just who is acting as a customer on the ticket. For example, an agent can submit a ticket as well, and maybe acting as a customer, so if I went the space role route, this would fail to pass the condition. Additionally, performance is better for the "Is a customer" condition.

This is a system rule that you can easily add like as a template Atlassian provides in JSM (but I always switch out the condition to say use "is a customer"/"Is not a customer" instead of using the space role):

Screenshot 2026-04-12 at 7.50.19 AM.png

Suggest an answer

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

Atlassian Community Events