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

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

this will be if condition that you can use

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events