Skip to content

Commit

Permalink
Jira add key to semantic id (#3981)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhongsun96 authored Feb 13, 2025
1 parent 61058e5 commit 2850048
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/onyx/connectors/onyx_jira/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ def fetch_jira_issues_batch(
id=page_url,
sections=[Section(link=page_url, text=ticket_content)],
source=DocumentSource.JIRA,
semantic_identifier=issue.fields.summary,
semantic_identifier=f"{issue.key}: {issue.fields.summary}",
title=f"{issue.key} {issue.fields.summary}",
doc_updated_at=time_str_to_utc(issue.fields.updated),
primary_owners=list(people) or None,
# TODO add secondary_owners (commenters) if needed
Expand Down

0 comments on commit 2850048

Please sign in to comment.