This is widely spread KPI adoped by many agile teams.
The formula to measure looks like following:
DRE = (A / (A + B) ) * 100
Where A is total defects found in development , B is total defects found in production.
Please find down below recording of the configuration steps that utilize Performance Objectives gadget for JIRA dashboard and its custom metric formula calculation capabilities. The JQL data segmentation below is based on Bugs reported by QA team vs. not reported by QA team instead of reported in Development vs Production environment. The reason is that environment field might be not explicitly filled by reporter on your instance and given KPI configuration might provide more accurate results.