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

2 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,269 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot