qj

package
v0.0.0-...-8ff1d5a Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigPath

func ConfigPath() string

Types

type ConfigFile

type ConfigFile struct {
	Email   string
	ApiKey  string
	BaseUrl string
	Queries []Query
}

func LoadSavedQueries

func LoadSavedQueries() (ConfigFile, error)

type JiraApiContext

type JiraApiContext struct {
	Email   string
	ApiKey  string
	BaseUrl string
}

type JiraAssignee

type JiraAssignee struct {
	EmailAddress string
	DisplayName  string
}

type JiraIssue

type JiraIssue struct {
	Id     string
	Key    string
	Fields struct {
		Assignee JiraAssignee
		Summary  string
		Labels   []string
	}
}

func FetchIssuesJql

func FetchIssuesJql(ctx JiraApiContext, jql string) ([]JiraIssue, error)

type Query

type Query struct {
	Name string
	Jql  string
}

Jump to

Keyboard shortcuts

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