tasks

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0, MIT Imports: 20 Imported by: 2

Documentation

Index

Constants

View Source
const RAW_BUG_CHANGELOG_TABLE = "tapd_api_bug_changelogs"
View Source
const RAW_BUG_COMMIT_TABLE = "tapd_api_bug_commits"
View Source
const RAW_BUG_CUSTOM_FIELDS_TABLE = "tapd_api_bug_custom_fields"
View Source
const RAW_BUG_STATUS_LAST_STEP_TABLE = "tapd_api_bug_status_last_steps"
View Source
const RAW_BUG_STATUS_TABLE = "tapd_api_bug_status"
View Source
const RAW_BUG_TABLE = "tapd_api_bugs"
View Source
const RAW_COMPANY_TABLE = "tapd_api_companies"
View Source
const RAW_ITERATION_TABLE = "tapd_api_iterations"
View Source
const RAW_STORY_BUG_TABLE = "tapd_api_story_bugs"
View Source
const RAW_STORY_CATEGORY_TABLE = "tapd_api_story_categories"
View Source
const RAW_STORY_CHANGELOG_TABLE = "tapd_api_story_changelogs"
View Source
const RAW_STORY_COMMIT_TABLE = "tapd_api_story_commits"
View Source
const RAW_STORY_CUSTOM_FIELDS_TABLE = "tapd_api_story_custom_fields"
View Source
const RAW_STORY_STATUS_LAST_STEP_TABLE = "tapd_api_story_status_last_steps"
View Source
const RAW_STORY_STATUS_TABLE = "tapd_api_story_status"
View Source
const RAW_STORY_TABLE = "tapd_api_stories"
View Source
const RAW_SUB_WORKSPACE_TABLE = "tapd_api_sub_workspaces"
View Source
const RAW_TASK_CHANGELOG_TABLE = "tapd_api_task_changelogs"
View Source
const RAW_TASK_COMMIT_TABLE = "tapd_api_task_commits"
View Source
const RAW_TASK_CUSTOM_FIELDS_TABLE = "tapd_api_task_custom_fields"
View Source
const RAW_TASK_TABLE = "tapd_api_tasks"
View Source
const RAW_USER_TABLE = "tapd_api_users"
View Source
const RAW_WORKITEM_TYPE_TABLE = "tapd_api_workitem_types"
View Source
const RAW_WORKLOG_TABLE = "tapd_api_worklogs"

Variables

