How to identify user attributes with Unknown value in Insight
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
You have some Object Type attributes (User and Group Type), and some objects have Unknown values.
This article will show you how to identify all those objects.
Diagnosis
Environment
Insight - All versions
Diagnostic Steps
An unknown value means that user or group is no longer in the Jira User Directory. It could be in case a user or a group was deleted.
If you attempt to update the object manually without removing the value or changing it to another, you will get "User JIRAUSERXXX not found in Jira."
Cause
- The UserKey for the user or the group attribute is saved as the Attribute Value. Still, Insight returns the displayName=Unknown as user or group was deleted and no longer exists in the Jira User Directory.
Resolution
You can find "Unknown" users with this IQL query (where "User" is the attribute name) :
"User" IS NOT empty AND "User" NOT LIKE ""
But, in case the query returns empty, then you can do a manual validation:
- Click on Export Objects
- Select format: User friendly
- You can perform a filter on the CSV file generated to narrow your Unknown values.