Add issue's dependencies informations in issue API endpoint #9968

Closed
opened 2025-11-02 08:54:35 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @kvitrvn on GitHub (Dec 12, 2022).

Feature Description

I think it will be great if the Gitea issue API response can send a list of its dependencies if they exists in addition to current informations.

The API issue response could be:

"_comment": "current informations ommit for brevity"
"repository": {
    "id": 1,
    "name": "test",
    "owner": "root",
    "full_name": "root/test"
},
"dependencies": [
    {
      "id": 1,
      "title": "ticket 1",
      "url": "http://localhost:3000/api/v1/repos/root/test/issues/1",
      "html_url": "http://localhost:3000/root/test/issues/1"
    }
]

I'm currently working on it to propose a PR if it's accepted 😃

Screenshots

No response

Originally created by @kvitrvn on GitHub (Dec 12, 2022). ### Feature Description I think it will be great if the Gitea issue API response can send a list of its dependencies if they exists in addition to current informations. The API issue response could be: ```json "_comment": "current informations ommit for brevity" "repository": { "id": 1, "name": "test", "owner": "root", "full_name": "root/test" }, "dependencies": [ { "id": 1, "title": "ticket 1", "url": "http://localhost:3000/api/v1/repos/root/test/issues/1", "html_url": "http://localhost:3000/root/test/issues/1" } ] ``` I'm currently working on it to propose a PR if it's accepted :smiley: ### Screenshots _No response_
GiteaMirror added the type/proposaltype/feature labels 2025-11-02 08:54:35 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9968