You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, I want to ORDER BY resolution DESC, rank but I can't do it with --order-by. If I pass ORDER BY to --jql, it doesn't work because the cli is always passing its own ORDER BY. So if there is a functionality to stop automatic passing of ORDER BY, it will allow the users to pass their own order in the jql string.
I can see a few ways to implement this:
Add --no-order or --skip-order
Add --order-by 'somevalue' which will skip sorting. somevalue can be null, nil, empty or something else
If ORDER BY is present in the jql string, the cli should not pass its own ORDER BY
Thanks!
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For example, I want to
ORDER BY resolution DESC, rank
but I can't do it with--order-by
. If I passORDER BY
to--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-order
or--skip-order
--order-by 'somevalue'
which will skip sorting.somevalue
can benull
,nil
,empty
or something elseORDER BY
is present in the jql string, the cli should not pass its ownORDER BY
Thanks!
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