I’m developing an external app that gives an opportunity for users in my app to create requests in JSD Cloud. I use basic auth. I don’t really need OAuth because users don’t interact with JSD Cloud explicitly. The requests from my user go to my server and then using basic auth I make actions using only one superuser in JSD Cloud though API.
I already can create customers and requests using their names by using /rest/servicedeskapi/request
with raiseOnBehalfOf
.
I’m trying to make the same for comments /rest/servicedeskapi/request/#{request_key}/comment
but there is no raiseOnBehalfOf
.
I found this question. The staff suggests to use this endpoint. There is a body parameter called author
that is UserJsonBean
. When I set it nothing changes and newly created comment is created by the user that uses API (not that I want).
How can I add a comment to a known request by an exact user?