fix: enhance priority handling in sort-config and JiraService

- Added a fallback mechanism in getPriorityValue to default to 'medium' when an unknown priority is encountered, improving robustness.
- Updated priority mapping in JiraService to change 'Highest' to 'urgent', aligning with new priority definitions.
This commit is contained in:
Julien Froidefond
2025-09-17 16:57:36 +02:00
parent ff5f887c6a
commit d427b88756
2 changed files with 7 additions and 2 deletions

View File

@@ -607,7 +607,7 @@ export class JiraService {
if (!jiraPriority) return 'medium';
const priorityMapping: Record<string, string> = {
'Highest': 'critical',
'Highest': 'urgent',
'High': 'high',
'Medium': 'medium',
'Low': 'low',