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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 10.89
    • Affects Version/s: 10.86, 10.87
    • Component/s: REST API
    • None
    • Severity 3 - Minor
    • Breakers - VH2
    • No
    • None

      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

            Assignee:
            Tony D.
            Reporter:
            Rodrigo Cortez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: