I am trying to use the create organization service desk api to create a organization which is no where in Jira.
URL: /rest/servicedeskapi/organization
Request: {“name”: “Test Org 2”}
The response says it worked:
{
“_links”: {
“self”: “https://{domain}/rest/servicedeskapi/organization/53”
},
“id”: “53”,
“name”: “Test Org 2”
}
But a GET of rest/servicedeskapi/organization does not return the organization, it returns all the other ones created with the UI. While I am not a Jira admin, I am not seeing the organization in Jira either.
One other interesting point: When I rerun the POST, it always returns the same id of 53. So it looks to me like the system knows that Test Org 2 is there, but not fully there.
Is there something that needs to be done before the call to the JSP API to make this work?