Hi,
Could you please let me know how I can invite a Customer to JIRA Service Desk via REST API?
Thanks.
Pavel
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.
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.
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
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"
It looks like you're new here. Sign in or register to get started.