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, connection *models.JiraConnection) (*helper.ApiAsyncClient, error)
- type ChangelogItemResult
- type JiraApiParams
- type JiraOptions
- type JiraPagination
- type JiraTaskData
- type SprintIssuesConverter
Constants ¶
View Source
const (
BatchSize = 1000
)
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, connection *models.JiraConnection) (*helper.ApiAsyncClient, error)
Types ¶
type ChangelogItemResult ¶ added in v0.6.0
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 Connection *models.JiraConnection 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, error)
func (*SprintIssuesConverter) CreateSprintIssue ¶
func (c *SprintIssuesConverter) CreateSprintIssue() error
func (*SprintIssuesConverter) FeedIn ¶ added in v0.7.0
func (c *SprintIssuesConverter) FeedIn(connectionId uint64, cl ChangelogItemResult)
func (*SprintIssuesConverter) SaveAssigneeHistory ¶
func (c *SprintIssuesConverter) SaveAssigneeHistory() error
Source Files ¶
- api_client.go
- board_collector.go
- board_convertor.go
- board_extractor.go
- changelog_collector.go
- changelog_convertor.go
- changelog_extractor.go
- issue_collector.go
- issue_commit_convertor.go
- issue_convertor.go
- issue_extractor.go
- issue_repo_commit_convertor.go
- project_collector.go
- project_extractor.go
- remotelink_collector.go
- remotelink_extractor.go
- shared.go
- sprint_collector.go
- sprint_convertor.go
- sprint_extractor.go
- sprint_issues_convertor.go
- task_data.go
- user_collector.go
- user_convertor.go
- user_extractor.go
- worklog_collector.go
- worklog_convertor.go
- worklog_extractor.go
Click to show internal directories.
Click to hide internal directories.