Skip to content

IssueSchema description can be null #3798

Description

@uncaught

Description

  • Node.js version: 24.10.0
  • Gitbeaker version: 43.8.0
  • Gitbeaker release (cli, rest, core, requester-utils): rest
  • OS & version: Ubuntu 24
  • Gitlab self hosted version: 18.3.1

The description of an issue retrieved with either Issues.all or Issues.show can yield null:

Image

In one of our projects, 25 of 2208 issues have their description null.

Steps to reproduce

One way to get a null-description is via an epic:

  • Create an issue from an epic via the inline feature to add a child element
  • This issue will have its description then as null
Image

Expected behaviour

  • The type for description should be string | null

Actual behaviour

  • The type for description is string

Possible fixes

  • Please just extend the type

Checklist

  • I have checked that this is not a duplicate issue.
  • I have read the documentation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:typesAdding or enhancing typescript types

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions