Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-9886

Deleting an Assets object does not remove the value from the Assets field in the database

XMLWordPrintable

      Issue Summary

      Removing an object in Assets will remove the value from the Jira issue view after refreshing the page, but the field is actually not empty until you choose to set it to a different object or set it to EMPTY

      This affects not only automation but also integration since the field will still hold a value when checked from our REST API

      Steps to Reproduce

      1. To verify this create an automation rule that runs manually from the issue
      2. Choose the condition to check if the Assets field is empty
      3. Then add an action to add to the audit log "field is empty"
      4. Run the rule on an issue that has an object on the target Assets field
      5. Go to Assets and delete that object (set on the Assets field in the Jira issue view)
      6. Go back to the issue, refresh the page and notice that the object is removed from the field.
      7. Run the rule again

      Expected Results

      The rule would audit the field is empty

      Actual Results

      The rule will fail

              ed2abf6f41a7 Riya Rastogi
              62f96a018388 Nader Youssef (Inactive)
              Votes:
              20 Vote for this issue
              Watchers:
              26 Start watching this issue

                Created:
                Updated:
                Resolved: