I am creating a custom service desk and using rest API to sync data with JSM cloud instance. I am using basic auth mechanism for authentication and creating customer request using raiseOnBehalf for raising their request and now I want to add customer comment using the same approach but can't find anything. Is there something I am missing
Hi @xigaha
Have you tried this method? -> POST /rest/servicedeskapi/request/{issueIdOrKey}/comment
You can refer detailed documentation around it on below link
Please try it and see if that works for you.
Yes have tried that but it by using auth token of admin the author of the comment becomes admin and there is no customer input. For creating a request there is raiseOnBehalf option but for creating comment there is nothing i could find. So is there any options for creating comments on customer behalf
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Currently it is not possible to add a comment via REST Remote API on behalf of another user.
There's already a suggestion raised with Atlassian, which you can track here - Add a comment via REST API on behalf of another user I would suggest you to vote for it and watch it for future updates. Please accept the answer, if it was helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.