Jira service desk tickets are displayed as roadmap items on the customer facing portal. Any votes & comments are eventually associated with these tickets.
It may be possible that you want to further your automation process by using number of votes/comments. In such scenarios, Roadmap portal lets you access this information via issue properties.
Issue properties
Count of roadmap portal comments can be accessed using the property roadmap_portal_comments. Below is an example of using this property in a JQL.
issue.property[roadmap_portal_comments].count >= 5 order by created DESC
Count of roadmap portal votes can be accessed using the property roadmap_portal_votes. Below is an example of using this property in a JQL.
issuetype = 'feature' order by issue.property[roadmap_portal_votes].count desc
Use cases
Sending an internal notification when number of comments on a roadmap item cross a threshold number.
Moving an item on the roadmap portal from column to the other depending on number of votes.
Creating an issue in a Jira software project when number of votes exceed on a roadmap portal card.