I am trying to use '/rest/api/2/field' Rest API to get list of all fields that I can use to form jql. I can see for one of the field, searchable tag is set to true , even if that field is not searchable through Jira UI.
Is this really a bug in above rest api?
Any suggestions, what is the appropriate API I should use to perform jql. I am more inclined in using this API as this one gives Display Name of the fields as well that I would need to display on my UI.