Skip to content

feat: support Confluence tiny links (/wiki/x/<code>) as pageId input#101

Merged
pchuri merged 1 commit intomainfrom
feat/support-tiny-links
Apr 13, 2026
Merged

feat: support Confluence tiny links (/wiki/x/<code>) as pageId input#101
pchuri merged 1 commit intomainfrom
feat/support-tiny-links

Conversation

@pchuri
Copy link
Copy Markdown
Owner

@pchuri pchuri commented Apr 13, 2026

Pull Request Template

Description

Support Confluence tiny links (/wiki/x/<code>) as pageId input in extractPageId.

When Confluence's "Copy link" or "Share" button is used, it generates a tiny link (e.g., https://example.atlassian.net/wiki/x/aBcDeFg). Previously, this format was not recognized by the CLI. This PR resolves tiny links by following the HTTP 302 redirect to obtain the actual page URL, then extracts the page ID using existing logic.

Closes #100

Type of Change

  • New feature (non-breaking change which adds functionality)

Testing

  • Tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings

Resolve tiny links by following HTTP redirects to obtain the actual page URL,
then extract the page ID using existing logic.

Closes #100
@pchuri pchuri merged commit dcccc8e into main Apr 13, 2026
6 checks passed
github-actions bot pushed a commit that referenced this pull request Apr 13, 2026
# [1.30.0](v1.29.1...v1.30.0) (2026-04-13)

### Features

* support Confluence tiny links (/wiki/x/<code>) as pageId input ([#101](#101)) ([dcccc8e](dcccc8e)), closes [#100](#100)
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.30.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Support Confluence tiny links (/wiki/x/<code>) as pageId input

1 participant