File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1063,7 +1063,7 @@ try {
10631063
10641064#### Change Assignee
10651065
1066- [ See Jira API reference] ( https://docs .atlassian.com/software /jira/docs/api/REST/latest /#api/2/ issue-assign )
1066+ [ See Jira API reference] ( https://developer .atlassian.com/cloud /jira/platform/rest/v3/api-group-issues /#api-rest-api-3- issue-issueidorkey-assignee-put )
10671067
10681068``` php
10691069<?php
@@ -1079,9 +1079,9 @@ try {
10791079
10801080 // if assignee is -1, automatic assignee used.
10811081 // A null assignee will remove the assignee.
1082- $assignee = 'newAssigneeName ';
1082+ $accountId = 'replace-to-user-account-id ';
10831083
1084- $ret = $issueService->changeAssignee ($issueKey, $assignee );
1084+ $ret = $issueService->changeAssigneeByAccountId ($issueKey, $accountId );
10851085
10861086 var_dump($ret);
10871087} catch (JiraCloud\JiraException $e) {
You can’t perform that action at this time.
0 commit comments