We recently purchased and installed script runner and would like to report on our newly created custom script fields. Please advice how to import the newly created custom scripted fields into eazyBI.
Scriptrunner field with data type duration stores value in seconds with a duration display in Jira. eazyBI can import this value as an integer. If you would like to use the field as a dimension as well, I would suggest importing it as an interval dimension.
Here is a custom field example definition for an option to import this custom field as a measure, and as an interval dimension with intervals for every ten days:
[jira.customfield_NNNNN] data_type = "integer" measure = true dimension = true time_unit = "seconds" time_interval = "duration" interval_unit = "days" intervals = "/10"
Please use custom field ID instead of NNNNN in the definition above.
eazyBI can't change custom field data type with regular imports. Regular import can conflict with previously imported data and could raise an error. You would like to delete previous
You would like to delete previously imported data structures. Run an import twice for this field:
1. deselect the custom field from import options (any selection), save import options and run an import. This import should delete any data structures for this custom field.
2. select the custom field back for import. Save import options and run an import. This import should create new data structures for your custom field.
Daina / support@eazybi.com
eazyBI offers default import options based on a detected custom field type. Scripted fields could be used in different ways. Therefore we do not allow them for import by default. You could define how the scripted field should be imported into eazyBI.
Here is a custom field definition example, that overrides default setup for string field:
[jira.customfield_NNNNN]
data_type = "string"
dimension = true
Please use the Jira custom field ID instead of NNNNN in the definition above.
Please add the updated custom field definition to eazyBI advanced settings or ask JIRA administrator to do this for you, as only JIRA administrators, has access to eazyBI advanced settings.
Please check options in this documentation age for eazyBI advanced settings for custom fields on how to specify import options for custom fields.
Open import options for edit after changes in advanced settings and select the custom field for import and run an import.
Daina / support@eazybi.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After I add the custom field I get these import error
The scriptrunner field is using the Duration Template.
Display in Jira - 1 year, 18 weeks, 6 days, 18 hours, 12 minutes
[jira.customfield_14200]
data_type = "string"
dimension = true
separate_table = true
changes = true
Error - "Exception whilst searching for issues ActiveRecord::JDBCError: com.microsoft.sqlserver.jdbc.SQLServerException: Conversion failed when converting date and/or time from character string."
[jira.customfield_14200]
data_type = "datetime"
time_interval = "duration"
dimension = true
separate_table = true
changes = true
Error - "Exception whilst searching for issues ActiveRecord::JDBCError: com.microsoft.sqlserver.jdbc.SQLServerException: The conversion of a nvarchar data type to a datetime data type resulted in an out-of-range value."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.