Sorting a field with emojis

Yiling Baldez
Contributor
October 7, 2024

We have a JPD field using emojis as the value. It's a quick way for people to vote. It appears the sort function for that field just sorts if there's an emoji or not vs sorting by total emoji count (eg. highest or lowest # of emoji count in order asc or desc).

Has anyone else encountered this and has a workaround? If not, would love for this ask to get on the backlog. It would help us easily see which issues are getting the most reactions. Thanks!

2 answers

1 accepted

2 votes
Answer accepted
Tanguy Crusson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 8, 2024

Hi @Yiling Baldez , you're right, it's an oversight (currently it looks like it's sorting based on the number of distinct emojis, vs the number of reactions). 

We'll fix that! Thanks for reporting this. 

Tanguy Crusson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 8, 2024

By the way, let's say someone uses 10 emojis to vote - would you still like to sort by the number of reactions, or by the distinct number of different people who reacted?

Hmm, actually, it's kind of a rethorical question since the only one we can implement easily is the former (number of reactions). But people can still rig the game 🙂 It should be somewhat visible if they do that though.

Yiling Baldez
Contributor
October 8, 2024

Great question! For current use case, sum of total reactions works. Sorting by individual emoji can get gnarly. And because of that, we're also asking teams to limit emoji's to 1 or 2 kinds.

Like Tanguy Crusson likes this
0 votes
Jim Knepley - ReleaseTEAM
Atlassian Partner
October 7, 2024

Custom sort orders, such as sorting based on field length, don't seem to be possible.

If it's OK for you to do it outside of the Jira UI, use the search REST API and sort the response any way you like. It might be easy enough to use Jupyter and Pandas.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events