Forums

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

Auto-assign when moving ticket

Mark February 25, 2019

When moving an issue from one JSD queue/project to the next I want to be able to auto-assign it to a user based on the issue type. I have set up automation rules that do this if the issue is manually created in the destination queue, but those rules don't work when the issue is moved from another queue.

I saw elsewhere on these forums that this can be done using post functions on the transition from create. I am having trouble getting this to work.

The logic is essentially, if issue type is A then assign to user X, else if issue type is B then assign to user Y, else if issue type is C then assign to user Z.

I have copied snippets of code from example scripts as a based and tried to weak them but they don't work and I am not sure how to debug them.

1 answer

Mark February 26, 2019

Thanks @Olga Videc 

 

How would I auto assign based on the value of a field in a particular type? e.g. if the issue type is Bug and within that, the System field contains a certain value X then assign it to user A, if it constains value Y, assign it to user B etc.

Olga Videc
Community Champion
February 26, 2019

Hello, 

You need automatic assign on Service desk or Jira Project?

Mark February 26, 2019

JSD

Olga Videc
Community Champion
February 26, 2019

Hello, 

You can use this app, it's free

https://marketplace.atlassian.com/apps/1211836/automation-lite-for-jira?hosting=server&tab=overview

Then go to your project SD settings -> Automation 

Add custom rule

WHEN issue created of status changed (whichever suits you)

IF Issue matches: match what you desire

THEN Edit issue -> Assignee

Mark February 26, 2019

It doesn't look like the free version works for acting on items that are moved between projects.

The issue for me isn't the automation aspect of it (which the above links also address), it is very specifically around how to get these automation rules to trigger than the item is moved between projects.

The rules in post functions fire when an item is created on the target board, but not when an item is moved to the target board.

Tim Graham
Contributor
May 6, 2019

The instructions here:

https://confluence.atlassian.com/jirakb/how-to-automatically-change-the-assignee-when-transitioning-the-workflow-705954603.html?_ga=2.38377316.679369946.1557096855-1037582960.1551811358

are for the server version. I cannot find the corresponding cloud instructions. Can someone help me with the cloud-version of the documentation?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events