Reputation: 740
I have added a custom issue type called 'Customer problem' in my JIRA installation. When I do a JQL query on a list like this:
project = MYPROJECT ORDER BY issuetype ASC
The resulting list shows the 'bug' issue type on top, after that my Customer problems and then the rest.
How can I prioritize my own custom issue type over the standard bug issue type?
Upvotes: 1
Views: 4417
Reputation: 740
It seems like this solved my own question:
Go to Administration -> Issues -> Issue Type Schemes and click edit. There you'll get a screen which enables you to do exactly what is intended here:
The proper JQL-query to get the required result is now the one in the question.
Upvotes: 0
Reputation: 61
I think the following happens: ORDER BY x ASC does order alphabetical. The issuetype "bug" is probably alphabetically in front of your custom issuetype.
A solution with this searchterm could be renamming your custom type to a name with "a_oldname". That brings the name to the front... Not exactly elegant but a workaround.
You could also exclude bugs from the search results:
project = MYPROJECT AND issuetype NOT " bug" ORDER BY issuetype ASC
Alternatively we could try creating a search term that will order things differently... But on a mobile device I currently can't test my thoughts on that...
Upvotes: 0