Forums

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

API REST - How to get subtask "timeestimate" & "timespent"

Antoine B
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!
January 25, 2023

Hello there,

I need to get for my subtasks the value of "timeestimate" & "timespent" 

I am using API REST. Is it possible?

1 answer

0 votes
Tuncay Senturk _Snapbytes_
Community Champion
January 29, 2023

Hi @Antoine B 

Welcome to the Community!

Have you tried using search REST API with the below JQL

issuekey in childIssuesOf("ABC-123")

and adding URL parameter fields=timetracking&fields=timeestimate ?

 

Here is the sample

rest/api/2/search?jql=issuekey%20in%20childIssuesOf(%22ABC-123%22)&fields=timetracking

The result should include tıme values for each sub-task.

Suggest an answer

Log in or Sign up to answer