errors.add(:requirement_issue,'must be an issue of type `Requirement`')ifrequirement_issue&&!requirement_issue.requirement?
errors.add(:requirement_issue,"must be a `requirement`. You cannot associate a Test Report with a #{requirement_issue.issue_type}.")ifrequirement_issue&&!requirement_issue.requirement?&&will_save_change_to_issue_id?