# Summary
I'm having issues querying tasks that match a custom field... But, the query returns all tasks, instead of only those that match.
### My custom field
``` lang=json
{
"trac-url": {
"name": "Trac Ticket",
"type": "link",
"caption": "Linked Trac Ticket",
"required": false,
"search": true
}
}
```
# Query
In conduit, I call `maniphest.search` with this
``` lang=json
{
"custom.trac-url": [
"https://mysite.com/project/ticket/1"
]
}
```
# Response
And this is the response I get (I removed a bunch of fields that aren't relevant to this post)
``` lang=json
{
"id": 3,
"type": "TASK",
"phid": "PHID-TASK-epbpnuvd3zxu7vwyqhm2",
"fields": {
"custom.trac-url": null
},
"attachments": {}
},
{
"id": 2,
"type": "TASK",
"phid": "PHID-TASK-esxvhsvxvakkoxs3bt24",
"fields": {
"custom.trac-url": "https://mysite.com/project/ticket/1"
},
"attachments": {}
},
{
"id": 1,
"type": "TASK",
"phid": "PHID-TASK-alt64cexbe5grodf4cvv",
"fields": {
"custom.trac-url": null
},
"attachments": {}
}
],
"maps": {},
"query": {
"queryKey": null
},
"cursor": {
"limit": 100,
"after": null,
"before": null,
"order": null
}
}
```
It looks to me like Task 1 and 3 should be excluded from the result. Unless of course, I'm missing something...