issues

package
v0.0.0-...-cb9ec86 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultJqlQuery = "created >= -30d order by created DESC"
	BadRequest      = "Bad Request"
)
View Source
const (
	JiraFetchRecordsThreshold = 100
)

Variables

This section is empty.

Functions

func BuildSearchIssuesJql

func BuildSearchIssuesJql(project *jira.Project, query string, status *jira.IssueStatus, user *jira.User, label string) string

func FormatAssignee

func FormatAssignee(issue *jira.Issue) string

func FormatJiraIssue

func FormatJiraIssue(issue *jira.Issue) string

func FormatJiraIssueTable

func FormatJiraIssueTable(issue *jira.Issue, summaryColWidth int, statusColWidth int) string

func FormatJiraIssues

func FormatJiraIssues(issues []jira.Issue) []string

func NewIssueView

func NewIssueView(issue *jira.Issue, goBackFn func(), api jira.Api) app.View

func NewIssuesSearchView

func NewIssuesSearchView(project *jira.Project, goBackFn func(), api jira.Api) app.View

func NewIssuesSearchViewWithCustomJql

func NewIssuesSearchViewWithCustomJql(jql string, goBackFn func(), api jira.Api) app.View

func NewJqlSearchView

func NewJqlSearchView(api jira.Api) app.View

func OpenIssueInBrowser

func OpenIssueInBrowser(i *jira.Issue, api jira.Api)

func RegisterGoTo

func RegisterGoTo()

Types

type SearchArgs

type SearchArgs struct {
	ProjectKey string
	GoBackFn   func()
	Api        jira.Api
}

Jump to

Keyboard shortcuts

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