Conditional Automatic Ticket Assignment

I would like to change ticket assignment only if the ticket is unassigned when someone performs an action (for example, adds a comment).

I tried an Automation rule to set the assignee to 'automatic'. The rule runs successfully according to the logs, but the assignee has not been updated.

Any ideas?

1 answer

1 accepted

0 vote
Jack Brickey Community Champion Aug 07, 2017

@James Mclellan, can you provide a screenshot of your automation/ Do you want it assigned to the person making the comment or someone specific?

@Jack Brickey thank you for the help. I'm trying to assign the ticket to the Service Desk Agent performing the action.

This is the rule:

automatic-assignment-2.png

In testing, the logs show the rule having run successfully:

automatic-assignment-1.png

 

But the assignee does not change.automatic-assignment-3.png

I may be approaching this the wrong way. Ultimately, I have a problem with Service Desk Agents not taking ownership of the tickets they are working, or someone starting work on a ticket, but someone else finishing it w/o updating assignments. 

I would like to resolve this by automatically assigning the ticket to the person taking a substantial action (closing the ticket, or making a the first comment to the customer, for example)

Jack Brickey Community Champion Aug 30, 2017

the "automatic" in the value does not resolve to the person editing that would be "currentuser" unfortunately it appears that "currentuser" is not an option w/in the "Then" actions.

Have you looked at implementing via the workflow as a post function? For any transition add a post function to assigne to current user. Now I realize that this will not meet one of your requirements "if the issue is unassigned". But likely Unassigned normally would only exist in the initial status so adding just to the one status might be ok?

otherwise the only thing i can think to suggest is a plugin e.g. Scriptrunner and there are others but if you are on Cloud it is limited.

Jack Brickey Community Champion Aug 30, 2017

@James Mclellan, i think our notes crossed path. When you refer to "taking ownership" it sounds like they are taking ownership because they are actually working the issue BUT they are not updating the Assignee field. If this is correct then as I mentioned above the best (?) approach is to ensure that there is a post function on the transitions to set assignee to currentuser. The downside, as you may know, is that if Sally is actually doing the work but Fred (maybe the project manager) transitions an issue on her behalf then it gets assigned to Fred. In this case Fred has to be on his toes and manually set back to Sally.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

780 views 5 7
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you