I was trying to filter the issues by a custom field (Data type : Single line) in JIRA plugin, I tried using eq and like function of jqlClauseBuilder. It returns no issues. Following is my code.
CustomField customField = getCustomField("CustomField1");
/* Build the query */
jqlClauseBuilder = jqlClauseBuilder.project("Sample").and().issueType("TASK")
.and().customField(customField.getIdAsLong()).eq("SampleValue");
how can I use eq or like with my custom field?
How can I make use of ~(CONTAINS) in jqlClauseBuilder?