# File lib/operator.rb, line 575
  def edit project, config, opts, issue
    data = { :title => issue.title, :description => issue.desc,
             :reporter => issue.reporter }

    fn = run_editor { |f| f.puts data.to_yaml }

    unless fn
      puts "Aborted."
      return
    end

    begin
      edits = YAML.load_file fn
      comment = opts[:silent] ? nil : get_comment(opts)
      if issue.change edits, config.user, comment, opts[:silent]
        puts "Change recorded."
      else
        puts "No changes."
      end
    end
  end