question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Refactor Issue Command

See original GitHub issue

Currently the issue command takes a title parameter (for the title of the issue to create), then responds with a prompt for the repository to create the issue on.

The problem with this command is that it bypasses the Issue Template selection screen (which is why my issue isn’t linked to a template).

I propose that the command be refactored to only take a repository, and return the link to the /issues/new/choose endpoint (which leads to the template selection, or to the new blank issue if a repository does not have defined templates).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
stemountcommented, Dec 19, 2020

That is a shame @nhcarrigan - good shout - this does improve the quality of issues, this is a valid enhancement and not something I thought much about in #227

Issue Grooming

  1. Can we set a default issue template to fix this problem? (e.g. the bot needs no code changes)…
  2. I notice that we could actually respond something better:

https://github.com/EddieJaoudeCommunity/EddieBot/issues/new?template=**bug.md**&title=Bot Is Borked

<stemount> ^issue Bot Is Borked

<EddieBotDev>

To which repository would you like to create an issue?

<stemount> eddiebot

<EddieBotDev>

We found **EddieJaoudeCommunity/EddieBot**:

You create an issue with templates:

BUG issue to  by clicking here <BUG.md URL>.
FEATURE issue to EddieJaoudeCommunity/EddieBot by clicking here <FEATURE.md URL>.

###### Our bot is Open Source, you can find it here https://github.com/EddieJaoudeCommunity/EddieBot

Technical Triage if accepted:-

0reactions
github-actions[bot]commented, Feb 3, 2022

Stale issue message

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command
Command is a behavioral design pattern that turns a request into a stand-alone object that contains all information about the request.
Read more >
Large Refactor At The Command Line - Waylon Walker
Let's say I wanted to change every occurrence of one variable name to another. Lets try to replace replace pandas.CSVDataSet with pandas.
Read more >
Refactoring source code in Visual Studio Code
If you'd just like to see refactorings without Quick Fixes, you can use the Refactor command (Ctrl+Shift+R). Note: If you prefer to not...
Read more >
Command Line Tool - Refactor
Command Line Tool – Refactor. Refactor T-SQL script files using registered code refactorings. This topic contains the following sections:.
Read more >
ApexSQL Refactor Command Line Interface (CLI) switches
This article explains the ApexSQL Refactor CLI switches and their usage through the examples. ... The CLI in ApexSQL Refactor allows to format...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found