Skip to content

Better issue-creation interface #3

@infotroph

Description

@infotroph

Issuebot currently uses https://github.com/mbland/hubot-slack-github-issues to open an issue when someone reacts to a Slack message with :book:, because it was the existing script that came closest to doing what I wanted. The result, using all default settings, looks like this:

screen shot 2018-02-20 at 1 23 37 pm

... which looks like this in GitHub:

screen shot 2018-02-20 at 1 16 50 pm

... which is ugly, doesn't give an informative title, and doesn't preserve the actual contents of the discussion.

A better implementation should:

  • Capture text of the message instead of just linking to it, and ideally capture the whole thread instead of just one message (should this be optional or by default?)
  • Allow setting an issue title. This probably requires switching away from a reaction trigger to a text trigger.
  • Theoretically could add other bells and whistles (Assignments, milestones, labels...), but probably OK to make people open a browser tab for that.

Possible text interface:

issuebot make issue [in <repo>] [from [last message | this thread]] [with title <title>]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions