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

This widget could not be displayed.

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.

This widget could not be displayed.

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
Published Aug 13, 2018 in Jira Service Desk

Jira Service Desk – Don’t be afraid, the journey begins with curiosity!

...be more productive while being fun to use at the same time. For some, getting started can be a bit intimidating. This is especially true if Jira Service Desk is your first exposure to Atlassian...

9,667 views 9 28
Read article

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