The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automation Rule to Populate a User Picker field based on another User Picker Field

Brittney Hinesly
Contributor
November 16, 2023

Today I spent a long time getting an automation to work and thought I'd share since I didn't find exactly what I was working on in the community forum.

 

I needed to populate the approver field with the selected manager from the JSM request.

the rule I created was 

Trigger:

When Issue Created

If: Issue Fields Condition

     Request Type

     equals

     "Find Request Type Name"

Then: Edit Issue

More Options

     Additional Fields

          {
                "fields": {
"Approvers": [
          {
                "accountId": "{{issue.customField_xxxxx.accountId}}"
          }
     ]
  }
}

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Laurie Sciutti
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 Champions.
February 21, 2024

Thanks for sharing, @Brittney Hinesly !