Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-34

Riada Insight objects no longer auto-populate in set field value screen in Automation for Jira

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 7.2.2, 7.2.3
    • 7.1.7
    • Actions
    • None
    • Severity 2 - Major

    Description

      Summary

      A few users of both Automation of Jira and the 3rd party, Insights, app have complained about auto-population of Insight objects no longer working on the Action component to set field value in Automation for Jira (when creating a rule).

      Environment

      • Insights add-on 8.4+
      • Automation app 7.1.3+

      Steps to Reproduce

      1. Setup any version of Jira with Automation for Jira and latest version of Insights plugin installed
      2. Define Insight Objects
      3. Create an Insight custom field with the Insights custom field type of 'Insight Object/s'
      4. In the Action component of your Automation rule, select your Insight custom field
      5. Try to type characters into the value field for Insight Objects

      Expected Results

      Insight Objects should be pre-populated for this field

      Actual Results


      No objects populate even after you start typing
       

      Notes

      App Vendor has given feedback through one of our customers that the API used to retrieve insight objects have change since 8.4 of the Insights plugin (since March). Apparently we are to now use new API:

      GET /rest/insight/1.0/iql/objects?iql=objectTypeId={id} AND anyAttribute LIKE "<text>"
      

      instead of old one:

      GET /rest/insight/1.0/objecttype/{id}/objects?query=<text>
      

      Workaround

      You might be able to use the Advanced field editing - JSON method to set the Insight customfield value. (Expand the More options panel)

      Example configuration for the rule :

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              takindele Taiwo Akindele (Inactive)
              Votes:
              32 Vote for this issue
              Watchers:
              30 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: