-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Link to open an issue from a failed Build with pre-filled details #3539
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
Comments
Could you not have the link generated with that information in the body tag? |
Yeah, maybe. The template is 227 chars long, if we add the project and build link plus username I'm not sure if we are not creating a too long URL that it's not standard. I know there is a limit and I think it depends on the browser also... https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers We could do that since the limit is around 2000 chars. |
Neat idea. We need to make sure wouldn't show on the .com though, as we don't want github issues for those issues. |
What about putting this information on the header of the raw build log (see #3585)? So the user can just referrer that link or copy/paste the raw log on the issue. |
Hi @humitos, May I work on this! |
@bansalnitish It doesn't look like @humitos has opened a PR for this; he's only specified a need for it. I'd say go ahead! :) |
Thanks @RichardLitt! |
Hi @humitos, Can you please help me in reproducing this issue! |
@bansalnitish hey! What you need? The idea is to add a link in the build page (showed when it fails) that opens an issue in this Github project. (there is a link to the GH docs to generate that link in the description) |
I got it @humitos, Thanks! I will be soon submitting a PR for the same! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
There are several issues that are reported where there are missing information in the details section.
To solve this I was thinking on generating a link inside this message that could contain all the information pre-filled:
I found that github supports some query arguments in the URL but I didn't found a way to use those key/args inside the template itself.
https://help.github.com/articles/about-automation-for-issues-and-pull-requests-with-query-parameters/
I think it would be awesome if the user can just click a link and the username, project url, etc could be pre-filled automatically.
The text was updated successfully, but these errors were encountered: