v2 "github.com/ctreminiom/go-atlassian/jira/v2"
----------- Set an environment variable in git bash -----------
export HOST="https://ctreminiom.atlassian.net/"
export MAIL="MAIL_ADDRESS"
Docs: https://stackoverflow.com/questions/34169721/set-an-environment-variable-in-git-bash
token = os.Getenv("TOKEN")
atlassian, err := v2.New(nil, host)
atlassian.Auth.SetBasicAuth(mail, token)
properties, response, err := atlassian.Project.Property.Gets(context.Background(), "KP")
log.Println("HTTP Endpoint Used", response.Endpoint)
for _, key := range properties.Keys {
log.Printf("Key: %v -- Self: %v", key.Key, key.Self)