Forums

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

Is an issue's timeSpent field editable?

Gabriel
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!
February 22, 2018

It looks like I can't edit the timeSpent field in the issue object, neither via create issue or edit issue (https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/?_ga=2.80820181.351714748.1519344052-55782724.1518460860#api/2/issue-editIssue) endpoint. Is there some other endpoint to do this, or is it strictly the summation of timeSpent of associated worklogs?

1 answer

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 22, 2018

It is the summation of associated worklogs. So, you will have to use the "Add worklog" API.

POST /rest/api/2/issue/{issueIdOrKey}/worklog

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events