getWorklogById() public method

get getWorklog by Id.
public getWorklogById ( mixed $issueIdOrKey, integer $workLogId ) : PaginatedWorklog
$issueIdOrKey mixed
$workLogId integer
return PaginatedWorklog object
Exemplo n.º 1
0
 /**
  * @depends testUpdateWorkLogInIssue
  */
 public function testGetWorkLogById($workLogid)
 {
     try {
         $issueService = new IssueService();
         $worklog = $issueService->getWorklogById($this->issueKey, $workLogid);
         Dumper::dump($worklog);
     } catch (JiraException $e) {
         $this->assertTrue(false, 'testGetWorkLogById Failed : ' . $e->getMessage());
     }
 }