Scripted Field JQL

Hi,

 

Just wondering with Scripted Fields is it possible to search through JQL, or any specific way of using the values stored in a Scripted Field for JQL functions. As they dont show up when I try to use JQL for those fields.

Thank you.

 

1 answer

1 accepted

This widget could not be displayed.

You need to edit the field and set up a searcher. Also, don't forget to reindex after the searcher is enabled.

Yes - but please make sure the searcher is of a type suitable for your return value. Script fields preview will tell you if you've got it wrong.

my script is returning integer value. and i have set up the value as numeric searcher. But by using issue navigator i am not able to search any value

I was getting the same thing Amar, and I went in and deleted the scripted field and recreated it and reindex directly afterwards.   After that it works; however if the field changes you have to reindex which is not practical for us as the reindex takes quite a bit of time and resources.

Cheers.

you should not have to manually reindex unless you change the field searcher. For a number search you should return a Double.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

292 views 5 0
Join discussion

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