You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
restApi.query({
type: 'portfolioitem/feature', //the type to query
limit: Infinity,
//order: 'Rank', //how to sort the results
fetch: ['FormattedID', 'Project', 'Release', 'State', 'Milestones', 'PreliminaryEstimate', 'RefinedEstimate'], //the fields to retrieve
query: ...,
scope: {
project: '/workspace/...', //specify to query a specific project
up: true, //true to include parent project results, false otherwise
down: true //true to include child project results, false otherwise
},
requestOptions: {} //optional additional options to pass through to request
})
then and catch are also omitted, the error that i receive is: Error: /portfolioitem/feature: 200! body=undefined which occurs in the request.js file from the rally dist folder
Any ideas what is going on?
Just a typo...The scope isn't anymore a project, but a workspace...
The text was updated successfully, but these errors were encountered:
I have a REST Service that will retrieve some features for a given query (which is omitted here..)
I have the following code, (which runs fine for other similar search scenarios).
const rallyOptions = require('../config/config.json').rally.options;
const restApi = rally(rallyOptions);
restApi.query({
type: 'portfolioitem/feature', //the type to query
limit: Infinity,
//order: 'Rank', //how to sort the results
fetch: ['FormattedID', 'Project', 'Release', 'State', 'Milestones', 'PreliminaryEstimate', 'RefinedEstimate'], //the fields to retrieve
query: ...,
scope: {
project: '/workspace/...', //specify to query a specific project
up: true, //true to include parent project results, false otherwise
down: true //true to include child project results, false otherwise
},
requestOptions: {} //optional additional options to pass through to request
})
then and catch are also omitted, the error that i receive is: Error: /portfolioitem/feature: 200! body=undefined which occurs in the request.js file from the rally dist folder
Any ideas what is going on?
Just a typo...The scope isn't anymore a project, but a workspace...
The text was updated successfully, but these errors were encountered: