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

Iteration.current(@proj).stories #93

Open
kleetus opened this issue Feb 25, 2014 · 4 comments
Open

Iteration.current(@proj).stories #93

kleetus opened this issue Feb 25, 2014 · 4 comments

Comments

@kleetus
Copy link

kleetus commented Feb 25, 2014

This returns no stories when stories exist.

Before I get into debugging the gem for this, is this gem still being maintained?

@jasonnoble
Copy link
Collaborator

Hi Chris! Yes, this project is being maintained.

@kleetus
Copy link
Author

kleetus commented Feb 25, 2014

Thanks Jason, getting the current iteration stories this way:

Iteration.current(@Proj).stories

where @Proj is a valid PivotalTracker::Project worked for months and now I can't gather any stories this way. I can use @Proj to find an individual story. Is there an easy way to see the URL that the gem is using to get the current stories?

@jasonnoble
Copy link
Collaborator

I use a proxy software like Charles (http://www.charlesproxy.com/), then force all my network connections through there.

I did the following to debug:

irb
>> require 'pivotal-tracker'
>> PivotalTracker::Client.token = '23456789034567890abcedeaf'
>> @project = PivotalTracker::Project.find(456789)
>> PivotalTracker::Iteration.current(@project).stories

For me, it is returning stories. Do any of the other Iteration methods work? Try start and finish. Full docs: https://github.com/jsmestad/pivotal-tracker/blob/master/lib/pivotal-tracker/iteration.rb

@kleetus
Copy link
Author

kleetus commented Feb 25, 2014

Jason: the issue is related to the data structure returned -OR- how the response is parsed (HappyMapper or libxml). The api seems to be returning good data when trying the connection via curl. I am still tracking this down, but I will let you know what I find. Chances are, its my mistake, but I will certainly send a PR if I find otherwise.

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

2 participants