diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb index e0e0678af4..5d4b235e1a 100755 --- a/tool/redmine-backporter.rb +++ b/tool/redmine-backporter.rb @@ -336,7 +336,7 @@ eom h = data["issue"]["custom_fields"].find{|x|x["id"]==5} if h and val = h["value"] case val[/(?:\A|, )#{Regexp.quote TARGET_VERSION}: ([^,]+)/, 1] - when 'REQUIRED', 'UNKNOWN', 'DONTNEED', 'REJECTED' + when 'REQUIRED', 'UNKNOWN', 'DONTNEED', 'WONTFIX' val[*$~.offset(1)] = 'DONE' when 'DONE' # , /\A\d+\z/ puts 'already backport is done'