update generated data files

This commit is contained in:
Cory Bennett
2017-08-27 19:41:49 -07:00
parent 21add544dc
commit c89f11d5b5
80 changed files with 940 additions and 179 deletions
+3 -3
View File
@@ -61,8 +61,8 @@ func CmdCreateUsage(cmd *kingpin.CmdClause, opts *CreateOptions) error {
// will parse the edited document as YAML and submit the document to jira.
func CmdCreate(o *oreo.Client, opts *CreateOptions) error {
type templateInput struct {
Meta *jiradata.CreateMetaIssueType `yaml:"meta" json:"meta"`
Overrides map[string]string `yaml:"overrides" json:"overrides"`
Meta *jiradata.IssueType `yaml:"meta" json:"meta"`
Overrides map[string]string `yaml:"overrides" json:"overrides"`
}
if err := defaultIssueType(o, opts.Endpoint.Value, &opts.Project, &opts.IssueType); err != nil {
@@ -113,7 +113,7 @@ func defaultIssueType(o *oreo.Client, endpoint string, project, issuetype *strin
issueTypes := map[string]bool{}
for _, issuetype := range projectMeta.Issuetypes {
for _, issuetype := range projectMeta.IssueTypes {
issueTypes[issuetype.Name] = true
}