Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
4.20.1, Insight 8.9.4, 5.0.0, 4.22.2
-
Severity 3 - Minor
-
Description
Issue Summary
The symptom can only manifest when the current user's database record has a different 'userkey' value than their 'username' value. New users created in an Jira instance of version 8.4+ will have such different values.
Steps to Reproduce
- Create a new user with sufficient permission to create Insight schemas
- Login as the newly created user
- Create a new Insight schema
- Go to configurations page of the Insight schema
- Click to open the 'Automation' tab
Expected Results
There should not be any exception thrown in console.
Actual Results
There is an exception thrown in the console.
com.riadalabs.jira.plugins.insight:rlabs-configure.js?locale=en-US:29974 Uncaught TypeError: Cannot read properties of null (reading '0') at Object.<anonymous> (com.riadalabs.jira.plugins.insight:rlabs-configure.js?locale=en-US:29974) at i (batch.js?locale=en-US:164) at Object.fireWith [as resolveWith] (batch.js?locale=en-US:164) at Object.<anonymous> (batch.js?locale=en-US:164) at i (batch.js?locale=en-US:164) at Object.fireWith [as resolveWith] (batch.js?locale=en-US:164) at Object.a.<computed> (batch.js?locale=en-US:164) at Object.<anonymous> (batch.js?locale=en-US:164) at i (batch.js?locale=en-US:164) at Object.add [as done] (batch.js?locale=en-US:164)
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available