Skip to content

Commit

Permalink
Support setting multiple assignees for issues (#541)
Browse files Browse the repository at this point in the history
Co-authored-by: Gérald Barré <[email protected]>
  • Loading branch information
PMExtra and meziantou authored Oct 13, 2023
1 parent 20e57d3 commit 6309532
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NGitLab/Models/IssueCreate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ public class IssueCreate
[JsonPropertyName("assignee_id")]
public int? AssigneeId;

[JsonPropertyName("assignee_ids")]
public int[] AssigneeIds;

[JsonPropertyName("milestone_id")]
public int? MileStoneId;

Expand Down
3 changes: 3 additions & 0 deletions NGitLab/Models/IssueEdit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ public class IssueEdit
[JsonPropertyName("assignee_id")]
public int? AssigneeId;

[JsonPropertyName("assignee_ids")]
public int[] AssigneeIds;

[JsonPropertyName("milestone_id")]
public int? MilestoneId;

Expand Down
2 changes: 2 additions & 0 deletions NGitLab/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1817,6 +1817,7 @@ NGitLab.Models.IssueClone.WithNotes.get -> bool
NGitLab.Models.IssueClone.WithNotes.set -> void
NGitLab.Models.IssueCreate
NGitLab.Models.IssueCreate.AssigneeId -> int?
NGitLab.Models.IssueCreate.AssigneeIds -> int[]
NGitLab.Models.IssueCreate.Confidential -> bool
NGitLab.Models.IssueCreate.Description -> string
NGitLab.Models.IssueCreate.DueDate -> System.DateTime?
Expand All @@ -1830,6 +1831,7 @@ NGitLab.Models.IssueCreate.ProjectId.set -> void
NGitLab.Models.IssueCreate.Title -> string
NGitLab.Models.IssueEdit
NGitLab.Models.IssueEdit.AssigneeId -> int?
NGitLab.Models.IssueEdit.AssigneeIds -> int[]
NGitLab.Models.IssueEdit.Description -> string
NGitLab.Models.IssueEdit.DueDate -> System.DateTime?
NGitLab.Models.IssueEdit.EpicId -> int?
Expand Down

0 comments on commit 6309532

Please sign in to comment.