From 5e54a3d06ebd8c199be11f8893864370a9647b54 Mon Sep 17 00:00:00 2001 From: Iris Ho Date: Fri, 6 Mar 2026 13:08:00 -0800 Subject: [PATCH] add jira filter to PR description --- .evergreen/scripts/resync-all-specs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.evergreen/scripts/resync-all-specs.py b/.evergreen/scripts/resync-all-specs.py index 1996d5d634..16782de9a8 100644 --- a/.evergreen/scripts/resync-all-specs.py +++ b/.evergreen/scripts/resync-all-specs.py @@ -7,6 +7,8 @@ from argparse import Namespace from subprocess import CalledProcessError +JIRA_FILTER = "https://jira.mongodb.org/issues/?jql=labels%20%3D%20automated-sync%20AND%20status%20!%3D%20Closed" + def resync_specs(directory: pathlib.Path, errored: dict[str, str]) -> None: """Actually sync the specs""" @@ -117,6 +119,7 @@ def write_summary(errored: dict[str, str], new: list[str], filename: str | None) pr_body += "\n -".join(new) pr_body += "\n" if pr_body != "": + pr_body = f"Jira tickets: {JIRA_FILTER}\n\n" + pr_body if filename is None: print(f"\n{pr_body}") else: