Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

Creating Jira Cloud SD customers from the script

 
1
0
-1

I want to create new customers based on the remote reporter of the ticket.

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      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+"\"}")
      }
        CommentAdd your comment...