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

Deleted items should not be returned in the API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Medium Medium
    • None
    • 10.111.3
    • REST API
    • 4
    • Severity 3 - Minor
    • No

      Issue Summary

      Epics that have been permanently deleted from Jira Align (no longer in the recycle bin) are being returned from the API call. Under the hood, it looks like the API is returning items without a program assigned to them. This is also occurring with Release Vehicles.

      Steps to Reproduce

      curl -X GET 'https://customer.jiraalign.com/rest/align/api/2/Epics/epic_id' -H "Accept: application/json" -H 'Authorization: Bearer <token>'| json_pp
      
      

      Expected Results

      The API should only be returning work items that are visible from the UI

      Actual Results

      Work items are being returned that aren't visible in the UI. Checking one of the Features in question reveals that the primaryProgramId is "Null"

      curl -X GET 'https://customer.jiraalign.com/rest/align/api/2/Epics/epic_id' -H "Accept: application/json" -H 'Authorization: Bearer <token>' | json_pp
      

      Workaround

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

              kforeman@atlassian.com Kyle Foreman
              55bc69081443 Edvaldo Lima
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: