Need help figuring out time spent in ‘In Progress’ status
I’m working with Jira Data Center and trying to find out how long tasks stay in the ‘In Progress’ status. I don’t care about hours or minutes, just the number of days.
I’ve worked on similar Jira reporting tasks before, and here’s a tip that might help: consider edge cases. What if a task is currently in ‘In Progress’? Or if it’s been in that status multiple times?
Here’s a tweak to your script that accounts for these:
I’ve encountered this issue before. Here’s a potential solution:
You’re on the right track with the change history. To calculate days, you’ll need to pair the status changes and use their timestamps. Something like this: