Forums

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

how to set reporter username for JSON issues import

Andrew Watkins (PFR)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 5, 2020

I am testing a script for importing issues from Github into Jira.  I have generated a JSON file that works correctly via JSON File Import, All 500+ issues are created along with the comments, labels and other details.

However, I cannot get the reporter and comment.author fields to match up with people defined in the Jira project.  We have our Jira Cloud linked to our in house Active Directory and staff are using single sign on.

I get errors like this

Import completed with 10 warnings:

  • Commenter named hrpelg not found. Creating issue with currently logged in user instead

I've tested with the person's username, email address and full name as shown in Jira. I get the same error each time and all the tickets and comments are created using my identity.

What 'name' value is expected for reporter and if it is an Atlassian ID how do I find out the id from someone's email or name?

 

Thanks

 

1 answer

1 accepted

1 vote
Answer accepted
Andrew Watkins (PFR)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 5, 2020

Found this myself.  the reporter name is the person's email address without the domain.

e.g.  john.doe@example.com -> reporter: "john.doe"

Suggest an answer

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

Atlassian Community Events