Jira Service Desk Invite Customer via REST API

Hi,

Could you please let me know how I can invite a Customer to JIRA Service Desk via REST API?

Thanks.

Pavel

2 answers

We would like this as well. In fact, the ability to use this feature inside of the standard "Create" button on all JIRA screens would be even better, as we could then use our URL ticket creation script to invite customers.

JIRA SD GUI simply post JSON to:

{Host}/rest/servicedesk/{Portal ID}/pages/people/customers/{Project KEY}/invite

so I guess it should be possible to do the same via script.

It works! You can use:

curl -fs -u "${JIRAUSER}:${JIRAPASS}" -X POST --data "{\"emails\":[\"${EMAIL}\"]}" -H "Content-Type: application/json" "${JIRAURL}/rest/servicedesk/${PORTALID}/pages/people/customers/${PROJKEY}/invite"

--

Andreyev

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

47 views 2 2
Join discussion

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