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

Assets for JSM: When the Edit Assets field attributes Action is used to clear an already empty Attribute, an error is thrown.

XMLWordPrintable

      Issue Summary

      When using the Edit Assets field attributes Action in Automation for Jira to try and clear an Attribute on an Object where that Attribute is already empty, an error is thrown:

      Steps to Reproduce

      1. Create an Automation Rule that uses the Edit Assets field attributes Action and have it clear an Attribute.
      2. Run the Rule on an Issue where the affected Custom Field's Object has no value for the Attribute.

      Expected Results

      The Audit Log records No Action Taken.

      Actual Results

      The Audit Log shows Some Errors with a message like this:

      Edit Object attributes.
      Objects were skipped
      ABC-123 (Attribute = '')
      Error updating Object(s)
      

      Workaround

      Use a Condition to prevent the Action from running if the Value is already empty.

              91a0ec10bc09 Vaibhav Mittal
              992127aa63ec Payden Pringle (Inactive)
              Votes:
              44 Vote for this issue
              Watchers:
              41 Start watching this issue

                Created:
                Updated:
                Resolved: