Uploaded image for project: 'Jira Align'
  1. Jira Align
  2. JIRAALIGN-2772

API 2.0: /align/api/2/Iterations : When creating Sprint, shortName returns "must be between 1 and 20 characters" error message.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 10.89
    • 10.86, 10.87
    • REST API
    • None
    • Severity 3 - Minor
    • Breakers - VH2
    • No

      Issue Summary

      When creating Sprint, shortName returns "must be between 1 and 20 characters" error message.

      [
        "shortName must be between 1 and 20 characters."
      ]

      Steps to Reproduce

      1. Make a POST call towards /align/api/2/Iterations endpoint
      2. Send the following JSON in the request body:
        {
          "title": "any title",
          "shortName": "any shortName greater than 20 characters",
          "description": "any description",
          "goal": "any goal",
          "teamId": <id>,
          "beginDate": "YYYY-MM-DDT00:00:00Z",
          "endDate": "YYYY-MM-DDT00:00:00Z",
          "programId": <id>,
          "releaseId": <id>,
          "anchorSprintId": <id>
        }

      Expected Results

      • API should enforce UI limitation of up to 15 characters

      Actual Results

      • API enforces a lengthier limit of up to 20 characters

      Workaround

      • Manually fit data in up to 15 characters

            tdavenport@atlassian.com Tony D.
            rcortez@atlassian.com Rodrigo Cortez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: