Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira Service Desk Invite Customer via REST API

Pavel Klymenko March 16, 2016

Hi,

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

Thanks.

Pavel

3 answers

1 accepted

1 vote
Answer accepted
Jon Hauge May 26, 2016

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.

Andreyev Dias de Melo July 7, 2016

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

Justin Riggio February 7, 2019

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

1 vote
Jeff Tillett
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 21, 2016

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.

0 votes
vmikac November 27, 2020

This worked for me:

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events