Skip to content

Commit ba39455

Browse files
committed
コピー中の担当者を変えられるようにする。
1 parent 04b92b1 commit ba39455

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/lib/Backup/Copy/BacklogCopy.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,19 @@
99
class BacklogCopy {
1010

1111
use CopyProject;
12-
use CopyIssue;
1312

1413
protected array $id_mapping;
1514
protected BacklogAPIClient $src_cli;
1615
protected BacklogAPIClient $dst_cli;
16+
protected int $assignee_user_id;
1717

1818
public function __construct ( BacklogAPIClient $api_client, $dst_space=null, ) {
1919
$this->src_cli = $api_client;
2020
$this->dst_cli = $this->dst_space ?? $api_client;
2121
}
22-
22+
public function setAssignee(int $user_id){
23+
// 課題をコピーするときに別プロジェクト二ユーザーがいないとき、代わりに使うユーザ
24+
$this->assignee_user_id= $user_id;
25+
}
2326

2427
}

0 commit comments

Comments
 (0)