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

API 2.0 : Users : UserDTO schema does not flag all required fields

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 10.99.0
    • 10.96
    • REST API
    • 1
    • Severity 3 - Minor
    • No

    Description

      Issue Summary

      Fields divisionId, regionId, cityId and costCenterId are mandatory in Users (UI and API), but the Swagger UserDTO schema doesn't reflect that.

      Steps to Reproduce

      1. Browse to Swagger then expand UserDTO schema
      2. Notice that divisionId, regionId, cityId and costCenterId does not have the required attribute
      3. They're also flagged as nullable: true

      Expected Results

      • The fields divisionId, regionId, cityId and costCenterId have the required attribute
      • The fields divisionId, regionId, cityId and costCenterId does not have the nullable: true attribute
      • PdM to confrm

      Actual Results

      • The fields divisionId, regionId, cityId and costCenterId does not have the required attribute
      • The fields divisionId, regionId, cityId and costCenterId have the nullable: true attribute

      Workaround

      • Currently there is no known workaround for this behavior. A workaround will be added here when available.

      Attachments

        Issue Links

          Activity

            People

              kforeman@atlassian.com Kyle Foreman
              rcortez@atlassian.com Rodrigo Cortez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Backbone Issue Sync