Why searching by custom field's value is not returning all issues it should Edited

Hello everyone

I added an custom text field and I did reindex.  JIRA's version 7.1.2 (server). Then I try search issues when custom field's value ~"334" and I get 4 issues.

 

Project A Issue C
Broject B Issue F
Broject B Issue G
Broject B Issue H

 

But when I did request to database

select j.project, j.issuenum, j.summary, cf.stringvalue from customfieldvalue cf, jiraissue j
where cf.customfield=14402
and cf.issue(+)=j.id and cf.stringvalue='334'

I get 8 issues.

Project A Issue C
Project A Issue D
Project A Issue E
Broject B Issue F
Broject B Issue G
Broject B Issue H
Broject B Issue J
Broject B Issue K

 

Why I can't get 8 issues via jql?

1 answer

1 accepted

I found the reason. I updated customfield's value by using JAVA API and I forget to re-index issue.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

57 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