Created
April 28, 2011 15:56
-
-
Save nerdEd/946624 to your computer and use it in GitHub Desktop.
Change 'requested by' value for all stories in a project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'pivotal-tracker' | |
PivotalTracker::Client.token = 'lkjlkjlkj' | |
proj = PivotalTracker::Project.find(297071) | |
proj.stories.all.each do |story| | |
if story.requested_by == 'Ex Employee' | |
story.update({:requested_by => 'Current Employee'}) | |
end | |
end |
There are two different pivotal gems... looks like you're using a different one.
pivotal_tracker didn't work for me? pivotal-tracker did.
…On Mon, Sep 19, 2011 at 4:22 PM, Ed Schmalzle < ***@***.***>wrote:
There are two different pivotal gems... looks like you're using a different
one.
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/946624
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
s/pivotal_tracker/pivotal-tracker/