util

package
v0.0.0-...-ab57433 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const (
	FieldStoryPoints   = "customfield_12310243"
	FieldStatusSummary = "customfield_12320841"
	FieldEpicLink      = "customfield_12311140"
	FieldFeatureLink   = "customfield_12318341"
)

Variables

This section is empty.

Functions

func BindEnvVars

func BindEnvVars() error

func CheckForMissingEnvVars

func CheckForMissingEnvVars() error

func GetIssueType

func GetIssueType(project *jira.Project, typeID string) (*jira.IssueType, error)

GetIssueType retrieves the identified issue type from Jira

func GetIssuesInQuery

func GetIssuesInQuery(client *jira.Client, query string) ([]jira.Issue, []string, error)

func GetJiraClient

func GetJiraClient() (*jira.Client, error)
func GetParentLinks(totalMap map[string]interface{}) (string, string)

GetParentLinks retrieves the parent links from the total map

func GetProject

func GetProject(client *jira.Client, projectID string) (*jira.Project, error)

GetProject retrieves the identified project from Jira

func GetResponseBody

func GetResponseBody(resp *jira.Response) (string, error)

func GetStoryPoints

func GetStoryPoints(totalMap map[string]interface{}) float64

func GetUnsizedStories

func GetUnsizedStories() ([]jira.Issue, error)

func GetUser

func GetUser(client *jira.Client, userID string) (*jira.User, error)

GetUser retrieves the identified user from Jira

func RuntimeError

func RuntimeError(err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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