Skip to content

fix(export): send suppress_sla_notification_comments with each Jira project - #17152

Open
devGregA wants to merge 1 commit into
DefectDojo:devfrom
devGregA:fix/export-suppress-sla-notification-comments
Open

devGregA wants to merge 1 commit into
DefectDojo:devfrom
devGregA:fix/export-suppress-sla-notification-comments

Conversation

@devGregA

@devGregA devGregA commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Description

The export API's ExportJiraProjectSerializer lists its fields explicitly and left out suppress_sla_notification_comments, so an export of a Jira project configuration silently dropped that setting and anything importing the export fell back to the default.

This adds the field to the serializer's field list (product- and engagement-level Jira projects both use it).

Test results

  • unittests/test_apiv2_export.py: the field-list assertion now includes the field, and a new test sets the flag to True and False on both a product and an engagement Jira project and checks that the exported value matches each way. The new test fails without the serializer change.
  • test_apiv2_export 173/173 passed (1 skipped), export_performance 15/15 passed, ruff clean.

Checklist

  • Make sure to rebase your PR against the very latest dev.
  • Your code is flake8 compliant.
  • Add applicable tests to the unit tests.

…roject

The product export lists the Jira project fields it sends, and it left out
suppress_sla_notification_comments, which JIRA_Project gained after the
export shipped. A Jira project now crosses with every field except
archived_at and archive_batch, as the product export docs already say.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant