Skip to content

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

Closed
@kvitrvn

Description

@kvitrvn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions