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

Create questions for another user #1184

Open
gilliardmacedo opened this issue Nov 26, 2024 · 1 comment
Open

Create questions for another user #1184

gilliardmacedo opened this issue Nov 26, 2024 · 1 comment
Labels
feature New feature request

Comments

@gilliardmacedo
Copy link

gilliardmacedo commented Nov 26, 2024

Hello everyone. This is my first issue in this project.

Is your feature request related to a problem? Please describe

We use a cloud-hosted Answer instance. It's common that some possible users do not even know the app and use another channel to ask something, like an issue in a project, for example, or just think something is a bug while it's not. We need a quick way to do a soft move, without forcing the user to rewrite everything.

Describe the solution you'd like

I think best experience for user would be having an admin endpoint to create the question as another user. So we can use it in workflows. It's already possible to have a user to create the question using the API, but it should be the asking user because he'll choose the right answer.

Describe alternatives you've considered

A simpler feature may be fill the new question form with query parameters, like "http://my-instance/questions/ask?title=Test%20Title&description=My%20%test%description&tags=mytag1,mytag2. This is a good feature in GitLab and GitHub while opening issues.

I can work in the solution if needed.

@gilliardmacedo gilliardmacedo added the feature New feature request label Nov 26, 2024
@LinkinStars
Copy link
Member

A simpler feature may be fill the new question form with query parameters, like "http://my-instance/questions/ask?title=Test%20Title&description=My%20%test%description&tags=mytag1,mytag2. This is a good feature in GitLab and GitHub while opening issues.

For this part, you can try to use the pre-fill feature. The URL such like 'https://meta.answer.dev/questions/ask?prefill=---%0Atitle%3A%20How%20to%20deploy%20Apache%20Answer%0Atags%3A%20discussion%0A---%0AHow%20to%20deploy%20Apache%20Answer%3F'

FYI:


Regarding the API part, we have provided documentation of the API. https://answer.apache.org/docs/api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request
Projects
None yet
Development

No branches or pull requests

2 participants