Skip to content

chore: Clean up dead jira code#100

Open
spalmurray wants to merge 5 commits intomainfrom
spalmurray/remove-jira-dead-code
Open

chore: Clean up dead jira code#100
spalmurray wants to merge 5 commits intomainfrom
spalmurray/remove-jira-dead-code

Conversation

@spalmurray
Copy link
Copy Markdown
Contributor

  • Remove JiraService and jira pip dependency
  • Remove JIRA external link type and add data migration
  • Remove Jira from frontend components

This stuff is back from when we were going to read from jira for the initial firetower MVP. We have since moved away from that and this code is not needed anymore.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't think there are any of these, but for the sake of completeness may as well

@spalmurray spalmurray marked this pull request as ready for review February 5, 2026 21:39
@taylor-osler-sentry taylor-osler-sentry self-requested a review March 18, 2026 18:49
@spalmurray spalmurray requested a review from a team as a code owner March 26, 2026 14:18
@spalmurray spalmurray force-pushed the spalmurray/remove-jira-dead-code branch from 0c43f58 to e10f9c7 Compare March 26, 2026 19:51
@spalmurray
Copy link
Copy Markdown
Contributor Author

Note that we should delay until the jira inc migration is complete because we can then remove the domain and redirect as well.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@deserialize
class JIRAConfig:
domain: str
account: str
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Config files have stale fields removed from JIRAConfig

Medium Severity

The JIRAConfig class had account, api_key, and severity_field removed, but config.ci.toml (used by CI via CONFIG_FILE_PATH) and config.example.toml still define those fields under [jira]. If pyserde's from_toml raises on unknown fields, backend test CI would break. Even if pyserde silently ignores them, the config files now contain stale fields that don't match JIRAConfig and could confuse developers setting up the project.

Fix in Cursor Fix in Web

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants