Skip to content

docs: explain what to do when Codacy loses access to Jira [OD-628] - #2838

Open
claudiacodacy wants to merge 1 commit into
masterfrom
docs-jira-degraded-status-od-628
Open

claudiacodacy wants to merge 1 commit into
masterfrom
docs-jira-degraded-status-od-628

Conversation

@claudiacodacy

Copy link
Copy Markdown
Contributor

Documents the Jira integration's degraded ("access lost") state on the organization Jira integration page, for OD-628.

The new section What to do when Codacy loses access to Jira covers:

  • What stops while access is lost (ticket creation, Security and risk management imports) and that existing items stay.
  • Likely causes. Atlassian returns one error for every cause, so the page lists the usual ones.
  • Where the state shows: access lost on the Integrations list, the banner on the Jira page and organization pages, and the disabled Create Jira ticket tooltip.
  • How organization admins and managers reconnect Jira, and a warning not to uninstall instead (uninstalling deletes open items).

UI labels are taken from codacy-spa @4eb7a36 (OD-626). Reconnect behaviour (same Jira site only, keeps items and tickets) is from OD-1202.

Open: one TODO: verify marker in step 2 of Reconnecting Jira: what Codacy shows when the user authorizes a different Jira site (the API returns 409; the SPA message is unconfirmed). Resolve before merging.

👀 Live preview

https://docs.codacy.com/organizations/integrations/jira-integration/#what-to-do-when-codacy-loses-access-to-jira (on the branch preview deployment)

🚧 To do

  • If relevant, include the Jira issue key at the end of the pull request title
  • Perform a self-review of the changes (mkdocs build --strict and Vale pass)
  • Fix any issues reported by the CI/CD
  • Resolve the TODO: verify marker

🤖 Generated with Claude Code

Add a section to the organization Jira integration page covering the
access lost state: what stops, likely causes, where it shows in the UI,
and how org admins and managers reconnect Jira without uninstalling.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@claudiacodacy
claudiacodacy requested a review from a team as a code owner November 26, 2026 12:01
@github-actions

Copy link
Copy Markdown
Contributor

Overall readability score: 54.71 (🟢 +0.05)

File Readability
jira-integration.md 58.73 (🟢 +15.1)
View detailed metrics

🟢 - Shows an increase in readability
🔴 - Shows a decrease in readability

File Readability FRE GF ARI CLI DCRS
jira-integration.md 58.73 35.47 10.48 12.3 11.66 6.7
  🟢 +15.1 🟢 +6.39 🟢 +3.55 🟢 +3 🟢 +0.18 🟢 +1.04

Averages:

  Readability FRE GF ARI CLI DCRS
Average 54.71 43.1 10.76 12.23 12.31 7.94
  🟢 +0.05 🟢 +0.02 🟢 +0.01 🟢 +0.01 🟢 +0 🟢 +0
View metric targets
Metric Range Ideal score
Flesch Reading Ease 100 (very easy read) to 0 (extremely difficult read) 60
Gunning Fog 6 (very easy read) to 17 (extremely difficult read) 8 or less
Auto. Read. Index 6 (very easy read) to 14 (extremely difficult read) 8 or less
Coleman Liau Index 6 (very easy read) to 17 (extremely difficult read) 8 or less
Dale-Chall Readability 4.9 (very easy read) to 9.9 (extremely difficult read) 6.9 or less

@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@codacy-production codacy-production Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

⚠️ Resolve issues before merging

The documentation should be corrected before merging: the alternate-site reconnection flow remains incomplete, and the uninstall warning does not account for the existing import limits, which could lead users to lose items permanently.

Test suggestions

  • Verify the rendered documentation contains the access-lost effects, causes, indicators, and reconnection instructions.
  • Verify the warning about uninstalling and deleting open items is rendered correctly.
  • Verify the alternate-site reconnection behavior and resulting UI message are documented accurately.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify the rendered documentation contains the access-lost effects, causes, indicators, and reconnection instructions.
2. Verify the warning about uninstalling and deleting open items is rendered correctly.
3. Verify the alternate-site reconnection behavior and resulting UI message are documented accurately.

TIP How was this review? Give us feedback

Reconnecting gives Codacy a new access token for the same Jira site. It keeps your settings, security items, and linked Jira tickets.

!!! important
Don't uninstall the Jira integration to fix lost access. Uninstalling deletes all associated open items, and installing again imports your Jira issues as new items.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 MEDIUM RISK

After uninstalling, older Jira issues and issues without the security label won't be reimported, although this warning implies they will return as new items. Consider stating the import limits and the resulting risk of permanent item loss.

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.


1. On Atlassian's website, sign in with a Jira account that has admin permissions and access to the same Jira site, then authorize Codacy. To connect a different Jira site, uninstall the integration and install it again.

<!-- TODO: verify what Codacy shows when the account authorizes a different Jira site (the API returns 409 Conflict per OD-1202; the SPA message is unconfirmed) -->

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 MEDIUM RISK

The reconnection instructions still leave the different-site authorization behavior unverified, so the documented recovery flow is incomplete. Confirm the actual UI response and replace this TODO with accurate user-facing guidance before merging.

TIP React 👍 if this review is right, or reply with what's wrong and how it could be better to help improve the reviewer.

This branch was successfully deployed

1 active deployment
Netlify — 1afc2de9 Deployed Nov 26, 2026 by github-actions[bot]
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.

1 participant