tasks

package
v0.14.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExtractCustomizedFieldsMeta = core.SubTaskMeta{Name: "extractCustomizedFields",
	EntryPoint:       ExtractCustomizedFields,
	EnabledByDefault: true,
	Description:      "extract customized fields",
}

Functions

func ExtractCustomizedFields

func ExtractCustomizedFields(taskCtx core.SubTaskContext) errors.Error

ExtractCustomizedFields extracts fields from raw data tables and assigns to domain layer tables

Types

type MappingRules

type MappingRules struct {
	Table         string            `json:"table" example:"issues"`
	RawDataTable  string            `json:"_raw_data_table" example:"_raw_jira_api_issues"`
	RawDataParams string            `json:"_raw_data_params" example:"{\"ConnectionId\":1,\"BoardId\":8}"`
	Mapping       map[string]string `json:"mapping" example:"x_text:fields.created"`
}

type Options

type Options struct {
	TransformationRules []MappingRules `json:"transformationRules"`
}

type TaskData

type TaskData struct {
	Options *Options
}

Jump to

Keyboard shortcuts

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