API - API allow to use archived Program increment on Epics/Themes which is not allowed in the UI

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 10.131.0
    • Affects Version/s: 10.124.2
    • Component/s: REST API

      Issue Summary

      Using API (PUT or PATCH) allows to add of archived Program increments to Epics/Themes which is not allowed in the UI.

      This is reproducible : (yes)

      Steps to Reproduce

      1. Archive a PI
      2. Open a Theme or Epic, and try to Add the Archived PI to it; you will note you can't see it in the list
      3. Now Use the API update Theme or the Epic Release ID field with the archived PI ID and use a PUT or patch 
      4. Note that the archived one will be set to the Theme/Epic and it'll show in the UI too
      5.  

      Expected Results

      not be able to add archived PIs in a Theme and Epic using API

      Actual Results

      We are currently able to add archived PIs in a Theme and Epic using API

      ...
      

      Workaround

      Currently there is no known workaround for this behavior. 

            Assignee:
            Yannick Genin
            Reporter:
            Victor Fragoso
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: