From 5820526a124cdeb1933e29f248c95c898305d3fd Mon Sep 17 00:00:00 2001 From: james <97810962+jxxxxxxxy@users.noreply.github.com> Date: Tue, 20 Sep 2022 19:31:48 +0100 Subject: [PATCH] Add AttachmentScheme to IssueFieldsScheme This exposes the attachments when retrieving the Issues --- pkg/infra/models/jira_issue_v3.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/infra/models/jira_issue_v3.go b/pkg/infra/models/jira_issue_v3.go index 73f5a4be..d88de17e 100644 --- a/pkg/infra/models/jira_issue_v3.go +++ b/pkg/infra/models/jira_issue_v3.go @@ -102,6 +102,7 @@ type IssueFieldsScheme struct { Comment *IssueCommentPageScheme `json:"comment,omitempty"` Subtasks []*IssueScheme `json:"subtasks,omitempty"` Security *SecurityScheme `json:"security,omitempty"` + Attachment []*AttachmentScheme `json:"attachment,omitempty"` } type IssueTransitionScheme struct {