Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
integration-docs: Add jira-plugin screenshot config and image.
Niloth Pf6e847d02601
diff --git a/static/images/integrations/jira-plugin/001.png b/static/images/integrations/jira-plugin/001.pngnew file mode 100644index 00000000000..5f1e35cb9dbBinary files /dev/null and b/static/images/integrations/jira-plugin/001.png differdiff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.pyindex ee07c319178..3c482dcdfbf 100644--- a/zerver/lib/integrations.py+++ b/zerver/lib/integrations.py@@ -73,6 +73,7 @@ FIXTURELESS_INTEGRATIONS_WITH_SCREENSHOTS: list[str] = ["github-actions","google-calendar","jenkins",+ "jira-plugin","mastodon","mercurial","nagios",@@ -749,10 +750,7 @@ NO_SCREENSHOT_CONFIG = ("twitter",}# Python API Integrations that do not currently have screenshots in docs- | {- "git",- "jira-plugin",- }+ | {"git"}| NO_SCREENSHOT_WEBHOOKS| hubot_integration_names)diff --git a/zerver/tests/test_docs.py b/zerver/tests/test_docs.pyindex 85cbced3709..2825229ca49 100644--- a/zerver/tests/test_docs.py+++ b/zerver/tests/test_docs.py@@ -417,7 +417,7 @@ class DocPageTest(ZulipTestCase):# for the PythonAPIIntegrations, so we cannot avoid going out of sync# when adding/deleting screenshots.# Use this set to temporarily add exclusions to this test.- exception_images: set[str] = {}+ exception_images: set[str] = {"jira-plugin/001.png"}images_in_dir.update(exception_images)images_in_docs.update(exception_images)diff --git a/zerver/webhooks/fixtureless_integrations.py b/zerver/webhooks/fixtureless_integrations.pyindex 6607f4037fd..d1f3459cc5a 100644--- a/zerver/webhooks/fixtureless_integrations.py+++ b/zerver/webhooks/fixtureless_integrations.py@@ -104,6 +104,13 @@ JENKINS = ScreenshotContent(content=f"**Build:** [#{REVISION_NUMBER}](): FAILURE :cross_mark:",)+JIRA_PLUGIN = ScreenshotContent(+ topic=f"{TICKET_NUMBER}: {TASK_TITLE}",+ content=f"""{BO_NAME} **created** [{TICKET_NUMBER}]() - priority Medium, assigned to @**{KEVIN_NAME}**:++> {TASK_DESCRIPTION}""",+)+MASTODON = ScreenshotContent(topic="MIT Technology Review",content=f"""**[Don’t let hype about AI agents get ahead of reality](https://www.technologyreview.com/2025/07/03/1119545/dont-let-hype-about-ai-agents-get-ahead-of-reality/)**