Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - Variables
 - func CollectAccounts(taskCtx core.SubTaskContext) errors.Error
 - func CollectBugChangelogs(taskCtx core.SubTaskContext) errors.Error
 - func CollectBugCommits(taskCtx core.SubTaskContext) errors.Error
 - func CollectBugCustomFields(taskCtx core.SubTaskContext) errors.Error
 - func CollectBugStatus(taskCtx core.SubTaskContext) errors.Error
 - func CollectBugStatusLastStep(taskCtx core.SubTaskContext) errors.Error
 - func CollectBugs(taskCtx core.SubTaskContext) errors.Error
 - func CollectCompanies(taskCtx core.SubTaskContext) errors.Error
 - func CollectIterations(taskCtx core.SubTaskContext) errors.Error
 - func CollectStoryBugs(taskCtx core.SubTaskContext) errors.Error
 - func CollectStoryCategories(taskCtx core.SubTaskContext) errors.Error
 - func CollectStoryChangelogs(taskCtx core.SubTaskContext) errors.Error
 - func CollectStoryCommits(taskCtx core.SubTaskContext) errors.Error
 - func CollectStoryCustomFields(taskCtx core.SubTaskContext) errors.Error
 - func CollectStoryStatus(taskCtx core.SubTaskContext) errors.Error
 - func CollectStoryStatusLastStep(taskCtx core.SubTaskContext) errors.Error
 - func CollectStorys(taskCtx core.SubTaskContext) errors.Error
 - func CollectSubWorkspaces(taskCtx core.SubTaskContext) errors.Error
 - func CollectTaskChangelogs(taskCtx core.SubTaskContext) errors.Error
 - func CollectTaskCommits(taskCtx core.SubTaskContext) errors.Error
 - func CollectTaskCustomFields(taskCtx core.SubTaskContext) errors.Error
 - func CollectTasks(taskCtx core.SubTaskContext) errors.Error
 - func CollectWorkitemTypes(taskCtx core.SubTaskContext) errors.Error
 - func CollectWorklogs(taskCtx core.SubTaskContext) errors.Error
 - func ConvertAccounts(taskCtx core.SubTaskContext) errors.Error
 - func ConvertBug(taskCtx core.SubTaskContext) errors.Error
 - func ConvertBugChangelog(taskCtx core.SubTaskContext) errors.Error
 - func ConvertBugCommit(taskCtx core.SubTaskContext) errors.Error
 - func ConvertBugLabels(taskCtx core.SubTaskContext) errors.Error
 - func ConvertIteration(taskCtx core.SubTaskContext) errors.Error
 - func ConvertStory(taskCtx core.SubTaskContext) errors.Error
 - func ConvertStoryChangelog(taskCtx core.SubTaskContext) errors.Error
 - func ConvertStoryCommit(taskCtx core.SubTaskContext) errors.Error
 - func ConvertStoryLabels(taskCtx core.SubTaskContext) errors.Error
 - func ConvertSubWorkspace(taskCtx core.SubTaskContext) errors.Error
 - func ConvertTask(taskCtx core.SubTaskContext) errors.Error
 - func ConvertTaskChangelog(taskCtx core.SubTaskContext) errors.Error
 - func ConvertTaskCommit(taskCtx core.SubTaskContext) errors.Error
 - func ConvertTaskLabels(taskCtx core.SubTaskContext) errors.Error
 - func ConvertWorklog(taskCtx core.SubTaskContext) errors.Error
 - func EnrichBugStatusLastStep(taskCtx core.SubTaskContext) errors.Error
 - func EnrichStoryStatusLastStep(taskCtx core.SubTaskContext) errors.Error
 - func ExtractAccounts(taskCtx core.SubTaskContext) errors.Error
 - func ExtractBugChangelog(taskCtx core.SubTaskContext) errors.Error
 - func ExtractBugCommits(taskCtx core.SubTaskContext) errors.Error
 - func ExtractBugCustomFields(taskCtx core.SubTaskContext) errors.Error
 - func ExtractBugStatus(taskCtx core.SubTaskContext) errors.Error
 - func ExtractBugs(taskCtx core.SubTaskContext) errors.Error
 - func ExtractCompanies(taskCtx core.SubTaskContext) errors.Error
 - func ExtractIterations(taskCtx core.SubTaskContext) errors.Error
 - func ExtractStories(taskCtx core.SubTaskContext) errors.Error
 - func ExtractStoryBugs(taskCtx core.SubTaskContext) errors.Error
 - func ExtractStoryCategories(taskCtx core.SubTaskContext) errors.Error
 - func ExtractStoryChangelog(taskCtx core.SubTaskContext) errors.Error
 - func ExtractStoryCommits(taskCtx core.SubTaskContext) errors.Error
 - func ExtractStoryCustomFields(taskCtx core.SubTaskContext) errors.Error
 - func ExtractStoryStatus(taskCtx core.SubTaskContext) errors.Error
 - func ExtractSubWorkspaces(taskCtx core.SubTaskContext) errors.Error
 - func ExtractTaskChangelog(taskCtx core.SubTaskContext) errors.Error
 - func ExtractTaskCommits(taskCtx core.SubTaskContext) errors.Error
 - func ExtractTaskCustomFields(taskCtx core.SubTaskContext) errors.Error
 - func ExtractTasks(taskCtx core.SubTaskContext) errors.Error
 - func ExtractWorkitemTypes(taskCtx core.SubTaskContext) errors.Error
 - func ExtractWorklogs(taskCtx core.SubTaskContext) errors.Error
 - func GetRawMessageArrayFromResponse(res *http.Response) ([]json.RawMessage, errors.Error)
 - func GetRawMessageDirectFromResponse(res *http.Response) ([]json.RawMessage, errors.Error)
 - func GetTotalPagesFromResponse(r *http.Response, args *helper.ApiCollectorArgs) (int, errors.Error)
 - func NewTapdApiClient(taskCtx core.TaskContext, connection *models.TapdConnection) (*helper.ApiAsyncClient, errors.Error)
 - type BugChangelogItemResult
 - type Data
 - type Page
 - type SimpleBug
 - type SimpleStory
 - type SimpleTask
 - type StatusMappings
 - type StoryChangelogItemResult
 - type TapdApiParams
 - type TapdOptions
 - type TapdTaskData
 - type TaskChangelogItemResult
 - type TransformationRules
 - type TypeMapping
 - type TypeMappings
 
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: true, 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: true, 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}, }
      View Source
      
  
    var IssueIdGen *didgen.DomainIdGenerator
    
      View Source
      
  
    var IterIdGen *didgen.DomainIdGenerator
    
      View Source
      
  
    var UserIdGen *didgen.DomainIdGenerator
    
      View Source
      
  
var WorkspaceIdGen *didgen.DomainIdGenerator
    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 GetTotalPagesFromResponse ¶
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 SimpleStory ¶
type SimpleStory struct {
	Id uint64
}
    type SimpleTask ¶
type SimpleTask struct {
	Id uint64
}
    type StatusMappings ¶ added in v0.14.2
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 TapdOptions ¶
type TapdTaskData ¶
type TapdTaskData struct {
	Options    *TapdOptions
	ApiClient  *helper.ApiAsyncClient
	Since      *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
      ¶
    
- account_collector.go
 - account_converter.go
 - account_extractor.go
 - api_client.go
 - bug_changelog_collector.go
 - bug_changelog_converter.go
 - bug_changelog_extractor.go
 - bug_collector.go
 - bug_commit_collector.go
 - bug_commit_converter.go
 - bug_commit_extractor.go
 - bug_converter.go
 - bug_custom_fields_collector.go
 - bug_custom_fields_extractor.go
 - bug_extractor.go
 - bug_label_convertor.go
 - bug_status_collector.go
 - bug_status_extractor.go
 - bug_status_last_step_collector.go
 - bug_status_last_step_enricher.go
 - company_collector.go
 - company_extractor.go
 - iteration_collector.go
 - iteration_converter.go
 - iteration_extractor.go
 - shared.go
 - story_bug_collector.go
 - story_bug_extractor.go
 - story_category_collector.go
 - story_category_extractor.go
 - story_changelog_collector.go
 - story_changelog_converter.go
 - story_changelog_extractor.go
 - story_collector.go
 - story_commit_collector.go
 - story_commit_converter.go
 - story_commit_extractor.go
 - story_converter.go
 - story_custom_fields_collector.go
 - story_custom_fields_extractor.go
 - story_extractor.go
 - story_label_convertor.go
 - story_status_collector.go
 - story_status_extractor.go
 - story_status_last_step_collector.go
 - story_status_last_step_enricher.go
 - sub_workspace_collector.go
 - sub_workspace_converter.go
 - sub_workspace_extractor.go
 - task_changelog_collector.go
 - task_changelog_converter.go
 - task_changelog_extractor.go
 - task_collector.go
 - task_commit_collector.go
 - task_commit_converter.go
 - task_commit_extractor.go
 - task_converter.go
 - task_custom_fields_collector.go
 - task_custom_fields_extractor.go
 - task_data.go
 - task_extractor.go
 - task_label_convertor.go
 - workitem_type_collector.go
 - workitem_type_extractor.go
 - worklog_collector.go
 - worklog_converter.go
 - worklog_extractor.go
 
 Click to show internal directories. 
   Click to hide internal directories.