tickets

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const TicketExportVersion = "1"

Variables

This section is empty.

Functions

func ValidFormat

func ValidFormat(format string) bool

Types

type Export

type Export struct {
	TicketExportVersion string   `json:"ticket_export_version"`
	Format              string   `json:"format"`
	DryRun              bool     `json:"dry_run"`
	Tickets             []Ticket `json:"tickets"`
}

func Build

func Build(backlog *controlbacklog.Backlog, format string, top int) Export

type Ticket

type Ticket struct {
	ID                  string                              `json:"id"`
	Title               string                              `json:"title"`
	Owner               string                              `json:"owner,omitempty"`
	Repo                string                              `json:"repo,omitempty"`
	Path                string                              `json:"path,omitempty"`
	ControlPathType     string                              `json:"control_path_type,omitempty"`
	Capability          string                              `json:"capability,omitempty"`
	Evidence            []string                            `json:"evidence,omitempty"`
	RecommendedAction   string                              `json:"recommended_action"`
	SLA                 string                              `json:"sla"`
	ClosureCriteria     string                              `json:"closure_criteria"`
	Confidence          string                              `json:"confidence,omitempty"`
	ProofRequirements   []string                            `json:"proof_requirements,omitempty"`
	SecurityTestRecipes []controlbacklog.SecurityTestRecipe `json:"security_test_recipes,omitempty"`
	Body                string                              `json:"body"`
}

Jump to

Keyboard shortcuts

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