• Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • None
    • 2
    • 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.

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

      Problem Definition

      Today it's not possible to update the organization's name field via REST API.

      Suggested Solution

      Create a PUT method on the /rest/servicedeskapi/organization/<organizationId> endpoint to update the "name" value for the organization.

      Documentation:

      https://docs.atlassian.com/jira-servicedesk/REST/cloud/

          Form Name

            [JSDSERVER-4605] Create REST API to update Organization field

            Chris James added a comment - - edited

            This is something we need. I notice that it is possible to rename the organization from its specific service desk implementation from the UI. When this is done, the app makes a PUT request to 

            /rest/servicedesk/<serviceDeskId>/organisations/<organizationId>/update with a body of { "newName": "Foo" }

            It strikes me that this is a strange REST api route. The suggested solution added by the OP to this Suggestion seems like the route I would expect to use to edit an organization's name because the organization exists originally at the global level, not at the service desk level.

            Also it is a bit surprising that there is no 'renameOrganization' method in the OrganizationsService - I am currently a little stuck as to how I can implement this...

            We are trying to integrate an existing system with JSD and without the ability to rename the Organization via the API we may have to disable the counterpart feature in our main system.

            Chris James added a comment - - edited This is something we need. I notice that it is possible to rename the organization from its specific service desk implementation from the UI. When this is done, the app makes a PUT request to  /rest/servicedesk/<serviceDeskId>/organisations/<organizationId>/update with a body of { "newName": "Foo" } It strikes me that this is a strange REST api route. The suggested solution added by the OP to this Suggestion seems like the route I would expect to use to edit an organization's name because the organization exists originally at the global level, not at the service desk level. Also it is a bit surprising that there is no 'renameOrganization' method in the OrganizationsService - I am currently a little stuck as to how I can implement this... We are trying to integrate an existing system with JSD and without the ability to rename the Organization via the API we may have to disable the counterpart feature in our main system.

              Unassigned Unassigned
              ediel Elisa [Atlassian]
              Votes:
              62 Vote for this issue
              Watchers:
              28 Start watching this issue

                Created:
                Updated: