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

Is this still valid? I seem to be getting 404 errors

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 in Jira Service Desk

Looking for teams who switched from email to Jira Service Desk

The Jira Service Desk marketing team is working on a guide to help new Atlassian customers switch from email to JSD and we'd love to hear from you! Please share: - What made you realize that i...

1,184 views 10 13
View question

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