Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-38732

Ability to set character limit on custom fields i.e. jira.text.field.character.limit.customfields

XMLWordPrintable

    • 660
    • 44
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Added 29 February 2024

      Currently it's not possible to change the character limit of the value of custom fields.

      • Text Field (single line) - 255 characters
      • Text Field (multi-line) - 32767 characters

      This character limit should be configurable per field.

      Original Description

      jira.text.field.character.limit is respected for description, environment, comments.

      However some add-ons could use a large custom field instead of their own database table to track things so having jira.text.field.character.limit affect custom fields by default is risky.

      Propose new jira.text.field.character.limit.customfields (so it falls right next to existing) it should default to 0 as well.

      Bonus: This way a jira-system-administrator can control it above a jira-administrator who may be making custom fields and not always understanding implications.

      There is already a request for setting limits on a single custom field (especially at least at creation). vs Hack of of making a field a system field...

      Workaround

      A possible workaround is using Forms to enforce a character limit in a custom field field. Let's consider that you want to impose this limit on the Description field. Here’s how you can do it:

      1️⃣ Go to Project settings → Request management → Forms
      2️⃣ Click Create form → Create blank
      3️⃣ Add a field: Add field → Paragraph
      4️⃣ Set the field name in the Display name box
      5️⃣ Link it to the Description field in Linked Jira Field
      6️⃣ Set the character limit in Minimum and Maximum fields (e.g., Maximum = 25)
      7️⃣ Save changes

              Unassigned Unassigned
              3e81f6146e3f MC
              Votes:
              54 Vote for this issue
              Watchers:
              44 Start watching this issue

                Created:
                Updated: