Hi All, I’m writing jql query ``` var a= Events({...
# questions
a
Hi All, I’m writing jql query
Copy code
var a= Events({
    from_date: '2022-08-08',
    to_date:   '2022-11-09',
    event_selectors: [
        {event: 'Invoice Digitisation Time', selector: '(not defined (properties["$reason"]))'}
        ]
  }).map(function(event) {
    var pos = event.properties.timeToDigitise;
    return {"pos":pos,"todo":event.properties.todoId,"reason":event.properties.reason,"irnId":event.properties.irnId}
  })
here i want to select only those item whose reason is not set, but the above code doesn’t seems to be working