Forums

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

Search on issue navigator a email address domain.

Danilo Ferrari February 1, 2018

Hi,

 

I need to do a search on issue navigator a email address domain.

 

I used a scripted field to perform this search with the code  return issue.reporter.emailAddress.split("@")[1];”.  The preview issue Key brings me that information correctly:

 

 

 Scripted - Field.png

When i opened the issue AT-14629 on Jira with the scripted field on the screen,  the domain information is there:

  Scripted field on the issue.png

 

But when i try to search on issue navigator, the search not brings any issue using the (~) operator. (E.g. “email  criador” ~ “ritmolog.com.br”):

 

 Scripted field doesn't worked.png

 

If i take off the domain that i want, it works.

 

Can you help me?

 

Regards

1 answer

1 accepted

0 votes
Answer accepted
Alexey Matveev
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.
February 1, 2018

Kindly make sure that you chose a search template for the field. It is done in Issues->Custom Fields then find your field and click edit.

Danilo Ferrari February 1, 2018

Thanks for your quick reply @ Alexey Matveev.

 

I checked that the template search was: "Search for text without character restriction".

Danilo Ferrari February 1, 2018

I got it, the jira needed to be reindexed.

Thank you

Suggest an answer

Log in or Sign up to answer