jiraDefaultFieldMap returns Jira-specific defaults for status and priority mappings.
()
| 154 | |
| 155 | // jiraDefaultFieldMap returns Jira-specific defaults for status and priority mappings. |
| 156 | func 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. |
| 178 | func scanExistingTasks(dir string, verbose bool) (ids []string, externalIDs map[string]bool, err error) { |
no outgoing calls
no test coverage detected