In this page

What is Assets?

(supported since Better Excel Exporter 2.5.0)

Assets is the leading asset management app for Jira, that allows implementing CMDB, CRM, HR, ITSM or ITIL functionality on the Jira platform.

Assets integration features

  • You can export all Assets-managed custom field types like Assets object, Assets object (single) (legacy), Assets object (multi) (legacy), Assets referenced object (single), Assets referenced object (multi) and Assets readonly object to Excel.
  • You can configure the export format to include object names (e.g. "My awesome server"), object keys (e.g. "My awesome server [SRVR-123]"), object attributes (e.g. "My awesome server [SRVR-123] (Manufacturer=Cray Research, Vector Processors=4, Type=Supercomputer)") and any combination of these.
  • Better Excel Exporter also offers a ready-made report template to calculate issue count, project distribution and status distribution by Assets objects. Although this is useful as is, this can also be used as a starting point to create custom Excel reports from Assets data.

(Need more features? Tell us in a support ticket!)

Assets integration vs. the Assets built-in Excel exports

You may want to ask: if Assets has a built-in Excel export feature, why would you use another app for the same?

While the Assets built-in Excel exports may be sufficient for basic use cases, the Better Excel Exporter integration is more powerful in, at least, these:

If at least one of these is important for you, give the app a try.

Tutorial video

Watch this short introductory video to see how fast you can export your Assets data to Excel!

Assets Excel export samples

Jira issues with Assets objects

This straightforward Excel export (created using the default issue-navigator.xlsx template) contains two Assets custom fields: one of them is a single-select, while the other one is a multi-select type. Both use the "object name [object key]" format which is customizable.

jira-assets-export.xlsx

Jira issues with Assets objects and attributes

This Excel example is configured to export the complete attribute set for each Assets object. The attributes are exported to an Excel spreadsheet as comma-separated name-value pairs in brackets (the format is completely customizable).

jira-assets-export-objects-with-attributes.xlsx

Jira issues per Assets objects pivot chart

You can also create custom Excel reports from Assets data, just like from built-in custom field values. The insight-report.xlsx template calculates issue count per object, project distribution per object and status distribution per object. Looking for more? Create your own Assets Excel report from Jira using this template as a starting point.

jira-assets-report.xlsx

Configuration

Configuring the Assets custom fields

There is nothing to do. Better Excel Exporter will automatically recognize the Assets-managed fields and export them accordingly.

Configuring the export format for the Assets custom fields

The default behavior is that object names and object keys will be exported (e.g. "My awesome server [SRVR-123]"). You can include object name, object key and attributes by setting these configuration variables in the top part of the field-helper-tool.groovy script:

// field-helper-tool.groovy

/* Insight configuration. */
def insightObjectsWithNames = true
def insightObjectsWithKeys = true
def insightObjectsWithAttributes = false

If you want full control over the export format, please see this easy-to-read method in field-helper-tool.groovy:

private def insightObjectToString(def object)

Configuring the Assets Excel report templates

The template insight-report.xlsx contains a placeholder for the Assets-managed custom field, which should be correctly configured before generating reports.

Steps:

  1. Login to Jira as administrator.
  2. Go to AdministrationAdd-onsExcel Templates.
  3. Download the template insight-report.xlsx.
  4. Open the file in Microsoft Excel for editing.
  5. Go to the last worksheet, check the first cell in the second row that contain an expression like:
    <jt:forEach items="${issues}" var="issue"><jt:forEach items="${insight.getObjects(issue, 'customfield_10123')}" var="object">${issue.key}
    Replace the placeholder custom field ID customfield_10123 with the actual ID of that custom field (see this section for help). For instance, if the ID is 10456 in your Jira instance, then change the expression to:
    <jt:forEach items="${issues}" var="issue"><jt:forEach items="${insight.getObjects(issue, 'customfield_10456')}" var="object">${issue.key}
  6. Save the Excel file (do not change its name!) and upload that to Jira.
  7. For testing, go to Issue Navigator. Export an Excel file with the Insight (Excel) view, and check whether the cell values are correctly exported in the last worksheet.
    If those are, you are done.
    If not, check the custom field IDs again in the template.

(Please note that this is easy, and you have to configure this only once.)

Learn more about Assets