Sha256: e1fd0107e737a13426ad45b75543af83d61b072d0126a7540973dedda91c201e

Contents?: true

Size: 513 Bytes

Versions: 4

Compression:

Stored size: 513 Bytes

Contents

#!/usr/bin/env ruby

require File.join(File.dirname(__FILE__), '..', 'lib', 'socialcast-git-extensions.rb')
include Socialcast

reset_branch('prototype')
reset_branch('last_known_good_prototype')

filter_id = '10103'
issues = jira_server.getIssuesFromFilterWithLimit filter_id, 0, 1000

HighLine.say "Updating the following tickets to no longer be in prototype:"
issues.each do |issue|
  print_issue issue
  jira_server.updateIssue issue.key, [Jira4R::V2::RemoteFieldValue.new(IN_PROTOTYPE_FIELD, ['false'])]
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
socialcast-git-extensions-1.5.3 bin/git-reset-prototype
socialcast-git-extensions-1.5.2 bin/git-reset-prototype
socialcast-git-extensions-1.5.1 bin/git-reset-prototype
socialcast-git-extensions-1.5.0 bin/git-reset-prototype