Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Customers that are not member of any JSD project

Kai Bounin November 14, 2018

While setting up our service desk, I have played around with various JSD projects. I also added some customers und users to some "initial" JSD project. The I deleted this JSD project.

Then I deleted the user from the user mangement (JIRA internal directory) and re-created the same user (using his email address as username).

Customer permission is set to "share within my organization".

When the user logs into the portal, he can select issues for the former organization of the deleted project (not finding any). But this organization is not part of the current JSD project and I cannot delete it.

Is there any fix for this problem? I do not find any access to customer maintenance for customers that are no longer member of any project.

TIA

Kai

2 answers

1 accepted

0 votes
Answer accepted
Kai Bounin November 15, 2018

OK I did it myself:

with the REST API I added the Organization to the current service desk project using

POST /rest/servicedeskapi/servicedesk/{serviceDeskId}/organization

Then I could remove the user from this customer, the organization from the project (both using the normal service desk web interface) and finally delete the unused organization (via REST)

Problem solved, but this is really not state of the Art.

Atalssian if you read this, you should really improve this in near future.

0 votes
Kai Bounin November 15, 2018

Supplement:

I found out that I can see the assignments of users to organizations using the servicedesk REST API. i.e. 

GET /rest/servicedeskapi/organization

GET /rest/servicedeskapi/organization/{organizationId}/user

But I can't delete the user from the organization since the delete call

DELETE /rest/servicedeskapi/organization/{organizationId}/user

does not work in any way I have tried. Since I did not want to produce additional inconsistencies I did not dare to delete the organization via

DELETE /rest/servicedeskapi/organization/{organizationId}

Has anybody any ideas how to handle this?

TIA

Kai

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events