Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 22 additions & 20 deletions src/Issue/IssueService.php
Original file line number Diff line number Diff line change
Expand Up @@ -353,12 +353,14 @@ public function deleteComment($issueIdOrKey, $id): string|bool
/**
* Change issue assignee for REST API V3.
*
* @param string|int $issueIdOrKey
* @param string|null $accountId assignee Account Id
* <li>"-1", the issue is assigned to the default assignee for the project.</li>
* <li>null, the issue is set to unassigned.</li>
* @return string
* @param string|int $issueIdOrKey
* @param string|null $accountId assignee Account Id
* <li>"-1", the issue is assigned to the default assignee for the project.</li>
* <li>null, the issue is set to unassigned.</li>
*
* @throws JiraException
*
* @return string
*/
public function changeAssigneeByAccountId(string|int $issueIdOrKey, ?string $accountId): string
{
Expand Down Expand Up @@ -582,7 +584,7 @@ public function timeTracking(string|int $issueIdOrKey, TimeTracking $timeTrackin
* get getWorklog.
*
* @param string|int $issueIdOrKey
* @param array $paramArray Possible keys for $paramArray: 'startAt', 'maxResults', 'startedAfter', 'expand'
* @param array $paramArray Possible keys for $paramArray: 'startAt', 'maxResults', 'startedAfter', 'expand'
*
* @throws \JsonMapper_Exception
* @throws JiraException
Expand All @@ -605,7 +607,7 @@ public function getWorklog(string|int $issueIdOrKey, array $paramArray = []): Pa
* get getWorklog by Id.
*
* @param string|int $issueIdOrKey
* @param int $workLogId
* @param int $workLogId
*
* @throws \JsonMapper_Exception
* @throws JiraException
Expand Down Expand Up @@ -683,7 +685,7 @@ public function editWorklog(string|int $issueIdOrKey, Worklog $worklog, int $wor
* delete worklog.
*
* @param string|int $issueIdOrKey
* @param int $worklogId
* @param int $worklogId
*
* @throws JiraException
*
Expand Down Expand Up @@ -794,7 +796,7 @@ public function getWatchers(string|int $issueIdOrKey): ArrayObject
* add watcher to issue.
*
* @param string|int $issueIdOrKey
* @param string $watcher watcher id
* @param string $watcher watcher id
*
* @throws JiraException
*
Expand All @@ -817,7 +819,7 @@ public function addWatcher(string|int $issueIdOrKey, string $watcher): bool
* remove watcher from issue.
*
* @param string|int $issueIdOrKey
* @param string $watcher watcher id
* @param string $watcher watcher id
*
* @throws JiraException
*
Expand All @@ -838,7 +840,7 @@ public function removeWatcher(string|int $issueIdOrKey, string $watcher): bool
* remove watcher from issue by watcher account id.
*
* @param string|int $issueIdOrKey
* @param string $accountId Watcher account id.
* @param string $accountId Watcher account id.
*
* @throws JiraException
*
Expand Down Expand Up @@ -918,7 +920,7 @@ public function getEditMeta(string $idOrKey, bool $overrideEditableFlag = false,
* Sends a notification (email) to the list or recipients defined in the request.
*
* @param string|int $issueIdOrKey Issue id Or Key
* @param Notify $notify
* @param Notify $notify
*
* @throws JiraException
*
Expand Down Expand Up @@ -1003,7 +1005,7 @@ public function createOrUpdateRemoteIssueLink(string|int $issueIdOrKey, RemoteIs

/**
* @param string|int $issueIdOrKey
* @param string $globalId
* @param string $globalId
*
* @throws JiraException
*
Expand Down Expand Up @@ -1085,9 +1087,9 @@ public function getIssueSecuritySchemes(string $securityId): SecurityScheme
* convenient wrapper function for add or remove labels.
*
* @param string|int $issueIdOrKey
* @param array $addLablesParam
* @param array $removeLabelsParam
* @param bool $notifyUsers
* @param array $addLablesParam
* @param array $removeLabelsParam
* @param bool $notifyUsers
*
* @throws JiraException
*
Expand Down Expand Up @@ -1130,9 +1132,9 @@ public function updateLabels(string|int $issueIdOrKey, array $addLablesParam = [
* convenient wrapper function for add or remove fix versions.
*
* @param string|int $issueIdOrKey
* @param array $addFixVersionsParam
* @param array $removeFixVersionsParam
* @param bool $notifyUsers
* @param array $addFixVersionsParam
* @param array $removeFixVersionsParam
* @param bool $notifyUsers
*
* @throws JiraException
*
Expand Down Expand Up @@ -1172,7 +1174,7 @@ public function updateFixVersions(string|int $issueIdOrKey, array $addFixVersion
* find transition id by transition's untranslatedName.
*
* @param string|int $issueIdOrKey
* @param string $untranslatedName
* @param string $untranslatedName
*
* @throws JiraException
*
Expand Down