Assets GET object type attributes returns old incorrect data if object type attribute was updates to group or project

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      When changing the type of attribute an attribute is sometimes there is still left over data from the previous attribute type.

      Note that more cases might exist than the ones found.
      Changing from object attribute type seems to create the same result.

      Steps to Reproduce

      1. Create a text attribute
      2. Make a call to the API https://developer.atlassian.com/cloud/assets/rest/api-group-objecttype/#api-objecttype-id-attributes-get
      3. Update the text attribute to a Group or Project attribute type
      4. Make another call to the same endpoint and verify that while the type field has changes, there is still default type fields referring the previous object type (text)

      Expected Results

      The endpoint returns only values for the new object type

      Actual Results

      There is left over information of the old object type

      Workaround

      Focus first on the attribute type field, and only look at default type field if it is relevant.

            Assignee:
            Bhupender Singh
            Reporter:
            Ana Viseu (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: