I have a question regarding filtering multiple values in JQL. I have the following JQL
function main() {
return join(
Events({
from_date: '2019-01-01',
to_date: '2019-01-24',
event_selectors:[{event:'event'}]
}),People(),
{
type: 'left',
selectors: [
{
//selector: '(user["Id"] == 100)'
selector: '(user["Id"] in [100,101,102])'
}
]
})
.filter(tuple => tuple.event && tuple.user)
The highlighted code doesn’t work. I can use selector: '(user["Id"] == 100 or user["Id"] == 101 or user["Id"] == 102)' but I have a very long list. Is there a simple way to do it?
Best answer by evanmoss
View original