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

Allow users to choose issue template from Project view, when clicks New Issue button #19170

Closed
donkeylobster opened this issue Mar 22, 2022 · 7 comments · Fixed by #19172
Closed
Labels
type/enhancement An improvement of existing functionality
Milestone

Comments

@donkeylobster
Copy link

donkeylobster commented Mar 22, 2022

Description

Problem

New Issue button in project view dose not let you select issue template.

Now Gitea doesn't support to choose issue template in the Project UI. A button pointing to the /org/repo/issues/new/choose should be put there to allow users to create issues from templates.

Example

Expected

Template selection, like when pressing New Issue on Issues page (eg. https://try.gitea.io/thomas/test3/issues )

Can you reproduce the bug on the Gitea demo site?

Yes

@zeripath
Copy link
Contributor

Hi,

Thanks for the report however, Gitea does not have a version 1.18 - please correct your version string.

@wxiaoguang

This comment was marked as off-topic.

@wxiaoguang

This comment was marked as off-topic.

@donkeylobster
Copy link
Author

I noted 1.18 as that is current version at https://try.gitea.io/
Same problem is in 1.17.8 at my local installation.

@wxiaoguang wxiaoguang added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/enhancement An improvement of existing functionality and removed type/bug type/feature Completely new functionality. Can only be merged if feature freeze is not active. labels Mar 22, 2022
@wxiaoguang
Copy link
Contributor

I believe it's not a bug but a unimplemented feature (enhancement)

The story is: now Gitea doesn't support to choose issue teamplate in the Project UI. So, a button pointing to the /org/repo/issues/new/choose should be put there.

@wxiaoguang wxiaoguang changed the title New Issue in Project view missing template select Allow users to choose issue template from Project view, when clicks New Issue button Mar 22, 2022
@zeripath
Copy link
Contributor

zeripath commented Mar 22, 2022

The version on try is:

Screenshot from 2022-03-22 14-22-10

You're reporting the go version.

@zeripath
Copy link
Contributor

I believe it's not a bug but a unimplemented feature (enhancement)

The story is: now Gitea doesn't support to choose issue teamplate in the Project UI. So, a button pointing to the /org/repo/issues/new/choose should be put there.

We'd need to pass the project id along in choose.

zeripath added a commit to zeripath/gitea that referenced this issue Mar 22, 2022
Extend issues/new/choose to pass the project id and change New Issue
link on project page to use new/choose

Fix go-gitea#19170

Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath added a commit that referenced this issue Mar 22, 2022
Extend issues/new/choose to pass the project id and change New Issue
link on project page to use new/choose

Fix #19170

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
zeripath added a commit to zeripath/gitea that referenced this issue Mar 22, 2022
Backport go-gitea#19172

Extend issues/new/choose to pass the project id and change New Issue
link on project page to use new/choose

Fix go-gitea#19170

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
lunny pushed a commit that referenced this issue Mar 23, 2022
Backport #19172

Extend issues/new/choose to pass the project id and change New Issue
link on project page to use new/choose

Fix #19170

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
@zeripath zeripath added this to the 1.16.5 milestone Mar 23, 2022
Chianina pushed a commit to Chianina/gitea that referenced this issue Mar 28, 2022
Extend issues/new/choose to pass the project id and change New Issue
link on project page to use new/choose

Fix go-gitea#19170

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants