The first thing to check is meta.v1:
<Server Base URI>/meta.v1/Scope?xsl=api.xsl
The results tells me the Status
and Priority
attributes are relationships. That means you would have to look them up in a follow-on query to get a meaningful value. You are probably better off using a projection so you can get a text value. You probably want Status.Name
and Priority.Name
instead.
Although it does not affect the query itself, you have used the variable name scopes
. Maybe you want to call the variable stories
instead.