Based on the data analyzed so far, i see that Jira uses below formula to calculate "Progress" of the issue
Progress = Time Spent/Original Estimate.
The issue that i see in the data is:
1. If issue Status Category is Done, however, Time Spent is less that Original Estimate, the Progress does not show 100%
2. If Time spent is greater than original estimate, the progress is shown as 100% even though the issueCategoryStatus is To Do or In Progress.
What is the guidelines to calculate right progress% in these cases?