Forums

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

Importing Worklog Author

Alex Chunilal
Contributor
June 19, 2020
I am importing worklogs via the JSON import using the below format as an example. However, no mater what I put in the author section, it always imports as anonymous. I have tried the user name and I have tried the email address, both give the same issue. Whats the correct thing to put 

"worklogs"
: [ { "author": "abcde-12345-fedcba", "comment": "Worklog", "startDate": "2012-08-31T17:59:02.161+0100", "timeSpent": "PT1M" }, { "author": "abcde-12345-fedcba", "startDate": "2012-08-31T17:59:02.161+0100", "timeSpent": "PT3H" } ]

 

Thanks In advance

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Champion
June 19, 2020

Hello Ales,

I would expect that the user login should work. Are you specifying users that connect to  valid/licensed users in your system who have appropriate permissions to log time against the issue?

Alex Chunilal
Contributor
June 19, 2020

I tried the user name and email address. The user is actualy an administrator in jira and  can enter the worklogs manually

Alex Chunilal
Contributor
June 22, 2020

Hi Trudy,

 

I got it to work by making the author, the unique ID for the user. I got the Unique ID from the URL when I go into the profile for the user

Suggest an answer

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

Atlassian Community Events