Repository navigation
ref(flags): Remove organizations:jira-explicit-mapping-removals (backend) - #130394
Conversation
…nd gate The flag reached 100% GA in the options automator on 2026-08-10, so the sync_status_forward payload is always treated as a diff. Co-authored-by: charlie.luo <[email protected]>
There was a problem hiding this comment.
cc @getsentry/integration-platform (CODEOWNERS for /src/sentry/integrations/) and @getsentry/issue-workflow (the flag's owner.team in flagpole). @Christinarlong is requested as the flag's author.
CI is green apart from getsentry dispatch, which fails on every PR this automation opens: it gates on the author having write permission and the author is cursor[bot]. A collaborator needs to add the Trigger: getsentry tests label to run it.
The hunk worth a second pair of eyes is in test_update_organization_config_sync_keys. That test has no @with_feature decorator and never mentions the flag, but its last block asserted that an empty sync_status_forward payload wipes every mapping — behaviour that only existed on the flag's False branch. It now removes the mapping with an explicit {10100: None} and still asserts the derived sync_status_forward bool flips to False.
Merge order: #130393 (frontend reads) → this PR → getsentry/sentry-options-automator#10534 (flagpole value) → #130395 (registration).
Sent by Cursor Automation: Feature flag cleanup


Remove the backend read of
organizations:jira-explicit-mapping-removals. This flag was fully rolled out in the automator in #9152 on 8/10, and hasn't been touched since. The gate was added by #121198.Collapse value is
True, soupdate_organization_configalways treatssync_status_forwardas a diff:_validate_project_status_mapping_difflosesallow_explicit_removalsand_reconcile_project_status_mappingslosesremove_omitted.Two hunks a reviewer should look at:
*_without_featuretests intest_integration.pyare deleted rather than retargeted — legacy replacement mode no longer exists for any org, so there is no surviving gate for them to exercise.test_update_organization_config_sync_keysasserted that an empty payload wipes every mapping. That was the legacy behaviour, so the last block now removes the mapping with an explicit{10100: None}and still asserts the derivedsync_status_forwardbool flips toFalse.Left alone: the
jira.sync_status_forward.omits_existing_mappingslog and itsomitted_count, which are marked "only used for tracking rollout of feature". Happy to drop them in a follow-up commit if the team is done with the signal.Second of four, in merge order: #130393 (frontend reads) → this PR → automator value →
temporary.pyregistration.Verified locally:
ruff check,ruff format --check, and sentry'sflake8_pluginrules on the three touched files. No local venv here, so the pytest run is CI's.Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.