[JIRAALIGN-1564] API 2.0 - Swagger Schema - parentId in Capabilities is not flagged as required

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 10.74
    • Affects Version/s: 10.71
    • Component/s: REST API
    • 1
    • Severity 3 - Minor
    • Breakers - SCORP5
    • None

      Issue Summary

      parentId (Epic) is a mandatory field in Capabilities (UI and API), but the Swagger Schema doesn't reflect that.

      Steps to Reproduce

      1. Go to {URL}

        /rest/align/api/docs/index.html

      2. Expand schema AgileCraft.Services.Models.Capabilities.CapabilityDto
      3. parentId doesn't have the required attribute

      Expected Results

      parentId shows the required attribute

      Actual Results

      parentId doesn't have the required attribute

      Workaround

      Ensure that you set the parentId when making API calls

              Assignee:
              Kyle Foreman
              Reporter:
              Alessandro Macedo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: