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.