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 endpoints not returning issue tag/branch #13918

Closed
2 of 6 tasks
dusatvoj opened this issue Dec 9, 2020 · 1 comment · Fixed by #13946
Closed
2 of 6 tasks

API endpoints not returning issue tag/branch #13918

dusatvoj opened this issue Dec 9, 2020 · 1 comment · Fixed by #13946
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

@dusatvoj
Copy link

dusatvoj commented Dec 9, 2020

  • Gitea version (or commit ref): 1.13.0
  • Git version: 2.20.1
  • Operating system: Debian 10
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

Description

If I'm not blind, Gitea API not returning tag / branch assigned to the issue
I've tried:

... And searching through whole page but not found

Screenshots

@a1012112796 a1012112796 added 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. labels Dec 10, 2020
@zeripath
Copy link
Contributor

OK so this is partly because github does not have assigned tag/branch in its API - so we'd need to add it.

zeripath added a commit to zeripath/gitea that referenced this issue Dec 11, 2020
This PR adds Ref to api.Issue and adds the backend parts to the migrator.

Fix go-gitea#13918

Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath added a commit that referenced this issue Dec 13, 2020
* Add Ref to api.Issue

This PR adds Ref to api.Issue and adds the backend parts to the migrator.

Fix #13918

Signed-off-by: Andrew Thornton <art27@cantab.net>
@go-gitea go-gitea locked and limited conversation to collaborators Jan 18, 2021
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