Forums

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

From name on service desk emails when using API

Timo February 17, 2023

Hi, 

I am using API to post new service requests like this example:

https://wisenetwork.atlassian.net/rest/servicedeskapi/. POST

{
"serviceDeskId": "6",
"requestTypeId": "23",
"requestFieldValues": {
"summary": "REST API TEST request",
"description": "test.",
},
"raiseOnBehalfOf": "tirveli@gmail.com"
}

 I have made needed authorization tokens, etc., and I can pass messages to JIRA service desk.

But when someone makes a request with API and JIRA sends an automatic message of a new ticket (request created), the sender name on the email is my name. Is there a way to force it always to be the same, like the company name? Or is there a way on API request to set the from name? 

1 answer

0 votes
Rudy Holtkamp
Community Champion
February 17, 2023

Hi @Timo ,

You should go to https://wisenetwork.atlassian.net/jira/servicedesk/projects/<PROJECT KEY>/settings/customer-notifications

Under Sender name choose: Display the user’s public name for user-generated messages. Otherwise, display the portal name

 

Next you can also go to https://wisenetwork.atlassian.net/plugins/servlet/project-config/<PROJECT KEY>/notifications.

Here you can change the sender under Notification email

 

Rudy

Timo February 19, 2023

Those are all Global settings. I do not want all of my tickets to be like that. problem is only on submitting service tickets with API. Other than that it's ok to show the name of the reporter on notification mail.

Is there a way to set that when user XXX crates a service desk ticket with API, the from the name is set to XXX-company name?


Timo February 28, 2023

Is there a feature on API to not set the email sender name on API calls? Or do I just need to make a separate account with the desired name and use that with API? 

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