This report is called Issues by priority, and on this report we are classifying and displaying all issues by their priorities, an issue can have a priority of High, Medium, Highest, Lowest..etc. So first we fetch all issues and then structure them by their priority field, basically create a dictionary.
The report also shows the total number of issues in a specific priority along with the percentage, we are calculating their percentage by dividing total number of issues that has a certain priority field to the total number of issues and multiplying it by 100. This Text is also clickable and will redirect the user to all issues that are set to this priority