Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Custom Script Fields in EazyBI

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.

2 answers

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

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."

 

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

40 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you