Where are Reportable REST API queryable fields documented?
I am trying to use the Reportable REST API, but it seems extremely simplistic. I would like to find all open work items assigned to a given Team Area.
I have been using the following reference: https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI
This looks from the documentation like it should work: https://rtdserver.com:9443/jazz/rpt/repository/workitem?fields=workitem/workItem[teamArea/name=%27myTeam%27%20%20and%20projectArea/name=%27ProjectArea%27]/%28id|summary|target/name|state/name%20|creator/name|owner/name|type/name|resolution/name|parent%29
But I get the following error:
I have been using the following reference: https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI
This looks from the documentation like it should work: https://rtdserver.com:9443/jazz/rpt/repository/workitem?fields=workitem/workItem[teamArea/name=%27myTeam%27%20%20and%20projectArea/name=%27ProjectArea%27]/%28id|summary|target/name|state/name%20|creator/name|owner/name|type/name|resolution/name|parent%29
But I get the following error:
HTTP Status 500 - CRRED8022E: Non Queryable Field: teamArea/name
It looks like only certain fields are queryable, but I cannot find which fields are queryable and which are not.
One answer
Hi Donald,
The team area field of a work item is a computed field and not a real field in the database. I would suggest using the Work Item category field instead. Currently we do not have doc that documents which fields are queryable and which are not.
Comments
showing 5 of 8
show 3 more comments