/** * @depends testAddAttachment */ public function testUpdateIssue($issueKey) { //$this->markTestIncomplete(); try { $issueField = new IssueField(true); $issueField->setAssigneeName('lesstif')->setPriorityName('Major')->setIssueType('Task')->addLabel('test-label-first')->addLabel('test-label-second')->addVersion('1.0.1')->addVersion('1.0.2')->setDescription('This is a shorthand for a set operation on the summary field'); $issueService = new IssueService(); $issueService->update($issueKey, $issueField); return $issueKey; } catch (JIRAException $e) { $this->assertTrue(false, 'update Failed : ' . $e->getMessage()); } }