Loading event_webhook_types.go +1 −0 Original line number Diff line number Diff line Loading @@ -323,6 +323,7 @@ type IssueCommentEventIssue struct { CreatedAt string `json:"created_at"` ClosedAt string `json:"closed_at"` DueDate *ISOTime `json:"due_date"` StartDate *ISOTime `json:"start_date"` URL string `json:"url"` TimeEstimate int64 `json:"time_estimate"` Confidential bool `json:"confidential"` Loading event_webhook_types_test.go +4 −0 Original line number Diff line number Diff line Loading @@ -400,6 +400,9 @@ func TestIssueCommentEventUnmarshal(t *testing.T) { err := json.Unmarshal(jsonObject, &event) require.NoError(t, err) startDate, err := ParseISOTime("2026-08-01") require.NoError(t, err) expectedEvent := &IssueCommentEvent{ ObjectKind: "note", EventType: "note", Loading Loading @@ -456,6 +459,7 @@ func TestIssueCommentEventUnmarshal(t *testing.T) { State: "closed", CreatedAt: "2016-01-04T15:31:46.176Z", UpdatedAt: "2016-01-04T15:31:46.176Z", StartDate: &startDate, TimeEstimate: 3600, TotalTimeSpent: 600, HumanTotalTimeSpent: "10m", Loading testdata/webhooks/note_issue.json +1 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,7 @@ "project_id": 5, "created_at": "2016-01-04T15:31:46.176Z", "updated_at": "2016-01-04T15:31:46.176Z", "start_date": "2026-08-01", "position": 0, "branch_name": null, "description": "test issue", Loading Loading
event_webhook_types.go +1 −0 Original line number Diff line number Diff line Loading @@ -323,6 +323,7 @@ type IssueCommentEventIssue struct { CreatedAt string `json:"created_at"` ClosedAt string `json:"closed_at"` DueDate *ISOTime `json:"due_date"` StartDate *ISOTime `json:"start_date"` URL string `json:"url"` TimeEstimate int64 `json:"time_estimate"` Confidential bool `json:"confidential"` Loading
event_webhook_types_test.go +4 −0 Original line number Diff line number Diff line Loading @@ -400,6 +400,9 @@ func TestIssueCommentEventUnmarshal(t *testing.T) { err := json.Unmarshal(jsonObject, &event) require.NoError(t, err) startDate, err := ParseISOTime("2026-08-01") require.NoError(t, err) expectedEvent := &IssueCommentEvent{ ObjectKind: "note", EventType: "note", Loading Loading @@ -456,6 +459,7 @@ func TestIssueCommentEventUnmarshal(t *testing.T) { State: "closed", CreatedAt: "2016-01-04T15:31:46.176Z", UpdatedAt: "2016-01-04T15:31:46.176Z", StartDate: &startDate, TimeEstimate: 3600, TotalTimeSpent: 600, HumanTotalTimeSpent: "10m", Loading
testdata/webhooks/note_issue.json +1 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,7 @@ "project_id": 5, "created_at": "2016-01-04T15:31:46.176Z", "updated_at": "2016-01-04T15:31:46.176Z", "start_date": "2026-08-01", "position": 0, "branch_name": null, "description": "test issue", Loading