Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I calculate defect density per cycle in JIRA?

I need to calculate defect density in JIRA. Could anyone please help me with process?

2 answers

I'm using some back end queries which is more complex. But if this is feasible suing script runner plugin, please try it. 

Normally you can use following calculation for defect density

defect density = (No of defects count) / (No of CR count)

Using this you can have defect density for each project or version/release.

0 votes
Mahesh S Rising Star Mar 22, 2018

If you have script runner plugin, you can use a scripted field for this. You need to write a JQL based on the filter conditions of cyclle time, status/resolution of issues, parse it and calculate the result. You can also display the result on the master ticket (Epic/Story).

Can you share the Query too

Hi Mahesh,

Can you share the query/script.


Thank you

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

5,012 views 18 31
Read article

Atlassian Community Events