Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sort by "Watched" / "Not Watched" for items of equal Priority?

Edited

Current search query:

( assignee = currentUser() OR watcher=currentUser() ) 
AND
resolution = Unresolved
ORDER BY priority DESC, updatedDate DESC

For items of the same priority, I want the items where I'm the Assignee to appear above items where I'm a Watcher.

So something like this as the second condition in the "ORDER BY" clause.  ORDER BY would need to allow sorting on integer values:

If ( assignee = currentUser() ) {
  If ( watcher = currentUser() ) { return 1 } Else { return 2 }
} Else { return 3 }

 

2 answers

0 votes
John Funk Community Leader Jan 03, 2022

Hi @pauthompson_caci  - Did you ever get this solved? 

0 votes

@pauthompson_caci, you cannot do that. One option might be to create two separate filters, one returns issues where you are the assignee and one returns issues where you are a watcher. you could then place both filters onto a dashboard so you can see both sets but know which ones you are the assignee on and which ones you are the watcher on.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you