Forums

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

How to auto re-assign ticket from custom field to assignee field on transition?

Maksym Yergiyev October 7, 2020

Hello, we use jira next-gen and I do some automation via rules.

1. I want to assign an issue to the specific QA-person once it is transferred to the QA status (DONE)

2. I want to re-assign back to the last assignee prior to QA if we move the issue back in progress. (FAILED)

 

0. I've created the PERSON custom field named 'Last developer assigned'

1. On transition to QA status, we take Assignee value and put it to the 'Last developer assigned' and then assign the issue to QA person. It works.

Screenshot_41.png2. When to goes back to In progress the idea is to pick up the value from the "last developer assigned" and put it to the Assignee field. And this won't work.

 

Screenshot_9.pngAny ideas why?

1 answer

0 votes
Guilhem Dupuy
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.
October 7, 2020

Hello Maksym,

You can try the following action : instead of choosing a "assign issue to", use an "Edit issue Fiels" like you did if the first part of your automation rule.

Then, select "Assigne" as the field to set, and in the value use the smart value {{NameOfYourField}}

In the following example, the field I want to set as an assignee (which must be of "User Select" type) is called "approvers" :

Capture d’écran 2020-10-07 à 17.43.00.png

 

Let me know if it helped or not,

Guilhem

Maksym Yergiyev October 8, 2020

Hello Guilhem

Thank you for your answer.

 

I'm not assigning on the second step, I'm editing fields.

1. First problem - I cannot see how I can assign directly to my custom field {{customfield_10612}} using the drop-down 

Screenshot_42.png2. Second. I have the progress, now it's got unassigned with both cases:


{
"fields":{
"assignee":"{{customfield_10612}}"
}
}

 

{
   "fields":{
         "assignee" : [{"id" : "{{customfield_10612}}"}]
      }
}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events