ticket

package
v0.9.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	BUG         = "BUG"
	REQUIREMENT = "REQUIREMENT"
	INCIDENT    = "INCIDENT"

	TODO        = "TODO"
	DONE        = "DONE"
	IN_PROGRESS = "IN_PROGRESS"
)

Variables

View Source
var (
	BeforeSprint = "BEFORE_SPRINT"
	DuringSprint = "DURING_SPRINT"
	AfterSprint  = "AFTER_SPRINT"
)

Functions

This section is empty.

Types

type Board

type Board struct {
	domainlayer.DomainEntity
	Name        string
	Description string
	Url         string
	CreatedDate *time.Time
}

type BoardIssue

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

type BoardSprint added in v0.7.0

type BoardSprint struct {
	BoardId  string `gorm:"primaryKey"`
	SprintId string `gorm:"primaryKey"`
}

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
	Url                     string
	Key                     string
	Title                   string
	Summary                 string
	EpicKey                 string
	Type                    string
	Status                  string
	StoryPoint              uint
	ResolutionDate          *time.Time
	CreatedDate             *time.Time
	UpdatedDate             *time.Time
	LeadTimeMinutes         uint
	ParentIssueId           string
	Priority                string
	OriginalEstimateMinutes int64
	TimeSpentMinutes        int64
	TimeRemainingMinutes    int64
	CreatorId               string
	AssigneeId              string
	AssigneeName            string
	Severity                string
	Component               string
}

type IssueAssigneeHistory added in v0.7.0

type IssueAssigneeHistory struct {
	common.NoPKModel
	IssueId   string    `gorm:"primaryKey"`
	Assignee  string    `gorm:"primaryKey"`
	StartDate time.Time `gorm:"primaryKey"`
	EndDate   *time.Time
}

func (IssueAssigneeHistory) TableName added in v0.7.0

func (IssueAssigneeHistory) TableName() string

type IssueLabel added in v0.7.0

type IssueLabel struct {
	IssueId   string `json:"id" gorm:"primaryKey;type:varchar(255);comment:This key is generated based on details from the original plugin"` // format: <Plugin>:<Entity>:<PK0>:<PK1>
	LabelName string `gorm:"primaryKey"`
}

type IssueSprintsHistory added in v0.7.0

type IssueSprintsHistory struct {
	common.NoPKModel
	IssueId   string    `gorm:"primaryKey"`
	SprintId  string    `gorm:"primaryKey"`
	StartDate time.Time `gorm:"primaryKey"`
	EndDate   *time.Time
}

func (IssueSprintsHistory) TableName added in v0.7.0

func (IssueSprintsHistory) TableName() string

type IssueStatusHistory added in v0.7.0

type IssueStatusHistory struct {
	common.NoPKModel
	IssueId        string    `gorm:"primaryKey"`
	OriginalStatus string    `gorm:"primaryKey"`
	StartDate      time.Time `gorm:"primaryKey"`
	EndDate        *time.Time
}

func (IssueStatusHistory) TableName added in v0.7.0

func (IssueStatusHistory) TableName() string

type Sprint

type Sprint struct {
	domainlayer.DomainEntity
	Name          string
	Url           string
	Status        string
	Title         string
	StartedDate   *time.Time
	EndedDate     *time.Time
	CompletedDate *time.Time
	OriginBoardID string
}

type SprintIssue

type SprintIssue struct {
	SprintId      string `gorm:"primaryKey"`
	IssueId       string `gorm:"primaryKey"`
	IsRemoved     bool
	AddedDate     *time.Time
	RemovedDate   *time.Time
	AddedStage    *string `gorm:"type:varchar(255)"`
	ResolvedStage *string `gorm:"type:varchar(255)"`
}

type Worklog

type Worklog struct {
	domainlayer.DomainEntity
	AuthorId         string
	Comment          string
	TimeSpentMinutes int
	LoggedDate       *time.Time
	StartedDate      *time.Time
	IssueId          string `gorm:"index"`
}

Jump to

Keyboard shortcuts

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