set or change author of a issue (via rest api)
We would like to offer redmine integration via html submit form which can run on every web server having a connection to the redmine server and knowing some api key to do that (need additional right to set author?)
Projects want to integrate bug breportimng and feature request form in their web apps, using rest api to sumbit new issues.
The users in all apps (redmine and other apps) use same ldap and so far the user data are the same. If using rest api don't know the api key of the user in which name the app wanna submit the issue, but the issue indeed shall show this user name a author. I tried to set author and update author after the issue was created via rest call. But the author always is and stays as the user which the api keys belongs. I think the cause is "this line":
The only way to offer this 3rd party web form integration without loosing author information of submitter will need to enable to change the author by a third person. This will need a right to be in a role and then the rest api shall also provide to set the author name.
#2 Updated by Jason Butz over 6 years ago
- File author_id.patch added
It would be nice to be able to set the author when creating an issue with the API. Here is a patch I made that adds the `author_id` to the safe attributes. I'm not a Ruby developer so I don't know if I did it "right", but it works.