Documentation ¶
Index ¶
- Constants
- func CollectBoard(taskCtx core.SubTaskContext) error
- func CollectChangelogs(taskCtx core.SubTaskContext) error
- func CollectIssues(taskCtx core.SubTaskContext) error
- func CollectProjects(taskCtx core.SubTaskContext) error
- func CollectRemotelinks(taskCtx core.SubTaskContext) error
- func CollectSprints(taskCtx core.SubTaskContext) error
- func CollectUsers(taskCtx core.SubTaskContext) error
- func CollectWorklogs(taskCtx core.SubTaskContext) error
- func ConvertBoard(taskCtx core.SubTaskContext) error
- func ConvertChangelogs(taskCtx core.SubTaskContext) error
- func ConvertIssueCommits(taskCtx core.SubTaskContext) error
- func ConvertIssueRepoCommits(taskCtx core.SubTaskContext) error
- func ConvertIssues(taskCtx core.SubTaskContext) error
- func ConvertSprints(taskCtx core.SubTaskContext) error
- func ConvertUsers(taskCtx core.SubTaskContext) error
- func ConvertWorklogs(taskCtx core.SubTaskContext) error
- func ExtractBoard(taskCtx core.SubTaskContext) error
- func ExtractChangelogs(taskCtx core.SubTaskContext) error
- func ExtractIssues(taskCtx core.SubTaskContext) error
- func ExtractProjects(taskCtx core.SubTaskContext) error
- func ExtractRemotelinks(taskCtx core.SubTaskContext) error
- func ExtractSprints(taskCtx core.SubTaskContext) error
- func ExtractUsers(taskCtx core.SubTaskContext) error
- func ExtractWorklogs(taskCtx core.SubTaskContext) error
- func GetJiraServerInfo(client *helper.ApiAsyncClient) (*models.JiraServerInfo, int, error)
- func GetTotalPagesFromResponse(res *http.Response, args *helper.ApiCollectorArgs) (int, error)
- func NewJiraApiClient(taskCtx core.TaskContext, source *models.JiraSource) (*helper.ApiAsyncClient, error)
- type ChangelogItemResult
- type JiraApiParams
- type JiraOptions
- type JiraPagination
- type JiraTaskData
- type SprintIssuesConverter
Constants ¶
View Source
const RAW_BOARD_TABLE = "jira_api_boards"
View Source
const RAW_CHANGELOG_TABLE = "jira_api_changelogs"
View Source
const RAW_ISSUE_TABLE = "jira_api_issues"
View Source
const RAW_PROJECT_TABLE = "jira_api_projects"
View Source
const RAW_REMOTELINK_TABLE = "jira_api_remotelinks"
View Source
const RAW_SPRINT_TABLE = "jira_api_sprints"
View Source
const RAW_USERS_TABLE = "jira_api_users"
View Source
const RAW_WORKLOGS_TABLE = "jira_api_worklogs"
Variables ¶
This section is empty.
Functions ¶
func CollectBoard ¶
func CollectBoard(taskCtx core.SubTaskContext) error
func CollectChangelogs ¶
func CollectChangelogs(taskCtx core.SubTaskContext) error
func CollectIssues ¶
func CollectIssues(taskCtx core.SubTaskContext) error
func CollectProjects ¶ added in v0.4.0
func CollectProjects(taskCtx core.SubTaskContext) error
func CollectRemotelinks ¶ added in v0.10.0
func CollectRemotelinks(taskCtx core.SubTaskContext) error
func CollectSprints ¶ added in v0.10.0
func CollectSprints(taskCtx core.SubTaskContext) error
func CollectUsers ¶ added in v0.4.0
func CollectUsers(taskCtx core.SubTaskContext) error
func CollectWorklogs ¶ added in v0.10.0
func CollectWorklogs(taskCtx core.SubTaskContext) error
func ConvertBoard ¶ added in v0.6.0
func ConvertBoard(taskCtx core.SubTaskContext) error
func ConvertChangelogs ¶ added in v0.6.0
func ConvertChangelogs(taskCtx core.SubTaskContext) error
func ConvertIssueCommits ¶ added in v0.6.0
func ConvertIssueCommits(taskCtx core.SubTaskContext) error
func ConvertIssueRepoCommits ¶ added in v0.10.0
func ConvertIssueRepoCommits(taskCtx core.SubTaskContext) error
ConvertIssueRepoCommits is to extract issue_repo_commits from jira_issue_commits, nothing difference with issue_commits but added a RepoUrl. This task is needed by EE group.
func ConvertIssues ¶ added in v0.6.0
func ConvertIssues(taskCtx core.SubTaskContext) error
func ConvertSprints ¶ added in v0.10.0
func ConvertSprints(taskCtx core.SubTaskContext) error
func ConvertUsers ¶ added in v0.6.0
func ConvertUsers(taskCtx core.SubTaskContext) error
func ConvertWorklogs ¶ added in v0.10.0
func ConvertWorklogs(taskCtx core.SubTaskContext) error
func ExtractBoard ¶ added in v0.10.0
func ExtractBoard(taskCtx core.SubTaskContext) error
func ExtractChangelogs ¶ added in v0.10.0
func ExtractChangelogs(taskCtx core.SubTaskContext) error
func ExtractIssues ¶ added in v0.10.0
func ExtractIssues(taskCtx core.SubTaskContext) error
func ExtractProjects ¶ added in v0.10.0
func ExtractProjects(taskCtx core.SubTaskContext) error
func ExtractRemotelinks ¶ added in v0.10.0
func ExtractRemotelinks(taskCtx core.SubTaskContext) error
func ExtractSprints ¶ added in v0.10.0
func ExtractSprints(taskCtx core.SubTaskContext) error
func ExtractUsers ¶ added in v0.10.0
func ExtractUsers(taskCtx core.SubTaskContext) error
func ExtractWorklogs ¶ added in v0.10.0
func ExtractWorklogs(taskCtx core.SubTaskContext) error
func GetJiraServerInfo ¶ added in v0.10.0
func GetJiraServerInfo(client *helper.ApiAsyncClient) (*models.JiraServerInfo, int, error)
func GetTotalPagesFromResponse ¶ added in v0.10.0
func NewJiraApiClient ¶ added in v0.4.0
func NewJiraApiClient(taskCtx core.TaskContext, source *models.JiraSource) (*helper.ApiAsyncClient, error)
Types ¶
type ChangelogItemResult ¶ added in v0.6.0
type ChangelogItemResult struct { SourceId uint64 `gorm:"primaryKey"` ChangelogId uint64 `gorm:"primaryKey"` Field string `gorm:"primaryKey"` FieldType string FieldId string From string FromString string To string ToString string IssueId uint64 `gorm:"index"` AuthorAccountId string AuthorDisplayName string Created time.Time common.RawDataOrigin }
type JiraApiParams ¶ added in v0.10.0
this struct should be moved to `jira_api_common.go`
type JiraOptions ¶ added in v0.10.0
type JiraPagination ¶
type JiraTaskData ¶ added in v0.10.0
type JiraTaskData struct { Options *JiraOptions ApiClient *helper.ApiAsyncClient Source *models.JiraSource Since *time.Time JiraServerInfo models.JiraServerInfo }
type SprintIssuesConverter ¶ added in v0.7.0
type SprintIssuesConverter struct {
// contains filtered or unexported fields
}
func NewSprintIssueConverter ¶ added in v0.7.0
func NewSprintIssueConverter(taskCtx core.SubTaskContext) *SprintIssuesConverter
func (*SprintIssuesConverter) FeedIn ¶ added in v0.7.0
func (c *SprintIssuesConverter) FeedIn(sourceId uint64, cl ChangelogItemResult)
func (*SprintIssuesConverter) UpdateSprintIssue ¶ added in v0.7.0
func (c *SprintIssuesConverter) UpdateSprintIssue() error
Source Files ¶
- api_client.go
- board_collector.go
- board_converter.go
- board_extractor.go
- changelog_collector.go
- changelog_converter.go
- changelog_extractor.go
- issue_commit_converter.go
- issue_converter.go
- issue_repo_commit_converter.go
- issues_collector.go
- issues_extractor.go
- project_collector.go
- project_extractor.go
- remotelink_collector.go
- remotelink_extractor.go
- shared.go
- sprint_collector.go
- sprint_converter.go
- sprint_extractor.go
- sprint_issues_converter.go
- task_data.go
- user_collector.go
- user_converter.go
- user_extractor.go
- worklog_collector.go
- worklog_converter.go
- worklog_extractor.go
Click to show internal directories.
Click to hide internal directories.