public function init()
 {
     $this->setLabel(__('Priority', 'buggypress'));
     $terms = BuggyPress_Issue::get_priorities();
     foreach ($terms as $term) {
         $this->addMultiOption($term->term_id, $term->name);
     }
     if (isset($this->_issue)) {
         $this->setValue($this->_issue->get_priority());
     }
 }
 /**
  * @param string $field
  * @return mixed
  */
 private function get_old_value($field)
 {
     switch ($field) {
         case 'title':
             return $this->issue->get_title();
         case 'description':
             return $this->issue->get_description();
         case 'project':
             return $this->issue->get_project_id();
         case 'assignee':
             return $this->issue->get_assignee_id();
         case 'type':
             return $this->issue->get_type();
         case 'status':
             return $this->issue->get_status();
         case 'resolution':
             return $this->issue->get_resolution();
         case 'priority':
             return $this->issue->get_priority();
         default:
             return apply_filters('buggypress_issue_old_value', '', $field);
     }
 }