diff --git a/src/dispatch/case/messaging.py b/src/dispatch/case/messaging.py index 48f377b28191..ae9d54a02a15 100644 --- a/src/dispatch/case/messaging.py +++ b/src/dispatch/case/messaging.py @@ -37,7 +37,7 @@ def send_case_close_reminder(case: Case, db_session: SessionLocal): items = [ { "name": case.name, - "dispatch_ui_case_url": f"{DISPATCH_UI_URL}/{case.project.organization.name}/cases/{case.id}", # noqa + "dispatch_ui_case_url": f"{DISPATCH_UI_URL}/{case.project.organization.name}/cases/{case.name}", # noqa "title": case.title, "status": case.status, } @@ -77,7 +77,7 @@ def send_case_triage_reminder(case: Case, db_session: SessionLocal): "name": case.name, "title": case.title, "status": case.status, - "dispatch_ui_case_url": f"{DISPATCH_UI_URL}/{case.project.organization.name}/cases/{case.id}", # noqa + "dispatch_ui_case_url": f"{DISPATCH_UI_URL}/{case.project.organization.name}/cases/{case.name}", # noqa } ] diff --git a/src/dispatch/plugins/dispatch_slack/case/messages.py b/src/dispatch/plugins/dispatch_slack/case/messages.py index 76a52b52e83a..9163f6d57644 100644 --- a/src/dispatch/plugins/dispatch_slack/case/messages.py +++ b/src/dispatch/plugins/dispatch_slack/case/messages.py @@ -78,7 +78,7 @@ def create_case_message(case: Case, channel_id: str) -> list[Block]: accessory=Button( text="View", action_id="button-link", - url=f"{DISPATCH_UI_URL}/{case.project.organization.slug}/cases/{case.id}", + url=f"{DISPATCH_UI_URL}/{case.project.organization.slug}/cases/{case.name}", ), ), Section(text=f"*Description* \n {case.description}"), diff --git a/src/dispatch/static/dispatch/src/case/CaseSignalInstanceTab.vue b/src/dispatch/static/dispatch/src/case/CaseSignalInstanceTab.vue index c51499dabbd0..c0e549d8ce2f 100644 --- a/src/dispatch/static/dispatch/src/case/CaseSignalInstanceTab.vue +++ b/src/dispatch/static/dispatch/src/case/CaseSignalInstanceTab.vue @@ -7,7 +7,7 @@ - diff --git a/src/dispatch/static/dispatch/src/case/Page.vue b/src/dispatch/static/dispatch/src/case/Page.vue index d0fc5e364105..e679c53718ec 100644 --- a/src/dispatch/static/dispatch/src/case/Page.vue +++ b/src/dispatch/static/dispatch/src/case/Page.vue @@ -1,6 +1,7 @@