Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Allow navigating to any ticket by knowing its id only #140

Open
luolong opened this issue Sep 8, 2023 · 1 comment
Open

[FR] Allow navigating to any ticket by knowing its id only #140

luolong opened this issue Sep 8, 2023 · 1 comment

Comments

@luolong
Copy link

luolong commented Sep 8, 2023

I want to enable external issue tracker integration in Gitea projects to Taiga.

For this, I need to be able to provide a single URL template for a numeric ticket ID.
Because ticket links in Taiga contain ticket type element, there is no way to compose a universal issue reference link based on ticket number alone.

Moreover, I can't configure multiple links to Taiga issue tracker in Gitea, so I need a way to greate a link that can open any type of ticket referenced by its number in Taiga.

I propose to add a single endpoint that takes an id of any ticket as a path argument and redirects to a proper url based on a ticket type.

Something along the lines of:

GET /project/{project}/ticket/{id}
@mig5
Copy link

mig5 commented Nov 21, 2024

GET /project/{project}/ticket/{id}

I would go even further than that and suggest that every 'entity' (at least, a UserStory, Epic or Issue) should have a UUIDv4, and so it should be possible to find a story, epic or issue without even knowing the project slug.

Use case: I am importing from Pivotal Tracker which supports https://www.pivotaltracker.com/story/show/1234 or https://www.pivotaltracker.com/n/project/98765/story/show/1234 - both go to the same place.

As a result, we have a lot of comments/descriptions in content that happen to use the former style, depending on how the person pasted the link. This makes it hard to replace with a Taiga equivalent as part of our migration.

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

No branches or pull requests

2 participants