Forums

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

Sorintg based on currentUser()

Tomek Massalski
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!
January 14, 2020

Hello everyone,

Our team wants to base the order in queue on beeing a assignee. Tickets, I am assignee, should be before rest of tickets in my context of queue. It's a second level priority, so solution with two queues is not suitable.

I am looking for a solution analogous to

ORDER BY (assignee=currentUser())

which is  unacceptable in jql.

I've checked solution based on using scripted field (Power Custom Fields) and I've seted order on it. There is problem with indexing, I suppose, and the order is not rearranged after the change in ticket is made by another user.

Is it possible to solve this problem?

1 answer

0 votes
Jack Nolddor _Sweet Bananas_
Atlassian Partner
January 14, 2020

Hi Tomek,

Sadly that's not possible. What most of the teams do is to create a second queue that refine the first one using the  symbol first and then the desired name and sorting this queue below the parent one. That's is:

 

L2 Team

Assigned to me

L2 Team queue can have a JQL like this for example:

type = task and labels = l2-team


While Assigned to me queue should be the same as above plus the assignee=currentUser() sentence... like this:

type = task and labels = l2-team and assignee = currentUser()

 

 

Hope this helps,
Regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events