Average Time in Status by Priority
Step 1: Add your Data Source.
Step 2: Select Time in Status metric and specify statuses. In our sample we have opt for To Do, In progress and Review. With this metric you can select custom working calendar for your team, if your Jira Admin had configured one.
Step 3: Switch from Sum to Average calculation and leave the default 'Number of issues'.
Step 4: Display by “Priority”
Step 5: Group by “Status (history)
‘Status (history)’ selection will display the metric based on the statuses to which issues were transitioned over the defined period.
Please note tat the Jira system field ‘Status’ would not return correct results in this report because it represents the current (last) status of the filtered issues.
‘Time in status’ metric configuration in details: