Originally asked by Juan Grases on 29 May 2020 (original question)
I want to create new customers based on the remote reporter of the ticket.
Originally asked by Juan Grases on 29 May 2020 (original question)
I want to create new customers based on the remote reporter of the ticket.
Answer by Juan Grases on 29 May 2020
This in your Jira Cloud incoming script should do the work:
if(replica.reporter){
httpClient.post("/rest/servicedeskapi/customer", "{\"displayName\": \""+replica.reporter.displayName+"\",\"email\": \""+replica.reporter.email+"\"}")
}