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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

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