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

Merged

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.

@yuhongsun96 yuhongsun96 force-pushed the fix-jira-content-extraction branch from bdb5c12 to afc4bc6 Compare September 8, 2024 18:26
@yuhongsun96 yuhongsun96 merged commit 0896d3b into onyx-dot-app:main Sep 8, 2024
0 of 6 checks passed
rajivml pushed a commit to UiPath/danswer that referenced this pull request Oct 2, 2024
rajivml pushed a commit to UiPath/danswer that referenced this pull request Oct 2, 2024
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