Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can scriptrunner custom JQL create new order by?

arama mihai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 16, 2018

Hello,

Although I never used this, I know that scriptrunner has the option to create custom JQL functions.

Does this mean it also allows the creation of a new Order BY function?

I would like to have an option to order issues by hierarchy. Example: project =abc order by customhierarchy desc

The result should be a list where all issues are ordered from the highest members in the hierarchy, to the lowest: Program Epics, then Epics, then Stories, then Sub-Tasks.

I know that this can be achieved by the Structure add-on, but I need something to arrange issues like this in JQL.

If it is possible, do you also have an example of the code?

Thank you!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events