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

Fix content extraction from JIRA with API v2 vs. v3 #1678

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

artmatsak
Copy link
Contributor

This PR fixes the following issues with content extraction from JIRA issues:

  1. When using API version 2, comment body text is not extracted.
  2. When using API version 3, issue description is not extracted.

This is because API version 3 returns ADF for issue descriptions and comment bodies, whereas API version 2 returns plain text. #1329 addressed the problem with comments for API version 3 but broke comment extraction when using API version 2.

Note that this PR does not address the problem with the currently used ADF conversion function being broken (#1677), so using JIRA API version 3 still isn't advised.

Copy link

vercel bot commented Jun 21, 2024

@artmatsak is attempting to deploy a commit to the Danswer Team on Vercel.

A member of the Team first needs to authorize it.

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.

None yet

1 participant