debian-mirror-gitlab/doc/development/issuable-like-models.md
2022-11-25 23:54:43 +05:30

844 B

stage group info
Plan Project Management To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments

Issuable-like Rails models utilities

GitLab Rails codebase contains several models that hold common functionality and behave similarly to Issues. Other examples of "issuables" are merge requests and Epics.

This guide accumulates guidelines on working with such Rails models.

Important text fields

There are maximum length constraints for the most important text fields for issuables:

  • title: 255 characters
  • title_html: 800 characters
  • description: 1 megabyte
  • description_html: 5 megabytes