# Help displaying Component Name

**URL:** <https://community.eazybi.com/t/help-displaying-component-name/688>\
**Category:** Questions & Answers\
**Tags:** javascript, component, mdx\
**Created:** [June 24, 2018, 3:02am UTC](https://community.eazybi.com/t/help-displaying-component-name/688 "2018-06-24T03:02:09Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![zane.baranovska](https://community.eazybi.com/user_avatar/community.eazybi.com/zane.baranovska/32/7209_2.png) [@zane.baranovska](https://community.eazybi.com/u/zane.baranovska)\
**Post date:** [December 11, 2019, 4:57pm UTC](https://community.eazybi.com/t/help-displaying-component-name/688/14 "2019-12-11T16:57:45Z")

</div>

Hi @lececere,

Yes, Component is a separate hierarchy level in the **Project** dimension. If you do not have similar components across projects, then this solution works perfectly.

However, if you have the same components in several projects, then you may import **Component** also as a separate dimension using the same JavaScript code. In that case, add one more line to the advanced settings `dimension = true` to enable custom field import also as a dimension.

```
[jira.customfield_eazybicomponent]
name = "Component"
data_type = "string"
multiple_values = true
split_by = ","
dimension = true
javascript_code = '''
issue.fields.customfield_eazybicomponent = issue.fields.components;
'''

```

You may check out a similar topic here: [Cant Select the Components even after adding Custom JavaScript code](https://community.eazybi.com/t/cant-select-the-components-even-after-adding-custom-javascript-code/2279/2)

---

_[View the full topic](https://community.eazybi.com/t/help-displaying-component-name/688)._
