Documentation ¶
Index ¶
- Constants
- Variables
- func CollectAccounts(taskCtx core.SubTaskContext) error
- func CollectBoard(taskCtx core.SubTaskContext) error
- func CollectIssueChangelogs(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 CollectStatus(taskCtx core.SubTaskContext) error
- func CollectWorklogs(taskCtx core.SubTaskContext) error
- func ConvertAccounts(taskCtx core.SubTaskContext) error
- func ConvertBoard(taskCtx core.SubTaskContext) error
- func ConvertIssueChangelogs(taskCtx core.SubTaskContext) error
- func ConvertIssueCommits(taskCtx core.SubTaskContext) error
- func ConvertIssueRepoCommits(taskCtx core.SubTaskContext) error
- func ConvertIssues(taskCtx core.SubTaskContext) error
- func ConvertSprintIssues(taskCtx core.SubTaskContext) error
- func ConvertSprints(taskCtx core.SubTaskContext) error
- func ConvertWorklogs(taskCtx core.SubTaskContext) error
- func ExtractAccounts(taskCtx core.SubTaskContext) error
- func ExtractBoard(taskCtx core.SubTaskContext) error
- func ExtractIssueChangelogs(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 ExtractStatus(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 IssueChangelogItemResult
- type JiraApiParams
- type JiraOptions
- type JiraPagination
- type JiraTaskData
- type TransformationRules
Constants ¶
View Source
const RAW_BOARD_TABLE = "jira_api_boards"
View Source
const RAW_CHANGELOG_TABLE = "jira_api_issue_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_STATUS_TABLE = "jira_api_status"
View Source
const RAW_USERS_TABLE = "jira_api_users"
View Source
const RAW_WORKLOGS_TABLE = "jira_api_worklogs"
Variables ¶
View Source
var CollectAccountsMeta = core.SubTaskMeta{ Name: "collectAccounts", EntryPoint: CollectAccounts, EnabledByDefault: true, Description: "collect Jira accounts", DomainTypes: []string{core.DOMAIN_TYPE_CROSS}, }
View Source
var CollectBoardMeta = core.SubTaskMeta{ Name: "collectBoard", EntryPoint: CollectBoard, EnabledByDefault: true, Description: "collect Jira board", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var CollectIssueChangelogsMeta = core.SubTaskMeta{ Name: "collectIssueChangelogs", EntryPoint: CollectIssueChangelogs, EnabledByDefault: true, Description: "collect Jira Issue change logs", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var CollectIssuesMeta = core.SubTaskMeta{ Name: "collectIssues", EntryPoint: CollectIssues, EnabledByDefault: true, Description: "collect Jira issues", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var CollectProjectsMeta = core.SubTaskMeta{ Name: "collectProjects", EntryPoint: CollectProjects, EnabledByDefault: true, Description: "collect Jira projects", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var CollectRemotelinksMeta = core.SubTaskMeta{ Name: "collectRemotelinks", EntryPoint: CollectRemotelinks, EnabledByDefault: true, Description: "collect Jira remote links", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var CollectSprintsMeta = core.SubTaskMeta{ Name: "collectSprints", EntryPoint: CollectSprints, EnabledByDefault: true, Description: "collect Jira sprints", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var CollectStatusMeta = core.SubTaskMeta{ Name: "collectStatus", EntryPoint: CollectStatus, EnabledByDefault: true, Description: "collect Jira status", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var CollectWorklogsMeta = core.SubTaskMeta{ Name: "collectWorklogs", EntryPoint: CollectWorklogs, EnabledByDefault: true, Description: "collect Jira work logs", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ConvertAccountsMeta = core.SubTaskMeta{ Name: "convertAccounts", EntryPoint: ConvertAccounts, EnabledByDefault: true, Description: "convert Jira accounts", DomainTypes: []string{core.DOMAIN_TYPE_CROSS}, }
View Source
var ConvertBoardMeta = core.SubTaskMeta{ Name: "convertBoard", EntryPoint: ConvertBoard, EnabledByDefault: true, Description: "convert Jira board", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ConvertIssueChangelogsMeta = core.SubTaskMeta{ Name: "convertIssueChangelogs", EntryPoint: ConvertIssueChangelogs, EnabledByDefault: true, Description: "convert Jira Issue change logs", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ConvertIssueCommitsMeta = core.SubTaskMeta{ Name: "convertIssueCommits", EntryPoint: ConvertIssueCommits, EnabledByDefault: true, Description: "convert Jira issue commits", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ConvertIssueRepoCommitsMeta = core.SubTaskMeta{ Name: "convertIssueRepoCommits", EntryPoint: ConvertIssueRepoCommits, EnabledByDefault: false, Description: "convert Jira issue repo commits", DomainTypes: []string{core.DOMAIN_TYPE_CROSS}, }
View Source
var ConvertIssuesMeta = core.SubTaskMeta{ Name: "convertIssues", EntryPoint: ConvertIssues, EnabledByDefault: true, Description: "convert Jira issues", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ConvertSprintIssuesMeta = core.SubTaskMeta{ Name: "convertSprintIssues", EntryPoint: ConvertSprintIssues, EnabledByDefault: true, Description: "convert Jira sprint_issues", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ConvertSprintsMeta = core.SubTaskMeta{ Name: "convertSprints", EntryPoint: ConvertSprints, EnabledByDefault: true, Description: "convert Jira sprints", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ConvertWorklogsMeta = core.SubTaskMeta{ Name: "convertWorklogs", EntryPoint: ConvertWorklogs, EnabledByDefault: true, Description: "convert Jira work logs", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ExtractAccountsMeta = core.SubTaskMeta{ Name: "extractAccounts", EntryPoint: ExtractAccounts, EnabledByDefault: true, Description: "extract Jira users", DomainTypes: []string{core.DOMAIN_TYPE_CROSS}, }
View Source
var ExtractBoardMeta = core.SubTaskMeta{Name: "extractBoard", EntryPoint: ExtractBoard, EnabledByDefault: true, Description: "extract Jira board", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ExtractIssueChangelogsMeta = core.SubTaskMeta{ Name: "extractIssueChangelogs", EntryPoint: ExtractIssueChangelogs, EnabledByDefault: true, Description: "extract Jira Issue change logs", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ExtractIssuesMeta = core.SubTaskMeta{ Name: "extractIssues", EntryPoint: ExtractIssues, EnabledByDefault: true, Description: "extract Jira issues", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ExtractProjectsMeta = core.SubTaskMeta{ Name: "extractProjects", EntryPoint: ExtractProjects, EnabledByDefault: true, Description: "extract Jira projects", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ExtractRemotelinksMeta = core.SubTaskMeta{ Name: "extractRemotelinks", EntryPoint: ExtractRemotelinks, EnabledByDefault: true, Description: "extract Jira remote links", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ExtractSprintsMeta = core.SubTaskMeta{ Name: "extractSprints", EntryPoint: ExtractSprints, EnabledByDefault: true, Description: "extract Jira sprints", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ExtractStatusMeta = core.SubTaskMeta{ Name: "extractStatus", EntryPoint: ExtractStatus, EnabledByDefault: true, Description: "extract Jira status", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
View Source
var ExtractWorklogsMeta = core.SubTaskMeta{ Name: "extractWorklogs", EntryPoint: ExtractWorklogs, EnabledByDefault: true, Description: "extract Jira work logs", DomainTypes: []string{core.DOMAIN_TYPE_TICKET}, }
Functions ¶
func CollectAccounts ¶ added in v0.12.0
func CollectAccounts(taskCtx core.SubTaskContext) error
func CollectBoard ¶
func CollectBoard(taskCtx core.SubTaskContext) error
func CollectIssueChangelogs ¶ added in v0.12.0
func CollectIssueChangelogs(taskCtx core.SubTaskContext) error
func CollectIssues ¶
func CollectIssues(taskCtx core.SubTaskContext) error
func CollectProjects ¶
func CollectProjects(taskCtx core.SubTaskContext) error
func CollectRemotelinks ¶
func CollectRemotelinks(taskCtx core.SubTaskContext) error
func CollectSprints ¶
func CollectSprints(taskCtx core.SubTaskContext) error
func CollectStatus ¶
func CollectStatus(taskCtx core.SubTaskContext) error
func CollectWorklogs ¶
func CollectWorklogs(taskCtx core.SubTaskContext) error
func ConvertAccounts ¶ added in v0.12.0
func ConvertAccounts(taskCtx core.SubTaskContext) error
func ConvertBoard ¶
func ConvertBoard(taskCtx core.SubTaskContext) error
func ConvertIssueChangelogs ¶ added in v0.12.0
func ConvertIssueChangelogs(taskCtx core.SubTaskContext) error
func ConvertIssueCommits ¶
func ConvertIssueCommits(taskCtx core.SubTaskContext) error
func ConvertIssueRepoCommits ¶
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 ¶
func ConvertIssues(taskCtx core.SubTaskContext) error
func ConvertSprintIssues ¶
func ConvertSprintIssues(taskCtx core.SubTaskContext) error
func ConvertSprints ¶
func ConvertSprints(taskCtx core.SubTaskContext) error
func ConvertWorklogs ¶
func ConvertWorklogs(taskCtx core.SubTaskContext) error
func ExtractAccounts ¶ added in v0.12.0
func ExtractAccounts(taskCtx core.SubTaskContext) error
func ExtractBoard ¶
func ExtractBoard(taskCtx core.SubTaskContext) error
func ExtractIssueChangelogs ¶ added in v0.12.0
func ExtractIssueChangelogs(taskCtx core.SubTaskContext) error
func ExtractIssues ¶
func ExtractIssues(taskCtx core.SubTaskContext) error
func ExtractProjects ¶
func ExtractProjects(taskCtx core.SubTaskContext) error
func ExtractRemotelinks ¶
func ExtractRemotelinks(taskCtx core.SubTaskContext) error
func ExtractSprints ¶
func ExtractSprints(taskCtx core.SubTaskContext) error
func ExtractStatus ¶
func ExtractStatus(taskCtx core.SubTaskContext) error
func ExtractWorklogs ¶
func ExtractWorklogs(taskCtx core.SubTaskContext) error
func GetJiraServerInfo ¶
func GetJiraServerInfo(client *helper.ApiAsyncClient) (*models.JiraServerInfo, int, error)
func NewJiraApiClient ¶
func NewJiraApiClient(taskCtx core.TaskContext, connection *models.JiraConnection) (*helper.ApiAsyncClient, error)
Types ¶
type IssueChangelogItemResult ¶ added in v0.12.0
type JiraApiParams ¶
this struct should be moved to `jira_api_common.go`
type JiraOptions ¶
type JiraOptions struct { ConnectionId uint64 `json:"connectionId"` BoardId uint64 `json:"boardId"` Since string TransformationRules TransformationRules `json:"transformationRules"` }
func DecodeAndValidateTaskOptions ¶ added in v0.12.0
func DecodeAndValidateTaskOptions(options map[string]interface{}) (*JiraOptions, error)
type JiraPagination ¶
type JiraTaskData ¶
type JiraTaskData struct { Options *JiraOptions ApiClient *helper.ApiAsyncClient Since *time.Time JiraServerInfo models.JiraServerInfo }
Source Files ¶
- account_collector.go
- account_convertor.go
- account_extractor.go
- api_client.go
- board_collector.go
- board_convertor.go
- board_extractor.go
- issue_changelog_collector.go
- issue_changelog_convertor.go
- issue_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
- status_collector.go
- status_extractor.go
- task_data.go
- worklog_collector.go
- worklog_convertor.go
- worklog_extractor.go
Click to show internal directories.
Click to hide internal directories.