-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
2
-
4
-
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:
- is related to
-
JSDSERVER-6045 Provide a public java API to update the organization fields
- Gathering Interest
- relates to
-
JSDCLOUD-4605 Create REST API to update Organization field
- Gathering Interest
- is cloned by
-
JSMDC-2947 You do not have permission to view this issue
- links to
Form Name |
---|
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.