Product/Version:
Background
I am trying to build a reliable reporting and dashboard solution to show:
User data is imported from LDAP/Active Directory and stored as objects in Assets.
Assets Data Model
Object Type: User
Key Text
Name Text
Created DateTime
Updated DateTime
Username Text // sAMAccountName
Display Name Text
EMail Email
Jira User User
Department Object → Department
Company Object → Company
Unique_ID_Attribute Text
Object Type: Department
Key Text
Name Text
Created DateTime
Updated DateTime
Company Object → Company
DepartmentKey Text
Object Type: Company
(referenced by User and Department)
Relations:
User.Department → Department
User.Company → Company
Department.Company → Company
Problem
For reporting and standard Jira dashboards (e.g. Two-Dimensional Filter Statistics), only JQL and issue fields are available.
Limitations:
No dot notation in JQL (e.g. User.Department.Name)
No traversal of Assets references in standard gadgets
Assets AQL cannot be used directly in Jira gadgets
Data Center is significantly more limited compared to Cloud in this area
Current Approach
The idea was to introduce additional fields, e.g.:
Department (Asset Object Reference)
Company (Asset Object Reference)
Goal:
→ populate these fields directly in the issue so they can be used in JQL and gadgets
Problem:
These fields are not automatically populated when creating an issue
They would need to be selected manually
This contradicts the goal of having automated and consistent reporting
Goal
I am looking for a clean and maintainable approach to:
Automatically bring Department/Company from the Asset User into the issue
Make these values usable in JQL and standard gadgets
Avoid any manual data entry in issues
Avoid using additional plugins
Questions
Is there a way in JSM Data Center to automatically populate Assets reference fields during issue creation (without ScriptRunner/Groovy)?
Is there a recommended best practice for reporting based on attributes from referenced Assets objects?
Is the approach of using “flattened” additional fields in the issue the only viable option in Data Center?
If yes, what is the typical way to automatically populate these fields (workflow, automation, import logic)?
Summary
The main issue is the inability to directly use referenced Assets data (Department/Company) in standard Jira reporting.
I am looking for a way to resolve or “flatten” these references automatically so they become usable in JQL and dashboards — without manual maintenance and without additional plugins.