Documentation
¶
Index ¶
- type ApiMyselfResponse
- type DeploymentType
- type JiraBoard
- type JiraBoardIssue
- type JiraBoardSprint
- type JiraChangelog
- type JiraChangelogItem
- type JiraIssue
- type JiraIssueCommit
- type JiraIssueStatusMapping
- type JiraIssueTypeMapping
- type JiraProject
- type JiraRemotelink
- type JiraServerInfo
- type JiraSource
- type JiraSourceDetail
- type JiraSprint
- type JiraSprintIssue
- type JiraUser
- type JiraWorklog
- type Locale
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiMyselfResponse ¶ added in v0.7.0
type DeploymentType ¶ added in v0.7.0
type DeploymentType string
const DeploymentCloud DeploymentType = "Cloud"
type JiraBoardIssue ¶
type JiraBoardSprint ¶ added in v0.4.0
type JiraChangelog ¶
type JiraChangelogItem ¶
type JiraIssue ¶
type JiraIssue struct {
common.NoPKModel
// collected fields
SourceId uint64 `gorm:"primaryKey"`
IssueId uint64 `gorm:"primarykey"`
ProjectId uint64
Self string
Key string
Summary string
Type string
EpicKey string
StatusName string
StatusKey string
StoryPoint float64
OriginalEstimateMinutes int64 // user input?
AggregateEstimateMinutes int64 // sum up of all subtasks?
RemainingEstimateMinutes int64 // could it be negative value?
CreatorAccountId string
CreatorAccountType string
CreatorDisplayName string
AssigneeAccountId string `gorm:"comment:latest assignee"`
AssigneeAccountType string
AssigneeDisplayName string
PriorityId uint64
PriorityName string
ParentId uint64
ParentKey string
SprintId uint64 // latest sprint, issue might cross multiple sprints, would be addressed by #514
SprintName string
ResolutionDate *time.Time
Created time.Time
Updated time.Time
// enriched fields
// RequirementAnalsyisLeadTime uint
// DesignLeadTime uint
// DevelopmentLeadTime uint
// TestLeadTime uint
// DeliveryLeadTime uint
SpentMinutes int64
LeadTimeMinutes uint
StdStoryPoint uint
StdType string
StdStatus string
AllFields datatypes.JSONMap
// internal status tracking
ChangelogUpdated *time.Time
RemotelinkUpdated *time.Time
}
type JiraIssueCommit ¶ added in v0.6.0
type JiraIssueStatusMapping ¶ added in v0.4.0
type JiraIssueStatusMapping struct {
SourceID uint64 `gorm:"primaryKey" json:"jiraSourceId" validate:"required"`
UserType string `gorm:"type:varchar(50);primaryKey" json:"userType" validate:"required"`
UserStatus string `gorm:"type:varchar(50);primaryKey" json:"userStatus" validate:"required"`
StandardStatus string `gorm:"type:varchar(50)" json:"standardStatus" validate:"required"`
}
type JiraIssueTypeMapping ¶ added in v0.4.0
type JiraProject ¶ added in v0.4.0
type JiraRemotelink ¶ added in v0.6.0
type JiraServerInfo ¶ added in v0.7.0
type JiraServerInfo struct {
BaseURL string `json:"baseUrl"`
BuildDate string `json:"buildDate"`
BuildNumber int `json:"buildNumber"`
DefaultLocale struct {
Locale Locale `json:"locale"`
} `json:"defaultLocale"`
DeploymentType DeploymentType `json:"deploymentType"`
ScmInfo string `json:"ScmInfo"`
ServerTime string `json:"serverTime"`
ServerTitle string `json:"serverTitle"`
Version string `json:"version"`
VersionNumbers []int `json:"versionNumbers"`
}
type JiraSource ¶ added in v0.4.0
type JiraSource struct {
common.Model
Name string `gorm:"type:varchar(100);uniqueIndex" json:"name" validate:"required"`
Endpoint string `json:"endpoint" validate:"required"`
BasicAuthEncoded string `json:"basicAuthEncoded" validate:"required"`
EpicKeyField string `gorm:"type:varchar(50);" json:"epicKeyField"`
StoryPointField string `gorm:"type:varchar(50);" json:"storyPointField"`
RemotelinkCommitShaPattern string `` /* 179-byte string literal not displayed */
}
type JiraSourceDetail ¶ added in v0.4.0
type JiraSourceDetail struct {
JiraSource
TypeMappings map[string]map[string]interface{} `json:"typeMappings"`
}
type JiraSprint ¶ added in v0.4.0
type JiraSprintIssue ¶ added in v0.4.0
type JiraWorklog ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.