You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var customFields = jiramodels.CustomFields{}
_, _, err := atlassian.Issue.Create(context.Background(), payload, &customFields)
if err != nil {
log.Fatal(err)
}
**Expected behavior** :white_check_mark:
I expect the issue to create.
**Screenshots** :page_facing_up:
"no custom-fields set"
**Additional context**
**Code snippet**
The text was updated successfully, but these errors were encountered:
go-atlassian version
main
go-atlassian component
Describe the bug 🐛
In the docs it states that custom fields are optional(https://docs.go-atlassian.io/cookbooks/create-jira-issue#step-5-custom-fields-definition). But this(
go-atlassian/pkg/infra/models/jira_issue_v2.go
Line 26 in 0df29d4
To Reproduce 🚧
```
payload := &jiramodels.IssueSchemeV2{
Fields: &jiramodels.IssueFieldsSchemeV2{
Summary: summary,
Project: &jiramodels.ProjectScheme{ID: "10000"},
IssueType: &jiramodels.IssueTypeScheme{Name: "Story"},
Description: description,
},
}
The text was updated successfully, but these errors were encountered: