Unable to update time spent value using api call

kunal April 6, 2023

Hello,
I need to update system field in jira service desk using api with name time spent.
check below image.
1.jpg
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
2.jpg

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.

0 answers

Suggest an answer

Log in or Sign up to answer