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

[API] Manage Issue/Pull Dependencies #15393

Closed
6543 opened this issue Apr 10, 2021 · 0 comments · Fixed by #17935
Closed

[API] Manage Issue/Pull Dependencies #15393

6543 opened this issue Apr 10, 2021 · 0 comments · Fixed by #17935
Labels
modifies/api This PR adds API routes or modifies them type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@6543
Copy link
Member

6543 commented Apr 10, 2021

Gitea v1.14.0

Be able to get, set & delete Issue/Pull dependencies via api

ref: https://codeberg.org/gitnex/GitNex/issues/878

@6543 6543 added type/proposal The new feature has not been accepted yet but needs to be discussed first. modifies/api This PR adds API routes or modifies them labels Apr 10, 2021
@6543 6543 added this to the 1.15.0 milestone Apr 10, 2021
@6543 6543 mentioned this issue May 8, 2021
12 tasks
@6543 6543 modified the milestones: 1.15.0, 1.16.0 Jun 16, 2021
@lunny lunny modified the milestones: 1.16.0, 1.17.0 Nov 9, 2021
@techknowlogick techknowlogick modified the milestones: 1.17.0, 1.18.0 Jun 8, 2022
@lunny lunny modified the milestones: 1.18.0, 1.19.0 Oct 26, 2022
@lunny lunny removed this from the 1.19.0 milestone Feb 1, 2023
jolheiser pushed a commit that referenced this issue Mar 28, 2023
Adds API endpoints to manage issue/PR dependencies
* `GET /repos/{owner}/{repo}/issues/{index}/blocks` List issues that are
blocked by this issue
* `POST /repos/{owner}/{repo}/issues/{index}/blocks` Block the issue
given in the body by the issue in path
* `DELETE /repos/{owner}/{repo}/issues/{index}/blocks` Unblock the issue
given in the body by the issue in path
* `GET /repos/{owner}/{repo}/issues/{index}/dependencies` List an
issue's dependencies
* `POST /repos/{owner}/{repo}/issues/{index}/dependencies` Create a new
issue dependencies
* `DELETE /repos/{owner}/{repo}/issues/{index}/dependencies` Remove an
issue dependency

Closes #15393
Closes #22115

Co-authored-by: Andrew Thornton <art27@cantab.net>
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
modifies/api This PR adds API routes or modifies them type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants