It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can scriptrunner custom JQL create new order by?

arama mihai Mar 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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Webinar alert! An IT Admin's Guide to Securing Collaboration at Scale

Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...

186 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you