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?

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
Community showcase
Published in Jira

Managing Incidents - The roof is on FIRE!

The roof is on FIRE… network outages, broken processes, upset clients and employees. Each day seemed to bring more and more issues. Incidents were communicated via email, messengers (skype or teams) ...

121 views 0 1
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