Compare condition with reporter.displayname vs reporter.emailaddress

Hi,

I have a use case where I need to compare both and if they match then continue on to the actions.

If does not appear to work.  I'm using.

issue.reporter.displayname equals issue.reporter.emailaddress

Here is a screenshot of the step.

Many Thanks,

Larry

image.png

 

2 answers

0 votes

I don't think those are the correct macros for what information you are looking for.  Instead I dug into the docs on Smart Fields in the automation plugin guide and found the field names should instead be:

{{reporter.displayName}}
{{reporter.emailAddress}}

I could see why you might have been trying to prepend the 'issue.' as just about all the other fields on the issue do all seem to use that format, but the reporter field looks to be different here.

Andreas Knecht Community Champion Sep 08, 2017

Hi Andy,

Thanks for the reply.

Both 'issue.reporter' and 'reporter' will work.  We just added 'reporter' for convenience since it's used so often.

I think the problem in Larry's example was that the second value had '((issue.reporter.emailAddress}}' instead of '{{issue.reporter.emailAddress}}'.

Cheers,

  Andreas

Thanks, I will give that a shot.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

412 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you