Hopefully someone can help me out here because I have officially hit a wall. I am trying to figure out how to query the number of times each defect, there are over 1,000 of them, was reopened over the lifetime of the project. This would just be a bare bones report relating the Defect ID and the count of the times it was reopened.
I'm looking to do this in an excel report and know that I need to utilized the Audit_Log and Audit_Properites tables, but I just can't figure out the sql query due to me being new to SQL Server. Can someone post an sql query that would accomplish this. If so, I would be very grateful.