Change log level to info for inaccessible Jira issue links#318
Merged
kkaarreell merged 1 commit intomainfrom Feb 12, 2026
Merged
Change log level to info for inaccessible Jira issue links#318kkaarreell merged 1 commit intomainfrom
kkaarreell merged 1 commit intomainfrom
Conversation
This makes permission or non-existence issues more visible when attempting to link Jira issues, as they were previously only logged at debug level. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideRaises the log level from debug to info when Jira issue link creation fails because the target issue does not exist or is inaccessible, making these failures more visible in logs. Sequence diagram for Jira issue link failure logging at info levelsequenceDiagram
participant JiraService
participant JiraAPI
participant Logger
JiraService->>JiraAPI: add_issue_links(linked_key)
JiraAPI-->>JiraService: JIRAError
alt logger_present
JiraService->>Logger: info(Target issue does not exist or is not accessible)
else no_logger
JiraService-->>JiraService: skip_logging
end
JiraService-->>JiraService: continue_with_next_link
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Consider logging the exception details (e.g., status code or error message) alongside the Jira key to make the INFO log more actionable for diagnosing why the issue is inaccessible.
- If this path can be hit frequently in normal operation, it may be worth evaluating whether INFO is the right level here to avoid excessive log noise in high-volume environments.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Consider logging the exception details (e.g., status code or error message) alongside the Jira key to make the INFO log more actionable for diagnosing why the issue is inaccessible.
- If this path can be hit frequently in normal operation, it may be worth evaluating whether INFO is the right level here to avoid excessive log noise in high-volume environments.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This makes permission or non-existence issues more visible when attempting to link Jira issues, as they were previously only logged at debug level.
🤖 Generated with Claude Code
Summary by Sourcery
Enhancements: