API needs to ignore themeId=0 in theme to program validation

XMLWordPrintable

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

      Issue Summary

      In Jira Align, when portfolio objectives are created and a theme is not set, the themeId is set to zero. Then, when updating the item via the API, validation that themeId 0 exists in the selected program fails.

      Steps to Reproduce

      1. Create a portfolio objective through UI and do not set a theme
      2. Run a get call for that objective, and notice that themeId is 0
      3. Run a patch call for that objective to update the description

      Expected Results

      When themeId = 0, do not validate that themeId 0 is in the selected program

      Actual Results

      An theme validation is returned in the API

      Workaround

      If themeId = 0, update it to null to avoid the validation

            Assignee:
            Tony D.
            Reporter:
            Kyle Foreman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: