Hi, I want to add a comment to an issue via the api, I can add a comment but it always as the admin I do the authentication as admin:token, here is a sample of the url I use
https://admin@company.net:token@company.atlassian.net/rest/servicedeskapi/request/359/comment,
when I send a post to this url it adds a comment as admin, how can I do this as another user, I want it to be dynamic.
When I create a request I use "raiseOnBehalfOf" is there a similar solution ?
Gal,
There isn't a way to post a comment as someone other than the person that has been authenticated through the Rest API.
Thanks,
Kian
Gal,
What is it that you are trying to do?
Thanks,
Kian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I will have my own ui and I want to use the api to handle the tickets so I was I want that when a customer will comment on an issue that the comment will be under his name and not under the admin I use to do actions with the api as it is right now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gal,
I think you'd have to do something like this, but I admit that I am unfamiliar with the process.
Thanks,
Kian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.