[feature]: issue-relation support in API
Is there an existing issue for this?
- [X] I have searched the existing issues
Summary
There is no issue-relation API endpoint in the API.
There is such an endpoint for the app on /api/workspaces/{workspace}/projects/{project}/issues/{issue}/issue-relation/ but there is no such endpoint in the API on /api/v1/workspaces/{workspace}/projects/{project}/issues/{issue}/issue-relation/
Why should this be worked on?
If you are migrating issues from another system, or just want to managed relates_to/blocked_by/blocking relationships between issues using the API that is currently not possible and you must do it through the UI or directly in the database.
It would be nice if it also supported overriding with created_by and created_at like the other API endpoints, when migrating from another system that's very useful.
To anybody landing here and want a workaround. We abuse the API that is used by the web app on:
POST /api/workspaces/{workspace}/projects/{project_id}/issues/{issue_id}/issue-relation/
By passing the session-id cookie and that working for now, but that's not the official v1 API so this feature is still needed in the official API.
Hey @tobias-urdin ! Thanks you for creating this issue - I ran into the same problem and found the same solution before bumping into your ticket :)
Could you tell me how do you like this setup now? Do you still use it? How long does the cookie live for?