mattermost / mattermost/mattermost-plugin-github

Default repository not preselected in Create Issue modal

Open
#929 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
179
Forks
180
Avg merge
1d 16h
Merged PRs (30d)
13

Description

After setting a default repository with `/github default-repo set` , running `/github issue create` opens the issue creation modal, but the default repository is not preselected in the Repository option.

Steps to reproduce:

- Connect GitHub to Mattermost.
- Create a webhook for a repository.
- Set that repository as default using `/github default-repo set`.
- Run `/github issue create`.

Expected Result:
In the Create Issue modal, the default repository that was set should already be selected in the Repository option.

Actual Result:
The Create Issue modal opens, but the default repository is not preselected in the Repository option.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the `/github default-repo set` and `/github issue create` flows into the Create Issue modal. Reproduce the issue with a configured default repository and inspect how the Repository option is populated; done means the configured default repository is selected when the modal opens.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, go
Domain
backend, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.