Create issue as another user using Rest API

Peder Alm
Contributor
November 10, 2021

Hi

Using the Rest API, is it possible to create a new issue and set another user as the reporter ,provided that the "API user" has the correct permission?

2 answers

1 accepted

0 votes
Answer accepted
David Bakkers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 11, 2021

Hello @Peder Alm 

Yes. Refer to the Create issue section of the Jira Cloud REST API documentation. In the examples provided it shows how to set the reporter when creating the issue.

0 votes
Peder Alm
Contributor
November 11, 2021

Thanks that worked. I used the accountId value for a user as the id value during create issue. I also had to enable the reporter field in the create issue view.

David Bakkers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 11, 2021

Yep, that's it exactly!

Suggest an answer

Log in or Sign up to answer