Hello everyone,
I’m trying to calculate Jira time in status across specific status groups and store the total duration in a custom field.
I created a field to capture how long an issue stays in selected statuses. I attempted to use multiple automation rules, but the results weren’t reliable, and the setup became overly complicated. Now I’m considering using ScriptRunner, but I’m not sure how to approach it correctly.
Ultimately, I need to aggregate Jira time in status across several issues and roll it up to the epic or initiative level as a sum of all related tasks and subtasks.
Has anyone implemented something similar? I’d really appreciate your advice.