This question is locked. New answers and comments are not allowed.
I created a Feature and wanted to get all stories which are related to this Feature. But I can't get them. I used the RestAPI and the .Net API (which calls the RESTAPI).
My result for workitems (http://localhost:9898/api/v1/workitems) Looks like this:
{"totalResults":3,"top":100,"skip":0,"results":[{"id":4,"type":"Story","projectId":1,"fields":{"AreaID":1,"TeamID":null,"AssignedToID":null,"BacklogPriority":20521207480038.0,"Certainty":null,"Complexity":null,"Description":"","Estimate":2.0,"IterationID":1,"Maturity":null,"Name":"Story2","Priority":null,"PriorityClass":null,"Status":"Not Done","ValueClass":null,"Tags":[],"TfsID":null},"createdBy":"admin","createdAt":"2015-02-10T12:07:48.043Z","lastModifiedBy":"admin","lastModifiedAt":"2015-02-10T12:13:55.747Z"},{"id":3,"type":"Story","projectId":1,"fields":{"AreaID":1,"TeamID":null,"AssignedToID":null,"BacklogPriority":20411520232044.0,"Certainty":null,"Complexity":null,"Description":"","Estimate":3.0,"IterationID":1,"Maturity":null,"Name":"Story1","Priority":null,"PriorityClass":null,"Status":"Not Done","ValueClass":null,"Tags":[],"TfsID":null},"createdBy":"admin","createdAt":"2015-01-30T15:20:23.123Z","lastModifiedBy":"admin","lastModifiedAt":"2015-02-10T12:13:50.41Z"},{"id":2,"type":"Feature","projectId":1,"fields":{"AreaID":1,"TeamID":null,"AssignedToID":null,"BacklogPriority":20411520080574.0,"Description":"","Estimate":null,"IterationID":1,"Name":"Feature1","PriorityClass":null,"Status":"Not Done","Tags":[],"TfsID":null},"createdBy":"admin","createdAt":"2015-01-30T15:20:08.33Z","lastModifiedBy":"admin","lastModifiedAt":"2015-01-30T15:20:08.33Z"}]}
But my results for links (http://localhost:9898/api/v1/links) Looks like this: {"totalResults":0,"top":0,"results":[]}
What am I doing wrong?
My result for workitems (http://localhost:9898/api/v1/workitems) Looks like this:
{"totalResults":3,"top":100,"skip":0,"results":[{"id":4,"type":"Story","projectId":1,"fields":{"AreaID":1,"TeamID":null,"AssignedToID":null,"BacklogPriority":20521207480038.0,"Certainty":null,"Complexity":null,"Description":"","Estimate":2.0,"IterationID":1,"Maturity":null,"Name":"Story2","Priority":null,"PriorityClass":null,"Status":"Not Done","ValueClass":null,"Tags":[],"TfsID":null},"createdBy":"admin","createdAt":"2015-02-10T12:07:48.043Z","lastModifiedBy":"admin","lastModifiedAt":"2015-02-10T12:13:55.747Z"},{"id":3,"type":"Story","projectId":1,"fields":{"AreaID":1,"TeamID":null,"AssignedToID":null,"BacklogPriority":20411520232044.0,"Certainty":null,"Complexity":null,"Description":"","Estimate":3.0,"IterationID":1,"Maturity":null,"Name":"Story1","Priority":null,"PriorityClass":null,"Status":"Not Done","ValueClass":null,"Tags":[],"TfsID":null},"createdBy":"admin","createdAt":"2015-01-30T15:20:23.123Z","lastModifiedBy":"admin","lastModifiedAt":"2015-02-10T12:13:50.41Z"},{"id":2,"type":"Feature","projectId":1,"fields":{"AreaID":1,"TeamID":null,"AssignedToID":null,"BacklogPriority":20411520080574.0,"Description":"","Estimate":null,"IterationID":1,"Name":"Feature1","PriorityClass":null,"Status":"Not Done","Tags":[],"TfsID":null},"createdBy":"admin","createdAt":"2015-01-30T15:20:08.33Z","lastModifiedBy":"admin","lastModifiedAt":"2015-01-30T15:20:08.33Z"}]}
But my results for links (http://localhost:9898/api/v1/links) Looks like this: {"totalResults":0,"top":0,"results":[]}
What am I doing wrong?