Forums

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

Jira service desk cloud - create a customer request via email using rest api

Nadeesh MDCP May 6, 2019

Hi,

From here I understood that if someone send to email to my service desk email address then it will create and issue and it will create the user based on the From address.

https://confluence.atlassian.com/servicedeskserver/managing-access-to-your-service-desk-939926273.html?_ga=2.62154159.2089437250.1557061318-247648608.1537283601

https://confluence.atlassian.com/servicedeskserver033/receiving-requests-by-email-861255251.html

 

I was trying to mimic the above behaviour using service desk rest api -

 

I understood that I can create a request using /rest/servicedeskapi/request but to use that I have to create  JIRA user for the customer.

But to create a customer , according to this https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-rest-servicedeskapi-customer-post I need a JIRA GLOBAL administrator access ( which I don’t have, I only have adminastrator access for that project).

 

Is there a way create a customer using customer details using rest api ( without a global administrator access)?

 

It's almost similar to my previous question (https://community.atlassian.com/t5/Jira-questions/Send-notification-to-the-customer-automtically/qaq-p/1074365?utm_source=atlcomm&utm_medium=email&utm_campaign=immediate_general_answer&utm_content=topic) but I think I did not ask in the right way.

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 7, 2019

Hi Nadeesh,

I'm afraid that the first two links you cited are specific to the Server platform of Jira Service Desk. These do not apply to Jira Cloud's Service Desk.

I believe I understand what you are asking for here.  But I don't know of any way to do this in Cloud, with the limitations you have set forth here.  I believe this is a design decision of the Atlassian Cloud platform in this regard.  Imagine how giving Jira Cloud non-administrators ability this could mis-used by spammers to turn any Jira Cloud site into a spam machine with just a list of email addresses.  That would be a really bad day for everyone.

I would like to learn more about your use case here. 

If the service desk project is public, then having that user email in to the inbox can also be one way to have that user create an account there.  This is the preferred method because we can then be much more confident we have the correct email for that user for one, and a better sense of consent of that user to have an account created for them.

Regards,

Andy

Nadeesh MDCP May 7, 2019

@Andy Heinzer , Thanks for the reply. I came to know that there is a undocument behaviour which allows my use case. Please see https://ecosystem.atlassian.net/browse/JSDECO-92 for more details.

I set my customer email address in 'raiseOnBehalfOf' field and it's working as expected.

Suggest an answer

Log in or Sign up to answer