Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Update custom User Picker field

Paul Krueger
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.
December 2, 2020

I'm creating a rule that checks to see if a custom User Picker field is empty. If so, I want to populate it with the assignee of the issue. 

Unlike the behavior for Assignee, the default options for the User Picker are:

Screenshot 2020-12-02 120650.png

None of those will reference the assignee value. How can I reference the assignee (or the assignee email address) so that I can populate this custom user picker field? 

2 answers

2 accepted

2 votes
Answer accepted
Darryl Lee
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 2, 2020

You can populate a User Picker field with the Assignee value. You just need to choose from the (confusingly named) "Copy from..." operation in the little [...] button:

copyfrom.png

(I'm on Cloud - not sure if it's different on Server.)

Paul Krueger
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.
December 3, 2020

This totally worked and, once you actually get there, it makes sense. Thanks!

0 votes
Answer accepted
Bill Sheboy
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.
December 2, 2020

Hi @Paul Krueger 

Have you tried the advanced JSON edit option yet?  Please see here for information about that approach:

https://support.atlassian.com/jira-core-cloud/docs/advanced-field-editing-json/

Best regards,
Bill

Paul Krueger
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.
December 3, 2020

Thanks for the link. It was exactly what I needed. It took a bit of fiddling but this worked: 

 

{
     "fields": {
          "customfield_10171": { "id": "{{assignee.accountId}}" }
     }
}

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events