Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: /portfolioitem/feature: 200! body=undefined #37

Closed
fvpneukirchen opened this issue Feb 5, 2018 · 0 comments
Closed

Error: /portfolioitem/feature: 200! body=undefined #37

fvpneukirchen opened this issue Feb 5, 2018 · 0 comments

Comments

@fvpneukirchen
Copy link

fvpneukirchen commented Feb 5, 2018

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant