How to update system field in jira

I need to update system field in jira service desk using api with name time spent.
check below image.

i am using end point as : “https://jira-sdesk-*/sdesk/rest/api/latest/issue/E1CLARITY-103816”
and in body passing flollowing json
“{”“fields”“: {”“log-work-time-logged”" : ““1h””}}"
Method : PUT

but i am getting below error in UiPath:
“message”: “{"errorMessages":,"errors":{"log-work-time-logged":"Field ‘log-work-time-logged’ cannot be set. It is not on the appropriate screen, or unknown."}}”,

when i tried to update custom field using same configuration then i am able to update.

Please help me to resolve above issue.


Is it possible that the fieldname is timeLogged instead of log-work-time-logged? Not familiar firsthand with the Jira API but that’s the first thing that jumped out at me