Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,197
Community Members
 
Community Events
168
Community Groups

Use Reporter Email Instead Of Name

When adding variables into the "Customer Notifications" options, is there a way to print the reporters email address?

Currently, it looks like it will only print the name JSD (cloud) picks up.

E.G.

You have been added as a participant to case ${issue.key} "${issue.summary}"
Case raised by: ${issue.reporter.name}

Case Description
${issue.description}

 

"${issue.reporter.name}" will print "John Smith" for example, but we want it to print the email of the reporter j.smith@email.com.

 

Is there a way to do this?

 

Thanks.

2 answers

@Guilhem Dupuy was there an answer for this somewhere else?

Thanks

0 votes
Guilhem Dupuy Community Leader Nov 19, 2020

Hello,

Indeed, you can use the following Smart Value

{{issue.reporter.emailAddress}}

Let me know if it helped or not,

Guilhem 

Hi.

Thank you for the reply.

 

I have used that in a notification but it doesn't seem to pick anything up. It just seems to print "issue.reporter.emailAddress"

 

image.pngimage.png

 

Am I using it wrong? 

I have tried following the syntax of the other variables but I get the below error.

image.png

HI @Guilhem Dupuy .

Do you have any suggestions on my previous comments? I have tried using the smart value in the Customer Notifications template but it just prints in name "issue.reporter.emailAddress" in the email response itself.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Service Management

An unofficial way to monitor a JSM mail handler for errors

...eturns true if any content is returned for the webResponse.body.data.first s...

668 views 3 20
Read article

Atlassian Community Events