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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
AUG Leaders

Atlassian Community Events