I would like to create an issue over the api as user "API12" but change the author to another user.
Is it possible?
Community moderators have prevented the ability to post new answers.
Yes it is possible.
Try like below
http://localhost:2990/jira/rest/api/2/issue I have used Admin user for authenticating this API
Request body will be
{ "fields": { "project": { "key": "DPT" }, "summary": "REST Testing", "description": "Creating of an issue with different Reporter using the REST API", "issuetype": { "name": "Task" }, "reporter":{"name":"user1"}// user1 is the normal user } }
When I try this I get:
Field 'reporter' cannot be set. It is not on the appropriate screen, or unknown.
I have the "Modify Reporter" permission.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your field "reporter" not is visible when is created any issue.. Only fields visible on create a new issue work like showed before.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.