Project

General

Profile

Actions

Feature #9812

open

set or change author of a issue (via rest api)

Added by Terence Mill about 13 years ago. Updated almost 12 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

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":
/projects/redmine/repository/revisions/3310/entry/trunk/app/controllers/issues_controller.rb#L140

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.


Files

author_id.patch (602 Bytes) author_id.patch Jason Butz, 2013-02-14 17:32

Related issues

Related to Redmine - Feature #1739: Add ability to change issue authorReopenedGo MAEDA2008-08-04

Actions
Has duplicate Redmine - Feature #39504: REST API need created_by field in the APIClosed

Actions
Actions #1

Updated by Terence Mill about 13 years ago

related to Feature #1739

Actions #2

Updated by Jason Butz almost 12 years ago

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.

Actions #3

Updated by Mischa The Evil about 1 year ago

  • Has duplicate Feature #39504: REST API need created_by field in the API added
Actions #4

Updated by Mischa The Evil about 1 year ago

  • Related to Feature #1739: Add ability to change issue author added
Actions

Also available in: Atom PDF