"github.com/ctreminiom/go-atlassian/jira/agile"
"github.com/ctreminiom/go-atlassian/pkg/infra/models"
token = os.Getenv("TOKEN")
atlassian, err := agile.New(nil, host)
atlassian.Auth.SetBasicAuth(mail, token)
atlassian.Auth.SetUserAgent("curl/7.54.0")
options = &models.IssueOptionScheme{
Fields: []string{"status", "issuetype", "summary"},
Expand: []string{"changelog"},
issues, response, err := atlassian.Board.Backlog(context.Background(), boardID, startAt, maxResult, options)
log.Println("Response HTTP Response", string(response.Bytes.Bytes()))
log.Println("Response HTTP Code", response.Code)
log.Println("HTTP Endpoint Used", response.Endpoint)
for _, issue := range issues.Issues {