Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Sort Issue with Scripted field not working

Xavier
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 26, 2018

Hi all,

I create a simple scripted field with this code:

return issue.getPriorityObject().getId().toString().padLeft(3, '0')

 

Now, I would like to search issue and order them by my created script

Whatever the template format (text field, number...), the sort is not do by my scripted field.

Is there another way to use a script field on Search Issue ?

 

or is it possible to simply access a field property on search textbox ? (like priority.Id...)

 

thanks in advance.
regards,

1 answer

1 accepted

1 vote
Answer accepted
Xavier
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 28, 2018

After a reindex, the sort works....

Suggest an answer

Log in or Sign up to answer