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

This widget could not be displayed.

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

This widget could not be displayed.

Thanks, I will give that a shot.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

539 views 3 19
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