Skip to content

Instantly share code, notes, and snippets.

@joncooper
Created November 16, 2011 19:37
Show Gist options
  • Select an option

  • Save joncooper/1371094 to your computer and use it in GitHub Desktop.

Select an option

Save joncooper/1371094 to your computer and use it in GitHub Desktop.
lorem-tracker.rb
PivotalTracker::Client.token = API_TOKEN
@tracker_project = PivotalTracker::Project.find(PROJECT_ID)
fake_story = {
:name => 'This is a story title.',
:story_type => 'feature',
:current_state => 'unstarted',
:labels => ['label1', 'label2'],
:description => 'This is the story description. Blah blah blah.',
:estimate => 1
}
@tracker_project.stories.create(fake_story)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment