Using Summary as a dimension

Hello,

I’m trying to retrive the Summary as a dimension since an issue is ordered by its key.

I’m using the following code in the JavaScript calculated custom fields but I keep getting this error when I try to import : Execution of custom JavaScript code raised the following error: unterminated string literal

[jira.customfield_sumry]
name = “Summary”
data_type = “text”
javascript_code = ‘’’
if (issue.fields.summary)
{issue.fields.customfield_sumry = issue.fields.summary;}
‘’’
Humm whats wrong here ?

Hi @toudg

Make sure you use this code just in advanced settings.
https://docs.eazybi.com/eazybi/data-import/data-from-jira/jira-custom-fields/advanced-settings-for-custom-fields

Don’t use it in import options > additional options tab.

Martins / eazyBI

I still dont get it …

Still the same error

Advanced settings2

Make sure you don’t use any Javascript code in the import options page > additional options tab.

Martins

Wow thanks ! I was a little bit confused, I really appreciate your feedback !