• 1
    • 4
    • We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Summary

      It is currently not possible to share a request to an organization when creating it via Service Desk REST API

      • Create customer request POST /rest/servicedeskapi/request

      Suggestion

      Allow the sharing of request to organization when creating the request via REST API

      Workaround

      Once the request is created, use JIRA REST API to update the Organizations field:

      1. Get the ID of custom field Organizations from db:
        select * from customfield where cfname = 'Organizations';
      2. Get the ID of the organization itself, also from db:
        select * from AO_54307E_ORGANIZATION;
      3. Use JIRA REST API - PUT editIssue with this JSON body:
        {
            "fields": {
                "customfield_10203": [3]
            }
        }
        
        • Replace 10203 with the ID of custom field Organizations from step 1
        • Replace 3 with the ID of the organization from step 2
          Ensure that the organization is in the Customers list of the Service Desk project

            [JSDSERVER-5256] Allow sharing request to organization via JSD REST API

            The given workaround is not really practical, as the customer is not able by itself to find out the name of it's organization. So JSM admins always needs to give id needed ID information to customers that want to create tickets via REST Api and share the created issues with their organization

            Michael Mohr added a comment - The given workaround is not really practical, as the customer is not able by itself to find out the name of it's organization. So JSM admins always needs to give id needed ID information to customers that want to create tickets via REST Api and share the created issues with their organization

            l really need this feature!

            Luciano Reichert added a comment - l really need this feature!

            is there any updates at all regarding this ?

            Tafadzwa Chombo added a comment - is there any updates at all regarding this ?

              Unassigned Unassigned
              ywoo Yit Wei
              Votes:
              21 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated: