report

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package report generates daily report text from Jira issues and changelogs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDaily

func GenerateDaily(issues []jira.Issue, changes []jira.StatusChange, opts Options) string

GenerateDaily builds the report body using today's status changes and current sprint state.

Types

type Options

type Options struct {
	ProjectLabel        string
	ProjectName         string
	SprintName          string
	DeliveryDefault     string
	BlockersDefault     string
	TodoNextLimit       int
	OnlyMyStatusChanges bool
	CurrentAccountID    string
	IssueBaseURL        string
	Location            *time.Location
	Day                 time.Time
}

Options controls daily report generation.

type PointTotals

type PointTotals struct {
	Todo       float64
	InProgress float64
	Done       float64
	Blocked    float64
	Total      float64
}

PointTotals stores story-point totals by workflow bucket.

func Totals

func Totals(issues []jira.Issue) PointTotals

Totals computes story-point totals for the visible issues.

Jump to

Keyboard shortcuts

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