"Fixed Issues" Metric Shows "Not Available" Symbol for All PRs in One Project

Hey @kerrhome ,

Sorry, busy week, and Anita is off today. We’ll come back to you ASAP, probably beginning of next week.

1 Like

Hi @kerrhome

Sorry for the late reply.

I found out that the ‘Fixed issues’ metric will be calculated only when the target branch analysis snapshot exists in the database.

Could it be that your snapshots table is cleaned periodically? You mentioned that for this specific repository the main branch analysis happens only once per day, and for the other repos that behave correctly, the analysis is performed after each commit, hence the PR analysis happens closer to the main branch analysis. If the snapshots are cleaned, then it could explain the behaviour.

Anita

We don’t explicitly clean anything in SQ. We use the default configuration. If you want me to check, can you please point me to how this is done?

Hi @kerrhome

The docs on housekeeping are here.

What’s your configuration there? Is your main branch protected?