Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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
TAGS
Community showcase
Published in Apps & Integrations

How we use Jira Service Management for our recruitment process! - Part 2

It is never about setting up a process and being done with it. Rather, the focus should always be on optimizing it for the best outcomes. Thus, we didn’t stop at setting up JSM for our recruitment pr...

186 views 0 5
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