Update the issue via the API with user input.
Added by Andrii Kurochkin over 4 years ago
How can I add a comment to a issue on behalf of a specific user? At the moment, the comment is added from the owner of the API key.
This method doesn't work.
Replies (2)
RE: Update the issue via the API with user input.
-
Added by Holger Just over 4 years ago
If the API key belongs to an administrator user, you can impersonate another user by setting an X-Redmine-Switch-User header in your request. See Rest Api for details.
User impersonation is not possible if your key only belongs to a "normal" user to avoid arbitrary impersonation.
RE: Update the issue via the API with user input.
-
Added by Andrii Kurochkin over 4 years ago
Yes, it's definitely needed. Thank you!