I work with the Jira plugin “AgileHive” that introduces a custom field to display additional information (the planned PI for a feature). When trying to import this field into eazyBI I noticed I only get the IDs, but not the value/real name.
Of course I want to show the human readable names instead of the IDs on my dashboards.
The easiest fix is to work with calculated members and define those manually like so:
[Planning Interval].[PI 25.1] = [Planning Interval].[56]
[Planning Interval].[PI 25.2] = [Planning Interval].[63]
However, this means I have to select individual members for each report separately, since there will be new values introduced regularly and all reports/dashboards have to be updated accordingly.
Optimally I would like to use the advanced import settings to do the mapping in one place and then be able to just use the “all members” selection in my reports.
Is there a way to use the additional advanced settings or custom javascript section to do a manual mapping right at the import stage?
I was not able to find the right place in the documentation on how to achieve this.
I imagine something like the following:
/* access the customfield somehow - I dont know how */
let customfield_1 = "??";
let mapped_value =
(customfield_1==56)?"PI 25.1":
(customfield_1==63)?"PI 25.2":
"unassigned";
return mapped_value;
Additionally, how strongly would such an operation impact the import times?