MCPcopy Create free account
hub / github.com/driangle/taskmd / jiraDefaultFieldMap

Function jiraDefaultFieldMap

apps/cli/internal/sync/import_engine.go:156–175  ·  view source on GitHub ↗

jiraDefaultFieldMap returns Jira-specific defaults for status and priority mappings.

()

Source from the content-addressed store, hash-verified

154
155// jiraDefaultFieldMap returns Jira-specific defaults for status and priority mappings.
156func jiraDefaultFieldMap() FieldMap {
157 return FieldMap{
158 Status: map[string]string{
159 "To Do": "pending",
160 "In Progress": "in-progress",
161 "Done": "completed",
162 "open": "pending",
163 "closed": "completed",
164 },
165 Priority: map[string]string{
166 "Highest": "critical",
167 "High": "high",
168 "Medium": "medium",
169 "Low": "low",
170 "Lowest": "low",
171 },
172 LabelsToTags: true,
173 AssigneeToOwner: true,
174 }
175}
176
177// scanExistingTasks scans the directory for task IDs and external_ids.
178func scanExistingTasks(dir string, verbose bool) (ids []string, externalIDs map[string]bool, err error) {

Callers 1

resolveImportFieldMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected