I am getting error for the below code
def sqlQueryREC="""select jiraissue.id
from jiraissue WITH (NOLOCK)
inner join project WITH (NOLOCK)
on jiraissue.project = project.id
inner join issuestatus ji WITH (NOLOCK)
on jiraissue.issuestatus=ji.id
where project.pkey = 'SWDEV'
and jiraissue.issuetype in (select id from issuetype where pname in('Defect')""";
groovy.lang.MissingMethodException: No signature of method: java.lang.String.positive() is applicable for argument types: () values: [] Possible solutions: notify(), size(), size(), tokenize()