ticket

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Board

type Board struct {
	domainlayer.DomainEntity
	Name string
	Url  string
}

type BoardIssue

type BoardIssue struct {
	BoardId string `gorm:"primaryKey;type:varchar(255)"`
	IssueId string `gorm:"primaryKey;type:varchar(255)"`
}

type Changelog

type Changelog struct {
	domainlayer.DomainEntity

	// collected fields
	IssueId     string `gorm:"index"`
	AuthorId    string
	AuthorName  string
	FieldId     string
	FieldName   string
	From        string
	To          string
	CreatedDate time.Time
}

type Issue

type Issue struct {
	domainlayer.DomainEntity

	// collected fields
	Url                      string
	Key                      string
	Title                    string
	Summary                  string
	EpicKey                  string
	Type                     string
	Status                   string
	StoryPoint               uint
	OriginalEstimateMinutes  int64 // user input?
	AggregateEstimateMinutes int64 // sum up of all subtasks?
	RemainingEstimateMinutes int64 // could it be negative value?
	CreatorId                string
	AssigneeId               string
	ResolutionDate           *time.Time
	Priority                 string // not sure how to deal with it yet, copy the name for now
	ParentId                 string
	SprintId                 string
	CreatedDate              time.Time
	UpdatedDate              time.Time
	SpentMinutes             int64
	LeadTimeMinutes          uint
}

type Sprint

type Sprint struct {
	domainlayer.DomainEntity

	// collected fields
	BoardId      string `gorm:"index"`
	Url          string
	State        string
	Name         string
	StartDate    *time.Time
	EndDate      *time.Time
	CompleteDate *time.Time
}

type SprintIssue

type SprintIssue struct {
	SprintId  string `gorm:"primaryKey"`
	IssueId   string `gorm:"primaryKey"`
	AddedAt   *time.Time
	RemovedAt *time.Time
}

type SprintIssueBurndown

type SprintIssueBurndown struct {
	SprintId  string `gorm:"primaryKey"`
	EndedHour int    `gorm:"primaryKey"`
	StartedAt time.Time
	EndedAt   time.Time

	Added     int
	Removed   int
	Remaining int

	AddedRequirements     int
	RemovedRequirements   int
	RemainingRequirements int

	AddedBugs     int
	RemovedBugs   int
	RemainingBugs int

	AddedIncidents     int
	RemovedIncidents   int
	RemainingIncidents int

	AddedOtherIssues     int
	RemovedOtherIssues   int
	RemainingOtherIssues int

	AddedStoryPoints     int
	RemovedStoryPoints   int
	RemainingStoryPoints int
}

func (SprintIssueBurndown) TableName

func (SprintIssueBurndown) TableName() string

type Worklog

type Worklog struct {
	domainlayer.DomainEntity
	IssueId          string `gorm:"index"`
	BoardId          string `gorm:"index"`
	AuthorId         string
	UpdateAuthorId   string
	TimeSpent        string
	TimeSpentSeconds int
	Updated          time.Time
	Started          time.Time
}

Jump to

Keyboard shortcuts

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