Currently, we are using the jira-agile-metrics library from python to get all the list of tickets and their time on that particular status as a JSON file. We are having a yaml file to configure those status workflows. But the data I get from jira is incorrect for certain scenarios like if there is a status change from captured to in progress and it changed to captured and then after it changed to in progress. in that situation, it detects only the first status change.
How I can detect all the status changes using the jira-agile-metrics library.
Are there any libraries that can do this?