Skip to content

Rename unify.pm.issues to unify.ticketing.tickets#2

Merged
sonnyt merged 1 commit into
mainfrom
claude/api-endpoint-migration-5vvdx7
Jul 15, 2026
Merged

Rename unify.pm.issues to unify.ticketing.tickets#2
sonnyt merged 1 commit into
mainfrom
claude/api-endpoint-migration-5vvdx7

Conversation

@sonnyt

@sonnyt sonnyt commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Mirrors the Unify API migration from the /pm/issues endpoint to /ticketing/tickets.

Changes

  • Renamed bundleup/unify/pm.pybundleup/unify/ticketing.py: PM class → Ticketing, issues()tickets() (path pm/issuesticketing/tickets)
  • Updated the accessor in bundleup/unify/__init__.py: self.pmself.ticketing
  • Updated tests (tests/test_unify.py, tests/test_bundleup.py), README, and examples

Verification

  • pytest — all 87 tests pass
  • scripts/check-sdk-parity.js in the API repo reports no missing ticketing.tickets method for this SDK

Note

This SDK was already missing the crm and drive namespaces and the chat.users / chat.message / git.branches methods relative to the canonical API surface. That drift is pre-existing and out of scope for this change.

🤖 Generated with Claude Code

https://claude.ai/code/session_014zVgT6VdGxc5a96oMxJU87


Generated by Claude Code

Mirror the Unify API migration from the /pm/issues endpoint to
/ticketing/tickets:

- Rename bundleup/unify/pm.py -> ticketing.py (PM class -> Ticketing,
  issues() -> tickets(), path pm/issues -> ticketing/tickets)
- Update the unify.ticketing accessor in __init__.py
- Update tests, README, and examples

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014zVgT6VdGxc5a96oMxJU87

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 52f6d55889

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"""
List ticketing tickets
"""
url = self._build_url("ticketing/tickets")

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Point ticketing calls at the published PM endpoint

The currently published BundleUp Unified API reference still documents the Jira/Linear issue list route as GET /v1/pm/issues (https://bundleup.mintlify.app/api-reference/project-management/list-issues), not /v1/ticketing/tickets. With this path, every unify.ticketing.tickets() call against the documented production API will hit an undocumented route and fail with 404 instead of returning issues, unless the server-side migration is deployed first or a compatibility alias is added.

Useful? React with 👍 / 👎.

@sonnyt
sonnyt merged commit 8c1d4f9 into main Jul 15, 2026
7 checks passed
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