I was playing around with the stat.damageTaken objective, and I started thinking how it worked (with one hit from a spider it increased with 20). I thought "maybe it checks for how long I'm in a spot in which I can take damage", so I checked it with lava and fire resistance.
How to recreate:
I used /setblock to create a floating lava source block. I gave myself fire resistance, and walked into the lava. I had the stat.damageTaken objective on my sidebar.
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.
Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.