Infer "Team" Field from Portfolio?

Hi Bill!

Sorry for picking up your question so late!

For Jira Cloud, the Portfolio Team structure is recently changed in the Rest API. It is possible to use custom JavaScript code in your eazyBI advanced settings to redefine the Team field. First, in the Jira custom field list, find the ID of the Team custom field. Then add instead of NNNNN in all places within the following advanced settings:

#portfolio field Team
[jira.customfield_NNNNN]
name = "Portfolio Team"
data_type = "string"
dimension = true
javascript_code = '''
if(issue.fields.customfield_NNNNN)
 {
   issue.fields.customfield_NNNNN = issue.fields.customfield_NNNNN.title 
 }
'''

After updating eazyBI Advanced settings you will find the Portfolio Team among the list of all custom fields and, after the import, it will be in the custom field dimension list.

Lauma / support@eazybi.com

1 Like