public function deleteWorklog($idOrKey, $worklogId, $adjustEstimate = null, $newEstimate = null, $increaseBy = null)
    {
        $parameters = http_build_query(
            [
                'adjustEstimate' => $adjustEstimate,
                'newEstimate'    => $newEstimate,
                'increaseBy'     => $increaseBy,
            ]
        );

        if ($parameters) {
            $parameters = sprintf('?%s', $parameters);
        }

        return $this->deleteRequest(sprintf('issue/%s/worklog/%s%s', $idOrKey, $worklogId, $parameters));
    }
public function deleteWorklog($idOrKey, $worklogId, $adjustEstimate = null, $newEstimate = null, $increaseBy = null)
    {
        $parameters = http_build_query(
            [
                'adjustEstimate' => $adjustEstimate,
                'newEstimate'    => $newEstimate,
                'increaseBy'     => $increaseBy,
            ]
        );

        if ($parameters) {
            $parameters = sprintf('?%s', $parameters);
        }

        return $this->deleteRequest(sprintf('issue/%s/worklog/%s%s', $idOrKey, $worklogId, $parameters));
    }
public function deleteWorklog ( $ idOrKey , $ worklogId , $ adjustEstimate = null , $ newEstimate = null , $ increaseBy = null ) { $ parameters = http_build_query ( [ 'adjustEstimate' => $ adjustEstimate , 'newEstimate' => $ newEstimate , 'increaseBy' => $ increaseBy , ] ) ; if ( $ parameters ) { $ parameters = sprintf ( '?%s' , $ parameters ) ; } return $ this -> deleteRequest ( sprintf ( 'issue/%s/worklog/%s%s' , $ idOrKey , $ worklogId , $ parameters ) ) ; }
Deletes worklog for the issue by issue id or key and worklog id

@link  https://docs.atlassian.com/jira/REST/latest/#d2e1878

@param  integer|string $idOrKey
@param  integer        $worklogId
@param  string         $adjustEstimate
@param  string         $newEstimate
@param  string         $increaseBy

@return \GuzzleHttp\Message\Response
Deletes worklog for the issue by issue id or key and worklog id