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: 

How to compare assignee to user picker custom field

Gal Fatal
Community Champion
March 12, 2025

Hi,

I have custom field user picker with value.

I would like to compare it to the assignee in JQL/automation rule, I do not have script runner. any idea ?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Vishal Biyani
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.
March 12, 2025

@Gal Fatal 

In JIRA automation, you can reference the custom user picker filed by

{{issue.customfield_xxxxx.accountId}} and compare it to assignee using {{issue.assignee.accountId}}

Vishal Biyani
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.
March 12, 2025

this will be if condition that you can use

{{if(issue.customfield_xxxxx.accountId.equals(issue.assignee.accountId), "MATCH", "NO MATCH")}}
TAGS
AUG Leaders

Atlassian Community Events