Issue Summary
When configuring Jira project automations, setting an insight populated custom field value does not work.
After picking field to set the dropdown for choosing the value does not show any results. This happens on all projects and apparently only for non-admin users.
This happens with
- Insights add-on 8.4+ or Jira Service Management 4.15+
- Automation app 7.2.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'
- Log in as user with Project Admin rights, but without global Jira Admin rights
- 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
Actual Results
No objects populate even after you start typing
Investigation
Checking the har file for this operation shows that for Jira Administrators the query is formatted something like
https://<Base-URL>/rest/insight/1.0/iql/objects?iql=objectTypeId=250
while for the non admin it was
https://<Base-URL>/rest/insight/1.0/objecttype/250/objects?query=xx
And hence fails with
Failed to load resource: the server responded with a status of 405 ()
It looks as if JIRAAUTOSERVER-34 has been fixed for Jira Administrators only.
Workaround
- Ask a Jira Administrator to set up the rule
- You might be able to use the Advanced field editing method to set the Insight customfield value. (Expand the More options panel) (See workaround of JIRAAUTOSERVER-34)
- is related to
-
JIRAAUTOSERVER-34 Riada Insight objects no longer auto-populate in set field value screen in Automation for Jira
-
- Closed
-
- relates to
-
A4J-2811 You do not have permission to view this issue
Form Name |
---|
Released in A4J 7.4.0