Forums

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

How to use JQL eq and like operator with a custom field

Pradeep Panayal February 5, 2018

 

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?

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events