@@ -1389,6 +1389,13 @@ public GitlabIssue createIssue(int projectId, int assigneeId, int milestoneId, S
1389
1389
1390
1390
return requestor .to (tailUrl , GitlabIssue .class );
1391
1391
}
1392
+
1393
+ public GitlabIssue moveIssue (Integer projectId , Integer issueId , Integer toProjectId ) throws IOException {
1394
+ String tailUrl = GitlabProject .URL + "/" + projectId + GitlabIssue .URL + "/" + issueId + "/move" ;
1395
+ GitlabHTTPRequestor requestor = dispatch ();
1396
+ requestor .with ("to_project_id" , toProjectId );
1397
+ return requestor .to (tailUrl , GitlabIssue .class );
1398
+ }
1392
1399
1393
1400
public GitlabIssue editIssue (int projectId , int issueId , int assigneeId , int milestoneId , String labels ,
1394
1401
String description , String title , GitlabIssue .Action action ) throws IOException {
@@ -1416,6 +1423,13 @@ private void applyIssue(GitlabHTTPRequestor requestor, int projectId,
1416
1423
requestor .with ("assignee_id" , assigneeId == -1 ? 0 : assigneeId );
1417
1424
}
1418
1425
}
1426
+
1427
+ public GitlabNote getNote (GitlabIssue issue , Integer noteId ) throws IOException {
1428
+ String tailUrl = GitlabProject .URL + "/" + issue .getProjectId () +
1429
+ GitlabIssue .URL + "/" + issue .getId () +
1430
+ GitlabNote .URL + "/" + noteId ;
1431
+ return retrieve ().to (tailUrl , GitlabNote .class );
1432
+ }
1419
1433
1420
1434
public List <GitlabNote > getNotes (GitlabIssue issue ) throws IOException {
1421
1435
String tailUrl = GitlabProject .URL + "/" + issue .getProjectId () + GitlabIssue .URL + "/"
0 commit comments