create

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fields

type Fields struct {
	Description string    `json:"description"`
	Issuetype   Issuetype `json:"issuetype"`
	Labels      []string  `json:"labels"`
	Priority    Priority  `json:"priority"`
	Project     Project   `json:"project"`
	Summary     string    `json:"summary"`
}

type Issuetype

type Issuetype struct {
	ID string `json:"name"`
}

type Jira

type Jira struct {
	User, Pass, FQDN, Priority, Project, Summary, Description string
	Labels                                                    []string
}

func (*Jira) Create

func (j *Jira) Create() (string, error)

type Payload

type Payload struct {
	Fields Fields `json:"fields"`
}

type Priority

type Priority struct {
	ID string `json:"name"`
}

type Project

type Project struct {
	ID string `json:"key"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL