Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FABB-73: Add error handling for Jira getIssue 404 #194

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

elainefigma
Copy link
Collaborator

@elainefigma elainefigma commented Dec 13, 2023

Suppose you do not have permissions to access a particular Jira issue. Then, the Jira getIssue request gives you a 404.

Right now, we're mapping this to 500 errors in associateEntity. However, since this is an expected case, this PR tweaks the error handling to map these to 404 errors in the endpoint.

Ticket: https://figlassian.atlassian.net/browse/FABB-73

@elainefigma elainefigma changed the title Add error handling for Jira getIssue 404 FABB-73: Add error handling for Jira getIssue 404 Dec 13, 2023
@elainefigma elainefigma marked this pull request as ready for review December 13, 2023 01:31
Copy link
Collaborator

@akostevich-atlassian akostevich-atlassian left a comment

Choose a reason for hiding this comment

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

@elainefigma , while the changes looks good, please, do not merge the PR until we investigate a scenario when an HTTP 404 error occurs. Please, see more detail in the ticket.

@akostevich-atlassian
Copy link
Collaborator

@elainefigma , we have investigated the root cause of this issue. I've added more detail on our finding in Slack and created another PR with the fix:

#218

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