Setting dashboard item properties with API can result in invalid structure

XMLWordPrintable

    • 1
    • Severity 2 - Major

      Issue Summary

      Setting dashboard item configuration through API can lead to inconsistent settings being stored, causing errors on later attempts to manipulate the dashboard.

      Steps to Reproduce

      1. Set a dashboard item's properties using https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-dashboards/#api-rest-api-3-dashboard-dashboardid-items-itemid-properties-propertykey-put , to something other than single-level object with strings for keys and values.
      2. Attempt to delete the dashboard

      Expected Results

      The dashboard is deleted.

      Actual Results

      A 500 is returned, and internally a JSON decoding error is logged.

      Workaround

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

       

            Assignee:
            Alex Pham (Inactive)
            Reporter:
            joe
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: