You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have several Types of custom fields:
Select List (multiple choices)
Labels
I am trying to view all issues in my Projects and organize them by how many values are present in these custom fields.
The Select List values are more important than the labels.
I am trying to view the lists with this logic:
View all issues in a project with the most values in Select List, then the most values in Label, so an issue with 5 values in the Select List would appear higher than one with 4, etc.
Is this possible with JQL?
Maybe with an add-on?
Is there another way to accomplish this, perhaps with reporting?
Hi @bradley interesting question.
my suggestion/workaround is to make a filter on all issues where the custom field is NOT EMPTY, then add that custom field to the search result columns, export it to csv, import it to Excel/Spreadsheets, do a csv conversion into columns and count the number of values (taking the separator into account) via a function.
I do acknowledge this is not very efficient, but I wouldn't know of another solution right now.
Thank you.
This was what I was actually trying to avoid, but it looks like I might not be able to.
I'm probably leaning towards a 3rd party tool, or potentially using a Google Sheets integration and trying to use a function to sort imported issues.
Lots of experimentation ahead!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Directly in JQL is not possible natively, but you could create an automation that will populate a customfield (you will need to create one) to count the number of value in the select list
Take a look at this thread
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you.
The OP in that discussion is actually trying to do exactly what I am with the same type of custom field. I'll check out the solution.
Sad to see that they asked the question in 2019 and Atlassian hasn't added any way to sort on either simply having a value, or matching a value in the field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Advanced search reference – JQL fields | Jira Work Management Cloud | Atlassian Support
Here's an article about using JQL & Custom Fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you.
I did read this top to bottom and am really surprised by the lack of function when it comes to custom fields and types that have supported functions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.