https://confluence.atlassian.com/jirakb/how-to-use-average-time-in-status-gadget-776998092.html might be worth a look as well as that there are commercial plugins available on the marketplace like https://marketplace.atlassian.com/apps/1211756/time-in-status?hosting=cloud&tab=overview
if you have access to the database you could use the queries shared within
Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their Jira Cloud instance. ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events