• 17
    • 5
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Service Desk Cloud. Using JIRA Service Desk Server? See the corresponding suggestion.

      Problem Definition

      It's currently not possible to send an invite email to a customer, that already exists, via REST API.

      Suggested Solution

      Add a (re)send an invite email call into the API.

      Workaround

      None.

          Form Name

            [JSDCLOUD-4426] REST API to (re)send an invite email to an already created Customer

            It's not a nice way but it is a workaround:

            You can use the same API as the web ui uses to resend the invite email.

            In JS using fetch, it could look something like this:

            const myHeaders = new Headers();
            myHeaders.append("Content-Type", "application/json");
            myHeaders.append("Authorization", "your-autorization-method-and-token");
            
            const raw = JSON.stringify({
              "email": "your-customer.account@e-mail.com"
            });
            
            const requestOptions = {
              method: "POST",
              headers: myHeaders,
              body: raw,
              redirect: "follow"
            };
            
            fetch("https://your-domain.atlassian.net/rest/servicedesk/1/pages/people/customers/pagination/YOURPROJECTKEY/invite/resend", requestOptions)
              .then((response) => response.text())
              .then((result) => console.log(result))
              .catch((error) => console.error(error)); 

            Lukas Steinwachs added a comment - It's not a nice way but it is a workaround: You can use the same API as the web ui uses to resend the invite email. In JS using fetch, it could look something like this: const myHeaders = new Headers(); myHeaders.append( "Content-Type" , "application/json" ); myHeaders.append( "Authorization" , "your-autorization-method-and-token" ); const raw = JSON.stringify({   "email" : "your-customer.account@e-mail.com" }); const requestOptions = {   method: "POST" ,   headers: myHeaders,   body: raw,   redirect: "follow" }; fetch( "https: //your-domain.atlassian.net/ rest /servicedesk/1/pages/people/customers/pagination/YOURPROJECTKEY/invite/resend" , requestOptions)   .then((response) => response.text())   .then((result) => console.log(result))   . catch ((error) => console.error(error));

            please escalate

             

            Thorsten Trägenap added a comment - please escalate  

            S Jang added a comment -

            +++

            This can be already controllable at customer notification section. This should not be blocked.

            S Jang added a comment - +++ This can be already controllable at customer notification section. This should not be blocked.

              Unassigned Unassigned
              ediel Elisa [Atlassian]
              Votes:
              39 Vote for this issue
              Watchers:
              23 Start watching this issue

                Created:
                Updated: