typegroup

package
v42.0.0-...-56f38d9 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupPortfolio    = "portfolio"
	GroupRequirements = "requirements"
	GroupExecution    = "execution"
)

Use following group constants while defining static groups

Variables

View Source
var Execution0 = WorkItemTypeGroup{
	Group: GroupExecution,
	Level: []int{2, 0},
	Name:  "Iterations",
	WorkItemTypeCollection: []uuid.UUID{
		workitem.SystemTask,
	},
}

Execution0 defines first level of typegroup Execution This group has less priority than Requirements

View Source
var Portfolio0 = WorkItemTypeGroup{
	Group: GroupPortfolio,
	Level: []int{0, 0},
	Name:  "Portfolio",
	WorkItemTypeCollection: []uuid.UUID{
		workitem.SystemScenario,
		workitem.SystemFundamental,
		workitem.SystemPapercuts,
	},
}

Portfolio0 defines first level of typegroup Portfolio

View Source
var Portfolio1 = WorkItemTypeGroup{
	Group: GroupPortfolio,
	Level: []int{0, 1},
	Name:  "Portfolio",
	WorkItemTypeCollection: []uuid.UUID{
		workitem.SystemExperience,
		workitem.SystemValueProposition,
	},
}

Portfolio1 defines second level of typegroup Portfolio

View Source
var Requirements0 = WorkItemTypeGroup{
	Group: GroupRequirements,
	Level: []int{1, 0},
	Name:  "Requirements",
	WorkItemTypeCollection: []uuid.UUID{
		workitem.SystemFeature,
		workitem.SystemBug,
	},
}

Requirements0 defines first level of typegroup Requirements This group has less priority than Portfolio

Functions

This section is empty.

Types

type WorkItemTypeGroup

type WorkItemTypeGroup struct {
	// Generally Level should look like {0, 0}
	// First Index defines the nested level of the object in TypeHierarchy.
	// Second Index defines the child level within that object
	// e.g> {0, 0} -> object is at 0th level and it is 0th child
	// e.g> {0, 1} -> Object is at 0th level and it is 1st child
	// e.g> {1, 0} -> Object is at 1st level and it is 0th child
	// e.g> {1, 2, 3} -> Object is at 1st level & it is 2nd child's 3rd child
	Level                  []int
	Group                  string
	Name                   string // the name to be displayed to user
	WorkItemTypeCollection []uuid.UUID
}

WorkItemTypeGroup represents the node in the group of work item types

Jump to

Keyboard shortcuts

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