EOD and Carryover tickets added

This commit is contained in:
2026-08-27 15:46:15 -05:00
parent f3c9792117
commit ae74f78520
10 changed files with 224 additions and 59 deletions
+15
View File
@@ -9,6 +9,21 @@ from __future__ import annotations
from typing import List, Optional
from app import config
from app.status_rules import parse_status_list
def get_fulfilled_statuses() -> set[str]:
"""The two statuses that mean 'done, move to the Done pile'."""
return parse_status_list(
",".join(
[
config.get("FULFILLED_STATUS_WITH_RETURN", config.DEFAULT_FULFILLED_WITH_RETURN),
config.get(
"FULFILLED_STATUS_WITHOUT_RETURN", config.DEFAULT_FULFILLED_WITHOUT_RETURN
),
]
)
)
def suggest_jira_status(tracking_numbers: List[dict]) -> Optional[str]: