From 7d1dcebf6bdceabaf58a81deeb6fb4bfdae3b4cb Mon Sep 17 00:00:00 2001 From: Florian Kinder Date: Fri, 28 Jun 2024 16:49:06 +0900 Subject: [PATCH] Added duedate --- pkg/infra/models/jira_issue_v2.go | 1 + pkg/infra/models/jira_issue_v3.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/infra/models/jira_issue_v2.go b/pkg/infra/models/jira_issue_v2.go index ac8a254f..7c2ae8f9 100644 --- a/pkg/infra/models/jira_issue_v2.go +++ b/pkg/infra/models/jira_issue_v2.go @@ -126,6 +126,7 @@ type IssueFieldsSchemeV2 struct { Subtasks []*IssueScheme `json:"subtasks,omitempty"` Security *SecurityScheme `json:"security,omitempty"` Worklog *IssueWorklogRichTextPageScheme `json:"worklog,omitempty"` + DueDate string `json:"duedate"` } // ParentScheme represents the parent of an issue in Jira. diff --git a/pkg/infra/models/jira_issue_v3.go b/pkg/infra/models/jira_issue_v3.go index f783368b..90b04e0f 100644 --- a/pkg/infra/models/jira_issue_v3.go +++ b/pkg/infra/models/jira_issue_v3.go @@ -127,6 +127,7 @@ type IssueFieldsScheme struct { Security *SecurityScheme `json:"security,omitempty"` // The security level of the issue. Attachment []*AttachmentScheme `json:"attachment,omitempty"` // The attachments of the issue. Worklog *IssueWorklogADFPageScheme `json:"worklog,omitempty"` // The worklog of the issue. + DueDate string `json:"duedate"` // The due date of the issue. } // IssueTransitionScheme represents a transition of an issue in Jira.