Skip to content

Support Autolinks with alphanumeric or numeric IDs #2449

@douglascayers

Description

@douglascayers

GitHub updated their autolink feature to support either alphanumeric or numeric IDs.

This is a request to add support for the new is_alphanumeric: boolean argument, which indicates whether this autolink reference matches alphanumeric characters. If false, this autolink reference is a legacy autolink that only matches numeric characters.

Example Payload:

{
  "id": 1,
  "key_prefix": "TICKET-",
  "url_template": "https://example.com/TICKET?query=<num>",
  "is_alphanumeric": true
}

I'm interested in working on adding this feature. I'm a complete go novice, so I'm thankful 99% of the work for calling this API is already done 😅

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions