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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 10.74
    • 10.71
    • REST API
    • 1
    • Severity 3 - Minor
    • Breakers - SCORP5

      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

              kforeman@atlassian.com Kyle Foreman
              amacedo@atlassian.com Alessandro Macedo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: