Sorting scripted field


I'm using "Total time this issue has been In Progress" scripted field but i have a problem with sorting search results within jira.

It doesn't matter whether it is used as text, number or duration.
It is possible to sort it once it's already exported, but it would be nice to have a nice view on outstanding tickets without that.

1 answer

1 accepted

0 votes
Accepted answer

Are you using the correct searcher? On the Scripted Fields page, change the Template to "Duration". Then go to Admin -> Custom Fields -> (your field) -> Configure.

Change the searcher to "Duration Searcher."

Screen Shot 2017-08-22 at 11.27.54 AM.png

You may need to reindex after that.

Sigh... i was looking for that in the script field configuration in the addon section. i figured that maybe this feature was removed.

Even though, to be precise it's in the edit menu not configure :)


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

468 views 8 27
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you