Forums

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

Can't Copy Assignee to Custom User Picker Field using Automation

Kevin Shea August 29, 2024

I can't seem to get my automation to edit a custom user picker field and make it match the assignee.  I'm sure I'm doing something fairly obviously wrong, but I'm not used to JSON. I've tried it a dozen different ways, and can't get it to work properly.  Thanks in advance for any help!

As my issue goes through the workflow, I want to record who on a specific team the task was assigned to at a specific point so that I can send it back to them later in the workflow to verify data.

 

The automation runs, but my custom user field won't update.  Here's the automation

If X, then

Assign the issue to a user within a role (this works)

And edit the custom user picker field to match the assignee (does not work)

Automation.jpg

 

And here's how I'm trying to assign the "Andon ME" value:

Edit Field.jpg

In case it helps, here's how I've set up the custom field:

Custom Field.jpg

1 answer

1 accepted

4 votes
Answer accepted
Robert DaSilva
Community Champion
August 29, 2024

Hi @Kevin Shea , Smart Values in Jira Automation are a little strange. In this example, you should be able to simply enter the smart value for the assignee directly into the user picker field on the "Edit Issues" action.

Kevin Shea August 29, 2024

Thanks Robert, that solved my problem!  I tried typing it in that assignee previously, but didn't see that I had to pick the smart value that appeared below what I typed in.

Like • Robert DaSilva likes this
Robert DaSilva
Community Champion
August 29, 2024

Glad it's now working!

Kevin Shea August 29, 2024

Although now I have a new problem, the automation runs so fast it doesn't pick up the new Assignee, but the old Assignee.

John Funk
Community Champion
August 30, 2024

Hey Kevin - But in a Re-fetch action (or two if needed) right after the Create issue trigger. Or since you are on Premium, you should see a new  Delay action.

Like • Kevin Shea likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events