MCPcopy Index your code
hub / github.com/github/github-mcp-server / issueFieldOptionPriority

Function issueFieldOptionPriority

pkg/github/ui_tools.go:459–464  ·  view source on GitHub ↗
(option IssueSingleSelectFieldOption)

Source from the content-addressed store, hash-verified

457}
458
459func issueFieldOptionPriority(option IssueSingleSelectFieldOption) (int, bool) {
460 if option.Priority == nil {
461 return 0, false
462 }
463 return *option.Priority, true
464}
465
466func uiGetReviewers(ctx context.Context, deps ToolDependencies, args map[string]any, owner string) (*mcp.CallToolResult, any, error) {
467 repo, err := RequiredParam[string](args, "repo")

Callers 1

marshalUIGetIssueFieldsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected