Skip to content

Bugfix: Set project field via api#37188

Closed
bircni wants to merge 3 commits intogo-gitea:mainfrom
bircni:fix/project-api
Closed

Bugfix: Set project field via api#37188
bircni wants to merge 3 commits intogo-gitea:mainfrom
bircni:fix/project-api

Conversation

@bircni
Copy link
Copy Markdown
Member

@bircni bircni commented Apr 12, 2026

When creating or editing an issue via API, you can't set the Project field.

Fixes #37149

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Apr 12, 2026
@wxiaoguang
Copy link
Copy Markdown
Contributor

Maybe it's better to focus on "multiple projects support for issue and pull requests", make the design stable first, otherwise there will be breaking API changes.

@bircni
Copy link
Copy Markdown
Member Author

bircni commented Apr 12, 2026

Maybe it's better to focus on "multiple projects support for issue and pull requests", make the design stable first, otherwise there will be breaking API changes.

The longer I think about it - yes!
What was the issue and is someone still working on it?

@wxiaoguang
Copy link
Copy Markdown
Contributor

What was the issue and is someone still working on it?

#12974 and related PRs

@wxiaoguang
Copy link
Copy Markdown
Contributor

wxiaoguang commented May 2, 2026

It seems that the API has been implemented by Allow multiple projects per issue and pull requests #36784

https://github.com/go-gitea/gitea/pull/36784/changes#diff-f33622667aa80c1735ccaef8e7331422504e8c449f691c6847ec4f6737a278cd

Does this PR still have other improvements?

@bircni bircni closed this May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: The project field can't be set via API, but all other fields can be

4 participants