View Source
var CollectAccountsMeta = core.SubTaskMeta{
	Name:             "collectAccounts",
	EntryPoint:       CollectAccounts,
	EnabledByDefault: true,
	Description:      "collect tapd accounts",
	DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
}
View Source
var CollectBugChangelogMeta = core.SubTaskMeta{
	Name:             "collectBugChangelogs",
	EntryPoint:       CollectBugChangelogs,
	EnabledByDefault: true,
	Description:      "collect Tapd bugChangelogs",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectBugCommitMeta = core.SubTaskMeta{
	Name:             "collectBugCommits",
	EntryPoint:       CollectBugCommits,
	EnabledByDefault: true,
	Description:      "collect Tapd issueCommits",
	DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
}
View Source
var CollectBugCustomFieldsMeta = core.SubTaskMeta{
	Name:             "collectBugCustomFields",
	EntryPoint:       CollectBugCustomFields,
	EnabledByDefault: true,
	Description:      "collect Tapd BugCustomFields",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectBugMeta = core.SubTaskMeta{
	Name:             "collectBugs",
	EntryPoint:       CollectBugs,
	EnabledByDefault: true,
	Description:      "collect Tapd bugs",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectBugStatusLastStepMeta = core.SubTaskMeta{
	Name:             "collectBugStatusLastStep",
	EntryPoint:       CollectBugStatusLastStep,
	EnabledByDefault: true,
	Description:      "collect Tapd bugStatus",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectBugStatusMeta = core.SubTaskMeta{
	Name:             "collectBugStatus",
	EntryPoint:       CollectBugStatus,
	EnabledByDefault: true,
	Description:      "collect Tapd bugStatus",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectCompanyMeta = core.SubTaskMeta{
	Name:        "collectCompanies",
	EntryPoint:  CollectCompanies,
	Required:    false,
	Description: "collect Tapd companies",
	DomainTypes: []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectIterationMeta = core.SubTaskMeta{
	Name:             "collectIterations",
	EntryPoint:       CollectIterations,
	EnabledByDefault: true,
	Description:      "collect Tapd iterations",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectStoryBugMeta = core.SubTaskMeta{
	Name:             "collectStoryBugs",
	EntryPoint:       CollectStoryBugs,
	EnabledByDefault: false,
	Description:      "collect Tapd storyBugs",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectStoryCategoriesMeta = core.SubTaskMeta{
	Name:             "collectStoryCategories",
	EntryPoint:       CollectStoryCategories,
	EnabledByDefault: true,
	Description:      "collect Tapd StoryCategories",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectStoryChangelogMeta = core.SubTaskMeta{
	Name:             "collectStoryChangelogs",
	EntryPoint:       CollectStoryChangelogs,
	EnabledByDefault: true,
	Description:      "collect Tapd storyChangelogs",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectStoryCommitMeta = core.SubTaskMeta{
	Name:             "collectStoryCommits",
	EntryPoint:       CollectStoryCommits,
	EnabledByDefault: true,
	Description:      "collect Tapd issueCommits",
	DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
}
View Source
var CollectStoryCustomFieldsMeta = core.SubTaskMeta{
	Name:             "collectStoryCustomFields",
	EntryPoint:       CollectStoryCustomFields,
	EnabledByDefault: true,
	Description:      "collect Tapd StoryCustomFields",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectStoryMeta = core.SubTaskMeta{
	Name:             "collectStorys",
	EntryPoint:       CollectStorys,
	EnabledByDefault: true,
	Description:      "collect Tapd stories",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectStoryStatusLastStepMeta = core.SubTaskMeta{
	Name:             "collectStoryStatusLastStep",
	EntryPoint:       CollectStoryStatusLastStep,
	EnabledByDefault: true,
	Description:      "collect Tapd bugStatus",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectStoryStatusMeta = core.SubTaskMeta{
	Name:             "collectStoryStatus",
	EntryPoint:       CollectStoryStatus,
	EnabledByDefault: true,
	Description:      "collect Tapd bugStatus",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectSubWorkspaceMeta = core.SubTaskMeta{
	Name:             "collectSubWorkspaces",
	EntryPoint:       CollectSubWorkspaces,
	EnabledByDefault: true,
	Description:      "collect Tapd workspaces",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectTaskChangelogMeta = core.SubTaskMeta{
	Name:             "collectTaskChangelogs",
	EntryPoint:       CollectTaskChangelogs,
	EnabledByDefault: true,
	Description:      "collect Tapd taskChangelogs",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectTaskCommitMeta = core.SubTaskMeta{
	Name:             "collectTaskCommits",
	EntryPoint:       CollectTaskCommits,
	EnabledByDefault: true,
	Description:      "collect Tapd issueCommits",
	DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
}
View Source
var CollectTaskCustomFieldsMeta = core.SubTaskMeta{
	Name:             "collectTaskCustomFields",
	EntryPoint:       CollectTaskCustomFields,
	EnabledByDefault: true,
	Description:      "collect Tapd TaskCustomFields",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectTaskMeta = core.SubTaskMeta{
	Name:             "collectTasks",
	EntryPoint:       CollectTasks,
	EnabledByDefault: true,
	Description:      "collect Tapd tasks",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectWorkitemTypesMeta = core.SubTaskMeta{
	Name:             "collectWorkitemTypes",
	EntryPoint:       CollectWorkitemTypes,
	EnabledByDefault: true,
	Description:      "collect Tapd WorkitemTypes",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var CollectWorklogMeta = core.SubTaskMeta{
	Name:             "collectWorklogs",
	EntryPoint:       CollectWorklogs,
	EnabledByDefault: true,
	Description:      "collect Tapd worklogs",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ConvertAccountsMeta = core.SubTaskMeta{
	Name:             "convertAccounts",
	EntryPoint:       ConvertAccounts,
	EnabledByDefault: true,
	Description:      "convert tapd account",
	DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
}
View Source
var ConvertBugChangelogMeta = core.SubTaskMeta{
	Name:             "convertBugChangelog",
	EntryPoint:       ConvertBugChangelog,
	EnabledByDefault: true,
	Description:      "convert Tapd bug changelog",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ConvertBugCommitMeta = core.SubTaskMeta{
	Name:             "convertBugCommit",
	EntryPoint:       ConvertBugCommit,
	EnabledByDefault: true,
	Description:      "convert Tapd BugCommit",
	DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
}
View Source
var ConvertBugLabelsMeta = core.SubTaskMeta{
	Name:             "convertBugLabels",
	EntryPoint:       ConvertBugLabels,
	EnabledByDefault: true,
	Description:      "Convert tool layer table tapd_issue_labels into  domain layer table issue_labels",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ConvertBugMeta = core.SubTaskMeta{
	Name:             "convertBug",
	EntryPoint:       ConvertBug,
	EnabledByDefault: true,
	Description:      "convert Tapd Bug",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ConvertIterationMeta = core.SubTaskMeta{
	Name:             "convertIteration",
	EntryPoint:       ConvertIteration,
	EnabledByDefault: true,
	Description:      "convert Tapd iteration",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ConvertStoryChangelogMeta = core.SubTaskMeta{
	Name:             "convertStoryChangelog",
	EntryPoint:       ConvertStoryChangelog,
	EnabledByDefault: true,
	Description:      "convert Tapd story changelog",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ConvertStoryCommitMeta = core.SubTaskMeta{
	Name:             "convertStoryCommit",
	EntryPoint:       ConvertStoryCommit,
	EnabledByDefault: true,
	Description:      "convert Tapd StoryCommit",
	DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
}
View Source
var ConvertStoryLabelsMeta = core.SubTaskMeta{
	Name:             "convertStoryLabels",
	EntryPoint:       ConvertStoryLabels,
	EnabledByDefault: true,
	Description:      "Convert tool layer table tapd_issue_labels into  domain layer table issue_labels",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ConvertStoryMeta = core.SubTaskMeta{
	Name:             "convertStory",
	EntryPoint:       ConvertStory,
	EnabledByDefault: true,
	Description:      "convert Tapd story",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ConvertSubWorkspaceMeta = core.SubTaskMeta{
	Name:             "convertSubWorkspace",
	EntryPoint:       ConvertSubWorkspace,
	EnabledByDefault: true,
	Description:      "convert Tapd workspace",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ConvertTaskChangelogMeta = core.SubTaskMeta{
	Name:             "convertTaskChangelog",
	EntryPoint:       ConvertTaskChangelog,
	EnabledByDefault: true,
	Description:      "convert Tapd task changelog",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ConvertTaskCommitMeta = core.SubTaskMeta{
	Name:             "convertTaskCommit",
	EntryPoint:       ConvertTaskCommit,
	EnabledByDefault: true,
	Description:      "convert Tapd TaskCommit",
	DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
}
View Source
var ConvertTaskLabelsMeta = core.SubTaskMeta{
	Name:             "convertTaskLabels",
	EntryPoint:       ConvertTaskLabels,
	EnabledByDefault: true,
	Description:      "Convert tool layer table tapd_issue_labels into  domain layer table issue_labels",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ConvertTaskMeta = core.SubTaskMeta{
	Name:             "convertTask",
	EntryPoint:       ConvertTask,
	EnabledByDefault: true,
	Description:      "convert Tapd Task",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ConvertWorklogMeta = core.SubTaskMeta{
	Name:             "convertWorklog",
	EntryPoint:       ConvertWorklog,
	EnabledByDefault: true,
	Description:      "convert Tapd Worklog",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var EnrichBugStatusLastStepMeta = core.SubTaskMeta{
	Name:             "enrichBugStatusLastStep",
	EntryPoint:       EnrichBugStatusLastStep,
	EnabledByDefault: true,
	Description:      "Enrich raw data into tool layer table _tool_tapd_bug_status",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var EnrichStoryStatusLastStepMeta = core.SubTaskMeta{
	Name:             "enrichStoryStatusLastStep",
	EntryPoint:       EnrichStoryStatusLastStep,
	EnabledByDefault: true,
	Description:      "Enrich raw data into tool layer table _tool_tapd_story_status",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractAccountsMeta = core.SubTaskMeta{
	Name:             "extractAccounts",
	EntryPoint:       ExtractAccounts,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_accounts",
	DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
}
View Source
var ExtractBugChangelogMeta = core.SubTaskMeta{
	Name:             "extractBugChangelog",
	EntryPoint:       ExtractBugChangelog,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_bug_changelogs",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractBugCommitMeta = core.SubTaskMeta{
	Name:             "extractBugCommits",
	EntryPoint:       ExtractBugCommits,
	EnabledByDefault: true,
	Description:      "Extract raw BugCommits data into tool layer table _tool_tapd_issue_commits",
	DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
}
View Source
var ExtractBugCustomFieldsMeta = core.SubTaskMeta{
	Name:             "extractBugCustomFields",
	EntryPoint:       ExtractBugCustomFields,
	EnabledByDefault: true,
	Description:      "Extract raw company data into tool layer table _tool_tapd_bug_custom_fields",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractBugMeta = core.SubTaskMeta{
	Name:             "extractBugs",
	EntryPoint:       ExtractBugs,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractBugStatusMeta = core.SubTaskMeta{
	Name:             "extractBugStatus",
	EntryPoint:       ExtractBugStatus,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_bugStatus",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractCompanyMeta = core.SubTaskMeta{
	Name:        "extractCompanies",
	EntryPoint:  ExtractCompanies,
	Required:    false,
	Description: "Extract raw company data into tool layer table _tool_tapd_workspaces",
	DomainTypes: []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractIterationMeta = core.SubTaskMeta{
	Name:             "extractIterations",
	EntryPoint:       ExtractIterations,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractStoryBugsMeta = core.SubTaskMeta{
	Name:             "extractStoryBugs",
	EntryPoint:       ExtractStoryBugs,
	EnabledByDefault: false,
	Description:      "Extract raw company data into tool layer table _tool_tapd_story_bugs",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractStoryCategoriesMeta = core.SubTaskMeta{
	Name:             "extractStoryCategories",
	EntryPoint:       ExtractStoryCategories,
	EnabledByDefault: true,
	Description:      "Extract raw company data into tool layer table _tool_tapd_story_category",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractStoryChangelogMeta = core.SubTaskMeta{
	Name:             "extractStoryChangelog",
	EntryPoint:       ExtractStoryChangelog,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractStoryCommitMeta = core.SubTaskMeta{
	Name:             "extractStoryCommits",
	EntryPoint:       ExtractStoryCommits,
	EnabledByDefault: true,
	Description:      "Extract raw StoryCommits data into tool layer table _tool_tapd_issue_commits",
	DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
}
View Source
var ExtractStoryCustomFieldsMeta = core.SubTaskMeta{
	Name:             "extractStoryCustomFields",
	EntryPoint:       ExtractStoryCustomFields,
	EnabledByDefault: true,
	Description:      "Extract raw company data into tool layer table _tool_tapd_story_custom_fields",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractStoryMeta = core.SubTaskMeta{
	Name:             "extractStories",
	EntryPoint:       ExtractStories,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractStoryStatusMeta = core.SubTaskMeta{
	Name:             "extractStoryStatus",
	EntryPoint:       ExtractStoryStatus,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_bugStatus",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractSubWorkspaceMeta = core.SubTaskMeta{
	Name:             "extractSubWorkspaces",
	EntryPoint:       ExtractSubWorkspaces,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_workspaces",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractTaskChangelogMeta = core.SubTaskMeta{
	Name:             "extractTaskChangelog",
	EntryPoint:       ExtractTaskChangelog,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractTaskCommitMeta = core.SubTaskMeta{
	Name:             "extractTaskCommits",
	EntryPoint:       ExtractTaskCommits,
	EnabledByDefault: true,
	Description:      "Extract raw TaskCommits data into tool layer table _tool_tapd_issue_commits",
	DomainTypes:      []string{core.DOMAIN_TYPE_CROSS},
}
View Source
var ExtractTaskCustomFieldsMeta = core.SubTaskMeta{
	Name:             "extractTaskCustomFields",
	EntryPoint:       ExtractTaskCustomFields,
	EnabledByDefault: true,
	Description:      "Extract raw company data into tool layer table _tool_tapd_task_custom_fields",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractTaskMeta = core.SubTaskMeta{
	Name:             "extractTasks",
	EntryPoint:       ExtractTasks,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractWorkitemTypesMeta = core.SubTaskMeta{
	Name:             "extractWorkitemTypes",
	EntryPoint:       ExtractWorkitemTypes,
	EnabledByDefault: true,
	Description:      "Extract raw company data into tool layer table _tool_tapd_story_category",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}
View Source
var ExtractWorklogMeta = core.SubTaskMeta{
	Name:             "extractWorklogs",
	EntryPoint:       ExtractWorklogs,
	EnabledByDefault: true,
	Description:      "Extract raw workspace data into tool layer table _tool_tapd_iterations",
	DomainTypes:      []string{core.DOMAIN_TYPE_TICKET},
}

Functions

func CollectAccounts added in v0.12.0

func CollectAccounts(taskCtx core.SubTaskContext) errors.Error

func CollectBugChangelogs

func CollectBugChangelogs(taskCtx core.SubTaskContext) errors.Error

func CollectBugCommits

func CollectBugCommits(taskCtx core.SubTaskContext) errors.Error

func CollectBugCustomFields

func CollectBugCustomFields(taskCtx core.SubTaskContext) errors.Error

func CollectBugStatus

func CollectBugStatus(taskCtx core.SubTaskContext) errors.Error

func CollectBugStatusLastStep added in v0.14.2

func CollectBugStatusLastStep(taskCtx core.SubTaskContext) errors.Error

func CollectBugs

func CollectBugs(taskCtx core.SubTaskContext) errors.Error

func CollectCompanies

func CollectCompanies(taskCtx core.SubTaskContext) errors.Error

func CollectIterations

func CollectIterations(taskCtx core.SubTaskContext) errors.Error

func CollectStoryBugs added in v0.12.0

func CollectStoryBugs(taskCtx core.SubTaskContext) errors.Error

func CollectStoryCategories

func CollectStoryCategories(taskCtx core.SubTaskContext) errors.Error

func CollectStoryChangelogs

func CollectStoryChangelogs(taskCtx core.SubTaskContext) errors.Error

func CollectStoryCommits

func CollectStoryCommits(taskCtx core.SubTaskContext) errors.Error

func CollectStoryCustomFields

func CollectStoryCustomFields(taskCtx core.SubTaskContext) errors.Error

func CollectStoryStatus

func CollectStoryStatus(taskCtx core.SubTaskContext) errors.Error

func CollectStoryStatusLastStep added in v0.14.2

func CollectStoryStatusLastStep(taskCtx core.SubTaskContext) errors.Error

func CollectStorys

func CollectStorys(taskCtx core.SubTaskContext) errors.Error

func CollectSubWorkspaces added in v0.12.0

func CollectSubWorkspaces(taskCtx core.SubTaskContext) errors.Error

func CollectTaskChangelogs

func CollectTaskChangelogs(taskCtx core.SubTaskContext) errors.Error

func CollectTaskCommits

func CollectTaskCommits(taskCtx core.SubTaskContext) errors.Error

func CollectTaskCustomFields

func CollectTaskCustomFields(taskCtx core.SubTaskContext) errors.Error

func CollectTasks

func CollectTasks(taskCtx core.SubTaskContext) errors.Error

func CollectWorkitemTypes added in v0.14.2

func CollectWorkitemTypes(taskCtx core.SubTaskContext) errors.Error

func CollectWorklogs

func CollectWorklogs(taskCtx core.SubTaskContext) errors.Error

func ConvertAccounts added in v0.12.0

func ConvertAccounts(taskCtx core.SubTaskContext) errors.Error

func ConvertBug

func ConvertBug(taskCtx core.SubTaskContext) errors.Error

func ConvertBugChangelog

func ConvertBugChangelog(taskCtx core.SubTaskContext) errors.Error

func ConvertBugCommit

func ConvertBugCommit(taskCtx core.SubTaskContext) errors.Error

func ConvertBugLabels

func ConvertBugLabels(taskCtx core.SubTaskContext) errors.Error

func ConvertIteration

func ConvertIteration(taskCtx core.SubTaskContext) errors.Error

func ConvertStory

func ConvertStory(taskCtx core.SubTaskContext) errors.Error

func ConvertStoryChangelog

func ConvertStoryChangelog(taskCtx core.SubTaskContext) errors.Error

func ConvertStoryCommit

func ConvertStoryCommit(taskCtx core.SubTaskContext) errors.Error

func ConvertStoryLabels

func ConvertStoryLabels(taskCtx core.SubTaskContext) errors.Error

func ConvertSubWorkspace added in v0.12.0

func ConvertSubWorkspace(taskCtx core.SubTaskContext) errors.Error

func ConvertTask

func ConvertTask(taskCtx core.SubTaskContext) errors.Error

func ConvertTaskChangelog

func ConvertTaskChangelog(taskCtx core.SubTaskContext) errors.Error

func ConvertTaskCommit

func ConvertTaskCommit(taskCtx core.SubTaskContext) errors.Error

func ConvertTaskLabels

func ConvertTaskLabels(taskCtx core.SubTaskContext) errors.Error

func ConvertWorklog

func ConvertWorklog(taskCtx core.SubTaskContext) errors.Error

func EnrichBugStatusLastStep added in v0.14.2

func EnrichBugStatusLastStep(taskCtx core.SubTaskContext) errors.Error

func EnrichStoryStatusLastStep added in v0.14.2

func EnrichStoryStatusLastStep(taskCtx core.SubTaskContext) errors.Error

func ExtractAccounts added in v0.12.0

func ExtractAccounts(taskCtx core.SubTaskContext) errors.Error

func ExtractBugChangelog

func ExtractBugChangelog(taskCtx core.SubTaskContext) errors.Error

func ExtractBugCommits

func ExtractBugCommits(taskCtx core.SubTaskContext) errors.Error

func ExtractBugCustomFields

func ExtractBugCustomFields(taskCtx core.SubTaskContext) errors.Error

func ExtractBugStatus

func ExtractBugStatus(taskCtx core.SubTaskContext) errors.Error

func ExtractBugs

func ExtractBugs(taskCtx core.SubTaskContext) errors.Error

func ExtractCompanies

func ExtractCompanies(taskCtx core.SubTaskContext) errors.Error

func ExtractIterations

func ExtractIterations(taskCtx core.SubTaskContext) errors.Error

func ExtractStories

func ExtractStories(taskCtx core.SubTaskContext) errors.Error

func ExtractStoryBugs added in v0.12.0

func ExtractStoryBugs(taskCtx core.SubTaskContext) errors.Error

func ExtractStoryCategories

func ExtractStoryCategories(taskCtx core.SubTaskContext) errors.Error

func ExtractStoryChangelog

func ExtractStoryChangelog(taskCtx core.SubTaskContext) errors.Error

func ExtractStoryCommits

func ExtractStoryCommits(taskCtx core.SubTaskContext) errors.Error

func ExtractStoryCustomFields

func ExtractStoryCustomFields(taskCtx core.SubTaskContext) errors.Error

func ExtractStoryStatus

func ExtractStoryStatus(taskCtx core.SubTaskContext) errors.Error

func ExtractSubWorkspaces added in v0.12.0

func ExtractSubWorkspaces(taskCtx core.SubTaskContext) errors.Error

func ExtractTaskChangelog

func ExtractTaskChangelog(taskCtx core.SubTaskContext) errors.Error

func ExtractTaskCommits

func ExtractTaskCommits(taskCtx core.SubTaskContext) errors.Error

func ExtractTaskCustomFields

func ExtractTaskCustomFields(taskCtx core.SubTaskContext) errors.Error

func ExtractTasks

func ExtractTasks(taskCtx core.SubTaskContext) errors.Error

func ExtractWorkitemTypes added in v0.14.2

func ExtractWorkitemTypes(taskCtx core.SubTaskContext) errors.Error

func ExtractWorklogs

func ExtractWorklogs(taskCtx core.SubTaskContext) errors.Error

func GetRawMessageArrayFromResponse added in v0.12.0

func GetRawMessageArrayFromResponse(res *http.Response) ([]json.RawMessage, errors.Error)

func GetRawMessageDirectFromResponse

func GetRawMessageDirectFromResponse(res *http.Response) ([]json.RawMessage, errors.Error)

func GetTotalPagesFromResponse

func GetTotalPagesFromResponse(r *http.Response, args *helper.ApiCollectorArgs) (int, errors.Error)

res will not be used

func NewTapdApiClient

func NewTapdApiClient(taskCtx core.TaskContext, connection *models.TapdConnection) (*helper.ApiAsyncClient, errors.Error)

Types

type BugChangelogItemResult

type BugChangelogItemResult struct {
	ConnectionId      uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	WorkspaceId       uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	Id                uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL" json:"id"`
	BugId             uint64     `json:"bug_id"`
	Author            string     `json:"author" gorm:"type:varchar(255)"`
	Field             string     `json:"field"`
	OldValue          string     `json:"old_value"`
	NewValue          string     `json:"new_value"`
	Memo              string     `json:"memo"`
	Created           *time.Time `json:"created"`
	ChangelogId       uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	ValueBeforeParsed string     `json:"value_before"`
	ValueAfterParsed  string     `json:"value_after"`
	IterationIdFrom   uint64
	IterationIdTo     uint64
	common.NoPKModel
}

type Data

type Data struct {
	Count int `json:"count"`
}

type OriginalStatus added in v0.14.2

type OriginalStatus []string

type Page

type Page struct {
	Data Data `json:"data"`
}

type StatusMappings added in v0.14.2

type StatusMappings map[string]OriginalStatus

type StoryChangelogItemResult

type StoryChangelogItemResult struct {
	ConnectionId      uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	Id                uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL" json:"id"`
	WorkspaceId       uint64     `json:"workspace_id"`
	WorkitemTypeId    uint64     `json:"workitem_type_id"`
	Creator           string     `json:"creator"`
	Created           *time.Time `json:"created"`
	ChangeSummary     string     `json:"change_summary"`
	Comment           string     `json:"comment"`
	EntityType        string     `json:"entity_type"`
	ChangeType        string     `json:"change_type"`
	StoryId           uint64     `json:"story_id"`
	ChangelogId       uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	Field             string     `json:"field" gorm:"primaryKey;type:varchar(255)"`
	ValueBeforeParsed string     `json:"value_before"`
	ValueAfterParsed  string     `json:"value_after"`
	IterationIdFrom   uint64
	IterationIdTo     uint64
	common.NoPKModel
}

type TapdApiParams

type TapdApiParams struct {
	ConnectionId uint64
	CompanyId    uint64
	WorkspaceId  uint64
}

type TapdOptions

type TapdOptions struct {
	ConnectionId        uint64   `mapstruct:"connectionId"`
	WorkspaceId         uint64   `mapstruct:"workspaceId"`
	CompanyId           uint64   `mapstruct:"companyId"`
	Tasks               []string `mapstruct:"tasks,omitempty"`
	CreatedDateAfter    string   `json:"createdDateAfter" mapstructure:"createdDateAfter,omitempty"`
	CstZone             *time.Location
	TransformationRules TransformationRules `json:"transformationRules"`
}

type TapdTaskData

type TapdTaskData struct {
	Options          *TapdOptions
	ApiClient        *helper.ApiAsyncClient
	CreatedDateAfter *time.Time
	Connection       *models.TapdConnection
}

func CreateRawDataSubTaskArgs added in v0.12.0

func CreateRawDataSubTaskArgs(taskCtx core.SubTaskContext, rawTable string, useCompanyId bool) (*helper.RawDataSubTaskArgs, *TapdTaskData)

type TaskChangelogItemResult

type TaskChangelogItemResult struct {
	ConnectionId      uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	Id                uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL" json:"id"`
	WorkspaceId       uint64     `json:"workspace_id"`
	WorkitemTypeId    uint64     `json:"workitem_type_id"`
	Creator           string     `json:"creator"`
	Created           *time.Time `json:"created"`
	ChangeSummary     string     `json:"change_summary"`
	Comment           string     `json:"comment"`
	EntityType        string     `json:"entity_type"`
	ChangeType        string     `json:"change_type"`
	ChangeTypeText    string     `json:"change_type_text"`
	TaskId            uint64     `json:"task_id"`
	ChangelogId       uint64     `gorm:"primaryKey;type:BIGINT  NOT NULL"`
	Field             string     `json:"field" gorm:"primaryKey;type:varchar(255)"`
	ValueBeforeParsed string     `json:"value_before"`
	ValueAfterParsed  string     `json:"value_after"`
	IterationIdFrom   uint64
	IterationIdTo     uint64
	common.NoPKModel
}

type TransformationRules added in v0.14.2

type TransformationRules struct {
	TypeMappings   TypeMappings   `json:"typeMappings"`
	StatusMappings StatusMappings `json:"statusMappings"`
}

type TypeMapping added in v0.14.2

type TypeMapping struct {
	StandardType string `json:"standardType"`
}

type TypeMappings added in v0.14.2

type TypeMappings map[string]TypeMapping

Source Files

Jump to

Keyboard shortcuts

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