public function setReporterName($name) { if (is_null($this->reporter)) { $this->reporter = new \JiraRestApi\Issue\Reporter(); } $this->reporter->name = $name; return $this; }