Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sorting with label values

Anıl_Civelek
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 11, 2020

Hi there,

As far as i know, it is currently not possible to ascend and descend the issues according to their label values in a sprint.

Is it possible to gather attraction from other users to develop such feature in a sprint?

Thank you,

1 answer

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 20, 2020

Hi,

If I understand your request, you want to be able to sort issues on a Jira Software board based on the labels values.  This might actually be possible to do today natively in Jira Software, but there is a catch or two here that you should be aware of.

First off, you could create a JQL filter such as

labels is not empty order by labels asc

This will return all issues in Jira that have at least one value for labels, and sort them ascending.  There might a few problems with doing this:

  1. Since labels is an array value, Jira seems to be picking the highest or lowest label on each issue. Since issues can have multiple labels, this might not be the desired outcome.  Not sure if this is how you expect it to work or not
  2. You could then edit your existing board OR create a new board with this JQL query as the boards filter.   This would let you sort the issues in that manner, but when you do that, you can't change the Rank of issues on that board.  Just something to be aware of if setting rank is important to you here.

This is kind of a tricky request.  Since labels are an array, there are multiple values that in theory could be selected from.  How to best sort the issues results based on the potential multiple values for that field?  I'm not sure I have the answer here, just something I think will need to be considered.  It might be better to select a different custom field type in Jira to sort by instead.

I hope this helps.

Andy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events