How to set reporter when create issue by rest api?

API : POST /rest/api/3/issue
issue: can’t create issue when i set reporter id.

I need to set custom reporter rather than REST token as issue reporter.

Is there any way I can implement this feature?

In case reporter field is in the screen of the specific issue type, you can try “accountId” instead of “id” or use a different REST endpoint ("/rest/api/2/issue" or “/rest/api/2/issue/bulk”

We have a script that creates a list of issues with dummy data (issues/bulk) where it works with something like this

1 Like