Forums

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

Compare Assignee field value with Resource Custom Field Value

Eman Alfaour April 5, 2023

Can you please provide me the best smart value code or syntax that will compare for me in an automation rule the name of the assignee and the name of resource selected in this custom field , keep in mind they are both ( the assignee and resource field ) of the same type .  

 

for example : I want to see if the assignee name in this issue is the same as the resource in the same issue then a specific action will happen 

2 answers

0 votes
Alex Koxaras _Relational_
Community Champion
April 5, 2023

Hi @Eman Alfaour 

Try the following:

compare ids.png

Replace the "Reporter Copy" inside this smart value {{issue.fields.Reporter Copy.displayName}} with your field.

0 votes
Melo
Community Champion
April 5, 2023

Hi @Eman Alfaour ,

You can use the "Advanced Compare Condition" from Automation for Jira.

Here is the documentation with more details: https://support.atlassian.com/cloud-automation/docs/jira-automation-conditions/#Automationconditions-Advancedcomparecondition

I hope that helps.

Cheers,

Melo

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events