Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Set reporter to non user via API

Steven Lloyd November 10, 2023

Is there a way to set reporter to a non user so that users without a Jira account can enter an issue?  I know I can set reporter using reporter accountId but can I specify a reporter by email address if they do not have an account?

If not, how do you keep track of who entered an issue if they do not have an account?

 

 

2 answers

1 accepted

1 vote
Answer accepted
Rudy Holtkamp
Community Champion
November 10, 2023

In that case, you can't. Either a reporter is anonymous or someone with a Jira account.

Sounds to me you want to use Jira Service Management capabilities. Here you can setup an email address and let people send emails to create an issue (request). Users will become customers (their email address will be recorded in Jira), but not use a Jira license. 

Steven Lloyd November 10, 2023

Thanks.  What field is the email address recorded in?  I want to be able to see who is reporting stuff that is not a Jira user.

0 votes
Rudy Holtkamp
Community Champion
November 10, 2023

Hi @Steven Lloyd ,

Welcome to the community.

You should use a PUT with:

https://<your site>.atlassian.net/rest/api/latest/issue/<your issue key>

With headers:

Authorization: Basic <your api key>
Content-Type: application/json
Body:
{
"fields":{
"reporter":{"id": null}
}
}

That should do it.

 

Kind regards,

Rudy

Steven Lloyd November 10, 2023

I want to set the reporter, not the assignee.   If there is not a user account, how can I record information about a non user - email, name, etc. ?

Rudy Holtkamp
Community Champion
November 10, 2023

My bad, just change assignee to reporter. Then you get this:

image.png

I'll update my original post.

Steven Lloyd November 10, 2023

I do not want it set it to anonymous, I want a way to record the email and name of a NON user.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events