Forums

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

Can you sort so issues assigned to the current user appear first?

cloud-operations May 24, 2018

I want to show users everything matching a certain criteria, but with their assigned issues first.

i.e. if JQL was SQL it would be something like:

... order by (when assignee = currentUser() then 1 else 0 end)

I looked at using a scripted JQL function with ScriptRunner, but they can't be used for ordering.

A custom field doesn't work for external dependencies like current user.

2 answers

1 vote
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 24, 2018

I do not think it is possible.

0 votes
Tarun Sapra
Community Champion
May 24, 2018

Hello @cloud-operations

As @Alexey Matveev has already shared that it's not supported out of the box.  Since, you have Script Runner plugin installed then you can explore option like writing a custom JQL function for your requirement. 

cloud-operations May 24, 2018

JQL functions can't be used in sorting

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events