Forums

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

Use customer's full name when sending notification

Andy Clyde
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 6, 2022

We have integrated our own website with JIRA Service Desk via the API. So when a customer submits a request via our website, we create a SD request via the API using the "onBehalfOf" key to set the customer's email address. When the notification of the request is sent to the customer to acknowledge this, it uses the email address in the email. We capture the customer's full name on our site and we would like to use this to make the acknowledgement email more personal but I can't see any way to do it. I tried using "Full Name <full.name@example.com>" in the "onBehalfOf" field but that was rejected as being invalid. We could use https://manrs.atlassian.net/rest/servicedeskapi/customer to create a customer account. This would work for new customers (which mostly these are) but wouldn't work for existing customers. When editing the notification email template it only seems to list a few fields that can be used as variables so I'm not sure setting a custom field for this would work.

 

Have I missed something? Is there a better way to approach this?

1 answer

1 vote
Pramodh M
Community Champion
January 6, 2022

Hi @Andy Clyde 

Use ${event.user.name} Variable in Body of notification scheme

Thanks,
Pramodh

Andy Clyde
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 6, 2022

How do I set the name via the API call? I'm using https://docs.atlassian.com/jira-servicedesk/REST/4.21.0/#servicedeskapi/request-createCustomerRequest to create the request.

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