Skip to content

get_discussion not returning whether discussion is open/closed #1303

@dsyme

Description

@dsyme

The get_discussion tool is not correctly returning discussion state information. The implementation is missing key fields that indicate whether a discussion is open, closed, or answered.

No Discussion Status: The current implementation doesn't include fields that would indicate:

  • Whether the discussion is answered (isAnswered)
  • The discussion state (open/closed)
  • Answer information (answeredAt, answerChosenAt)

Inconsistent with Issues: The issues.go implementation properly includes a State field in its GraphQL queries and data structures, but discussions do not.

Affected version

5e5e80a

Expected vs actual behavior

get_discussion should be consistent with get_issue and report if the discussion is open/closed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions