Gantt chart with custom sort

In the docs for the gantt chart it says under setting for "Sort Order" that one option is "Custom".  The docs say "Custom — arranges top-level issues according to a custom sort order from a saved search. This option sorts issues according to the custom order set for the first saved search that is specified in the Query setting."

I can't figure out where the "Query" setting is, or how to specify a saved search in it.

Thanks!

3 comments
Comment actions Permalink
Official comment

Hi Chenke - 

 

This should actually refer to the query that is stored in the "Issue filter" setting.

To add a saved search to the issue filter for the report, use the syntax "saved search: {saved search name}" or "#{saved search name}".

Comment actions Permalink

Yea, that's what I thought when I first read the directions, but it doesn't work.  It uses the saved search in the Issue Filter field to actually filter the issues in the Gantt chart, it ignores the Sort By.

0
Comment actions Permalink

If you want to sort the issues on the Gantt chart in custom order, the saved search has to store issues in a custom order. It doesn't work with a saved search that sorts issues by an attribute value. If you want to sort issues by an attribute value, you can select the value form the list for the Sort order setting. 

To apply a custom order to a list of issues, you need to set the saved search as the current search context and reorder the issues manually. Here's a quick demo:

https://imgur.com/a/LfEBcpxhttps://media.giphy.com/media/SUnp8DPHvg5rbvjehT/giphy.gif

For more information about applying a custom order to a saved search, see https://www.jetbrains.com/help/youtrack/standalone/Reorder-Issues-Manually.html 

0

Please sign in to leave a comment.