Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use OAuth with impersonation with the REST API to leave a comment?

Jackson Roberts
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 26, 2019

Hi Atlassian Community,

 

I am currently developing an in-house product for Jira Server and have successfully built-out OAuth authentication, and can retrieve and create new issues.

 

At the moment, I can create issues on behalf of another user by setting the reporter with the `raiseOnBehalfOf` parameter, but I cannot do the same for comments. I would like to be able to impersonate an arbitrary user by their email and leave a comment as them. How would I implement this?

1 answer

0 votes
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 9, 2019

Hello Jackson,

Welcome to Atlassian Community!
Currently, it's not possible to add a comment on behalf of other user using API. We have a feature request suggesting the implementation of this ability:
- https://jira.atlassian.com/browse/JRASERVER-35124
Please, click on vote and watch in order to hear about updates on the development cycle.

Regards,
Angélica

Suggest an answer

Log in or Sign up to answer