EOD and Carryover tickets added
This commit is contained in:
@@ -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]:
|
||||
|
||||
Reference in New Issue
Block a user