Skip to content

Commit

Permalink
adding /jira setup autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
bobf committed Dec 11, 2022
1 parent a0cc072 commit 4089ca1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func addSubCommands(jira *model.AutocompleteData, optInstance bool) {
// Admin commands
jira.AddCommand(createSubscribeCommand(optInstance))
jira.AddCommand(createWebhookCommand(optInstance))
Jira.AddCommand(createSetupCommand(optInstance))
jira.AddCommand(createSetupCommand(optInstance))

// Help and info
jira.AddCommand(model.NewAutocompleteData("info", "", "Display information about the current user and the Jira plug-in"))
Expand Down Expand Up @@ -212,7 +212,6 @@ func withFlagInstance(cmd *model.AutocompleteData, optInstance bool, route strin
}

func withParamIssueKey(cmd *model.AutocompleteData) {
setup
// TODO: Implement dynamic autocomplete for Jira issue (search)
cmd.AddTextArgument("Jira issue key", "", "")
}
Expand Down

0 comments on commit 4089ca1

Please sign in to comment.