Why requestor is null when I call below?
API Route with /tickets?
http://localhost:8080/REST/2.0/tickets?query=(%27Status%27=%27New%27AND%27id%27%3E%273960%27)&fields=Owner,Queue,Requestor&fields[Owner]=Name&fields[Queue]=Name
Return data sample
{
"_url" : "http://localhost:8080/REST/2.0/ticket/3961",
"type" : "ticket",
"Requestor" : "",
"id" : "3961",
"Queue" : {
"id" : "34",
"Name" : "Dev",
"type" : "queue",
"_url" : "http://localhost:8080/REST/2.0/queue/34"
},
"Owner" : {
"_url" : "http://localhost:8080/REST/2.0/user/Nobody",
"type" : "user",
"Name" : "Nobody",
"id" : "Nobody"
}
}
When I call like /ticket/id
http://localhost:8080/REST/2.0/ticket/3000
I can see Requestor
"Status" : "New",
"Subject" : "",
"id" : 3961,
"Created" : "2023-04-22T04:39:00Z",
"Owner" : {
"id" : "Nobody",
"type" : "user",
"_url" : "http://localhost:8080/REST/2.0/user/Nobody"
},
"Requestor" : [
{
"type" : "user",
"_url" : "http://localhost:8080/REST/2.0/user/root",
"id" : "root"
}
],
"InitialPriority" : "0",
"Starts" : "1970-01-01T00:00:00Z",
"LastUpdatedBy" : {
"id" : "root",
"type" : "user",
"_url" : "http://localhost:8080/REST/2.0/user/root"
},
"Started" : "1970-01-01T00:00:00Z",
"LastUpdated" : "2023-04-22T04:39:00Z",
"Type" : "ticket",