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

Assets Automation: Setting a value for an Assets Custom Field with Create Issue or Create service request automation action doesn't work

    XMLWordPrintable

Details

    Description

      Issue Summary

      Using Automation for Jira, if you create a rule that has the Create issue or Create service request action and select an Insight Custom field to be filled when the issue is created, even if your AQL is correct, the field won't be populated with any object. This will only happen depending on the trigger used, triggers where this could be successfully reproduced: Issue created, Scheduled, Webhook and Issue Transitioned.

      Steps to Reproduce

      1. Set up an Insight Custom field that references some objects
      2. Create an automation rule, use the Scheduled trigger
      3. For the action, use Create Issue or Create service request and choose the Insight Custom field
      4. Use an IQL to reference an object for the Insight Custom Field
      5. Manually trigger the rule. The ticket created will not have an object selected.

      Expected Results

      The ticket will be created with an object selected for the Insight Custom Field.

      Actual Results

      No object is selected for the Insight Custom Field.

      Workaround

      After the Create issue or Create service request action, create a Branch Rule/related issues and select Most recently created issue, then add an Edit issue action to this branch and select the Insight Custom field. Add an AQL as desired.

      Attachments

        Issue Links

          Activity

            People

              90325da67d46 Mohamed Hassan
              09f701f61b25 Mateus Gauto
              Votes:
              36 Vote for this issue
              Watchers:
              35 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: