Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,880
Community Members
 
Community Events
168
Community Groups

How to add comment on behalf of the other people?

Edited

If I use the REST API to leave a comment, the author will be me.

Is there a way to leave a Jira issue comment on behalf of the other user?

Can cookie-based authentication or OAuth help?

1 answer

I am not too sure I understand your description, however, I do understand the title.

I do not think it is possible to change the author of a comment or to add a comment on behalf of someone else. 
The API does not allow you to add a comment on behalf of someone else.

You can only post the Comment and the visibility (by role)

https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-add-comment-8946422/


Also, you can not change the Author of the Comment unless you update the database. THIS IS NOT SUPPORTED by Atlassian.
https://confluence.atlassian.com/jirakb/how-to-change-the-author-of-a-comment-in-jira-1026545519.html

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.10
TAGS

Atlassian Community Events