Replies: 1 comment
-
|
Alternatively, we could also allow users to provide a finer-grained control of the ordering via the existing ...in fact, this is already kind of supported...in a very janky way. I'm guessing that the argument to the So, you can actually specify arbitrarily complex For example, this works: (note that the final This is a weird workaround. It would be nice if this were supported in a better way. I think the best way would probably be to either recognize if the final "word" was |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For example, I want to
ORDER BY resolution DESC, rankbut I can't do it with--order-by. If I passORDER BYto--jql, it doesn't work because the cli is always passing its ownORDER BY. So if there is a functionality to stop automatic passing ofORDER BY, it will allow the users to pass their own order in the jql string.I can see a few ways to implement this:
--no-orderor--skip-order--order-by 'somevalue'which will skip sorting.somevaluecan benull,nil,emptyor something elseORDER BYis present in the jql string, the cli should not pass its ownORDER BYThanks!
Edit: Actually, for my specific case, I was able to do it with
--order-by 'resolution DESC,rank' --reverse. Although this functionality can still be useful for other queries/scenarios, so leaving this discussion open for now.Beta Was this translation helpful? Give feedback.
All reactions