Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

500 Internal Server Error.

Hello team,

May you please assist with the following problem.

I tried to remove users from an organistation in our Jira ServiceDesk using experimental method. The link is https://docs.atlassian.com/jira-servicedesk/REST/4.17.1/#servicedeskapi/organization-removeUsersFromOrganization

Then I try to send DELETE the request "https://XXX.com/rest/servicedeskapi/organization/186/user?organizationId=186" using Postman I receive the following error message

"com.sun.jersey.api.MessageException: A message body reader for Java class com.atlassian.servicedesk.api.rest.dto.domain.organization.UsersOrganizationUpdateDTO, and Java type class com.atlassian.servicedesk.api.rest.dto.domain.organization.UsersOrganizationUpdateDTO, and MIME media type application/octet-stream was not found.\n" and 
500 Internal Server Error.

Thank you in advance!

1 answer

1 accepted

2 votes
Answer accepted
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 19, 2022

Hi @Stepan Matveev 

Are you in JSM 4.17.1 or higher ?

It's experimental so it may not be available if you have an older version.

The doc do not make sense to me can you try to send the following payload instead as body and do not use parameter.

https://XXX.com/rest/servicedeskapi/organization/186/user

 

{ "usernames": [ "USERNAME" ] }

Make sure to add Content-Type header with application/json as value

 

Regards

Hello @Florian Bonniec 
Appreciate for your help, it's work for me.

Thanks a lot! :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events