Hi,
When I try to import in json issue with worklog (example in documentation):
{
"projects": [
{
"name": "project",
"key": "PJ1",
"created" : "2012-08-30T17:59:02.161+0100",
"issues": [
{
"summary" : "My Example Time Tracking issue",
"externalId": "1",
"originalEstimate": "P1W3D",
"timeSpent": "PT4H",
"estimate": "P2D",
"worklogs": [
{
"author": "abcde-12345-fedcba",
"comment": "Worklog",
"startDate": "P-1D", //can be a Period or DateTime
"timeSpent": "PT1M"
},
{
"author": "abcde-12345-fedcba",
"startDate": "2014-01-14T17:00:00.000+0100",
"timeSpent": "PT3H"
}
]
}
]
}
]
}
I got this error:
Someone can help me ?
Thanks
Hi @lucas.simonin ,
What is the global timing setting set on the instance Settings -> Issues -> Time tracking?
If it's set to hours and but in the json issue it was logged in minutes, this might be the problem.
You may try to fix the field in the issue and try to run the json again.
I hope I helped you.
If this post was helpful, mark it as Accepted solutions, so you can help others who may have the same difficulties.
If your question has not been resolved, please post again with more details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.