Forums

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

Get transitions for all tasks in project

Cheyenne Lawrence
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!
December 12, 2022

Would somebody be able to assist in helping lead me to getting a list of all tasks/sub-tasks in a project and their transition history?  I am trying to track the status of each task/sub-task from To Do to Done.  I am trying to use the REST API to import the data into Power BI, but I am running into issues.

1 answer

0 votes
Sunny Ape
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.
December 13, 2022

Hello @Cheyenne Lawrence 

The REST APIs of Jira Server can't do all that 'in one go'... you'll have to break it down into steps.

1. Get all the tasks in the project. This will contain the information as to which tasks have sub-tasks (children) and the ids of those sub-tasks

2. For every task that has a sub-task, get the worklog of each sub-task and parse it to find whenever the status of that sub-task changed from To Do to Done.

Suggest an answer

Log in or Sign up to answer