I'm automating JQL query generation for searching any group of Issues based on any field an Issue could have.
I generate the JQL string using the EQUALS ('=') operator. The text fields don't support that operator. For those I have to use CONTAINS ('~'). But the problem is that I don't know the name of the issue fields that support one or other.
Using the JIRA REST API, how can I check or know which issue fields support which operators in an automated way?
How can I know wich issue fields are text fields or not?
PD: I know that I could generate manually an array that contained the issue fields that are text fields. But I want It to be fully automatic. Using the JIRA REST API .