Skip to content

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

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

Rename unify.pm.issues to unify.ticketing.tickets#4
sonnyt merged 2 commits 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 lib/bundleup/unify/pm.rblib/bundleup/unify/ticketing.rb: PM class → Ticketing, issuestickets (path pm/issuesticketing/tickets)
  • Updated the require_relative in lib/bundleup.rb and the client in lib/bundleup/unify.rb (@pm@ticketing)
  • Renamed and updated the spec (spec/bundleup/unify/ticketing_spec.rb), plus unify_spec.rb, README, and examples

Verification

  • rspec — all 77 examples pass
  • scripts/check-sdk-parity.js in the API repo reports no missing ticketing namespace file / 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 lib/bundleup/unify/pm.rb -> ticketing.rb (PM class -> Ticketing,
  issues -> tickets, path pm/issues -> ticketing/tickets)
- Update the require in lib/bundleup.rb and the client in unify.rb
- Rename and update the spec, 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: d6dfc173c8

ℹ️ 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".

class Ticketing < Base
# Fetches tickets from the connected ticketing tool.
def tickets(params = {})
response = connection.get('ticketing/tickets') do |req|

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 Use the documented PM issues route

The current BundleUp Unified API docs still list the project-management operation as GET /v1/pm/issues (docs), with no ticketing/tickets route exposed. With this path, every call through BundleUp::Unify::Ticketing#tickets will request /v1/ticketing/tickets and fail for Jira/Linear connections (typically 404), so the SDK loses the existing issue-listing endpoint.

Useful? React with 👍 / 👎.

@sonnyt sonnyt merged commit 0436b2c into main Jul 15, 2026
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.

3 participants