Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,059
Community Members
 
Community Events
168
Community Groups

Exclude current user when assigning ticket

Hello

I am trying to create an automation to automatically assign tickets to a techreviewer when the ticket is transitioned in the "review" state. 

I have a list of the people who are reviewers however naturally I would like the person who already had the ticket to be excluded. How do I do that? 

So, what I want is the following: If Dev A, B, C are reviewers and Dev A was the one who had the ticket, assign the ticket to either A or B

1 answer

0 votes
John Funk Community Leader Sep 12, 2022

Hi @steliosavramidis 

You might try a rule like below. I have not actually done that before, but you can try it. It would use a project role instead of a field. So the Devs would have to be in the Reviewers project role (or whatever you want to call the role in the project). 

Screenshot.png

Thanks for the answer! Can you please explain what does the

Assignee = CurrentUser() restriction does, and what does the new role do? 

 

To make it clear: people who review and people who submit things to review are not different groups but the same. 

John Funk Community Leader Sep 13, 2022

I am assuming that the Dev who completed the ticket is the current assignee. So when it moves to Review, it will be assigned someone in the group, but not the current Dev because he/she is the assignee. 

Hi again, unfortunately it doesn't seem to work :(. Still behaves the same. Do you have anything in mind as to why it wouldn't work? 

 

It seems in fact that CurrentUser is the current user using Jira at that time, so when it's me it will exclude me (where i have nothing to do with the rule)

John Funk Community Leader Sep 22, 2022

Correct - that's what the currentUser functionality is. 

Suggest an answer

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

Atlassian Community Events