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
- Setup any version of Jira with Automation for Jira and latest version of Insights plugin installed
- Define Insight Objects
- Create an Insight custom field with the Insights custom field type of 'Insight Object/s'
- In the Action component of your Automation rule, select your Insight custom field
- 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)
- relates to
-
JIRAAUTOSERVER-344 Insight objects not auto-populated in set field value screen in A4J
-
- Closed
-
-
A4J-2530 You do not have permission to view this issue
Dear all,
we agree that current solution may not be suitable for all cases as well as user experience may not be very smooth. This ticket reports only a break in A4J and Insight apps and that was recovered hence the status of the issue set to Done.
For any changes in the behaviour of the integration we need a separate Feature Request ticket(s) with the description what behaviour is requested.
Daniel Ramotowski