How to get the insight custom field values on a report in the Reports and Timesheets for Jira app
This article contains a workaround to fetch insight object key values on a report. It can be done by an automation rule that copies the insight custom field values into a text-type custom field. These values can then be fetched into the report.
Instructions
Create a text field of type read-only, single-line, or multi-line. In this case,
Text Field(multi-line)
is considered.Skip this step in case it's already done
Assuming theAssets objects
type custom fields are configured and available in Jira issues, do this.Create an automation rule to set the
Assets objects
custom field values to text fields, publish, and enable the rule.Create/edit an issue to update the field values of
Assets objects
type fields to test if the automation executed successfully. Note that only the key values in the object are retrieved.Navigate to the Reports and Timesheets app to create a report or modify the existing report to include the
Text Field
type fields in the Fields section. Run the report to see the key values as shown below:
This workaround has been tried and tested on Jira cloud. Make sure you have Standard plan to access Insight Assets.
More information on smart values is at Smart values in Atlassian Automation | Cloud automation Cloud | Atlassian Support.