Skip to content

Commit bd2c5dd

Browse files
feat(types.go): add comment to explain why description has type any
1 parent 7a1fbc4 commit bd2c5dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

notify/jira/types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ type issue struct {
2525
}
2626

2727
type issueFields struct {
28+
// Description can hold either a plain string (Jira API v2) or
29+
// a structured JSON payload (e.g. json.RawMessage) when using Jira API v3.
2830
Description any `json:"description,omitempty"`
2931
Issuetype *idNameValue `json:"issuetype,omitempty"`
3032
Labels []string `json:"labels,omitempty"`

0 commit comments

Comments
 (0)