[PR #144] feat(jira): keep description structure and add comments #134

Open
opened 2026-10-18 21:14:37 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/oikb/pull/144
Author: @walkerobrien-cw
Created: 10/11/2026
Status: 🔄 Open

Base: main ← Head: feat/jira-markdown


📝 Commits (1)

  • 0c553d2 feat(jira): keep description structure and add comments

📊 Changes

4 files changed (+122 additions, -2 deletions)

View changed files

📝 CHANGELOG.md (+11 -0)
📝 src/oikb/cli.py (+1 -0)
📝 src/oikb/connectors/jira.py (+32 -2)
➕ tests/test_jira.py (+78 -0)

📄 Description

What

  • ADF descriptions keep their structure. _adf_to_text handled only paragraphs, headings and code blocks, so anything else in a description disappeared from the synced file. Now:
    • bulleted, numbered and nested lists become markdown lists;
    • tables become markdown tables;
    • panels keep their text, and blockquotes are quoted.
  • comments=true (e.g. jira:ENG?comments=true) asks the search for the comment field and appends each comment's author, date and body under ## Comments. Adding a comment changes the issue's updated, so the existing checksum already picks it up.
  • Source options are URL-decoded, so a JQL query can contain & as %26 instead of being split into separate options. Unencoded sources parse the same as before.

Tests

New tests/test_jira.py, 7 cases. pytest passes: 59 tests.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/oikb/pull/144 **Author:** [@walkerobrien-cw](https://github.com/walkerobrien-cw) **Created:** 10/11/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/jira-markdown` --- ### 📝 Commits (1) - [`0c553d2`](https://github.com/open-webui/oikb/commit/0c553d23a084372a265c9f5859183d6beb1df7d1) feat(jira): keep description structure and add comments ### 📊 Changes **4 files changed** (+122 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+11 -0) 📝 `src/oikb/cli.py` (+1 -0) 📝 `src/oikb/connectors/jira.py` (+32 -2) ➕ `tests/test_jira.py` (+78 -0) </details> ### 📄 Description ## What - **ADF descriptions keep their structure.** `_adf_to_text` handled only paragraphs, headings and code blocks, so anything else in a description disappeared from the synced file. Now: - bulleted, numbered and nested lists become markdown lists; - tables become markdown tables; - panels keep their text, and blockquotes are quoted. - **`comments=true`** (e.g. `jira:ENG?comments=true`) asks the search for the `comment` field and appends each comment's author, date and body under `## Comments`. Adding a comment changes the issue's `updated`, so the existing checksum already picks it up. - **Source options are URL-decoded,** so a JQL query can contain `&` as `%26` instead of being split into separate options. Unencoded sources parse the same as before. ## Tests New `tests/test_jira.py`, 7 cases. `pytest` passes: 59 tests. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/oikb#134
No description provided.