# Common component in eazyBI for projects

**URL:** <https://community.eazybi.com/t/common-component-in-eazybi-for-projects/3579>\
**Category:** Questions & Answers\
**Created:** [January 28, 2020, 1:41pm UTC](https://community.eazybi.com/t/common-component-in-eazybi-for-projects/3579 "2020-01-28T13:41:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramesh\_Mashetty1](https://community.eazybi.com/user_avatar/community.eazybi.com/ramesh_mashetty1/32/1323_2.png) [@Ramesh\_Mashetty1](https://community.eazybi.com/u/Ramesh_Mashetty1)\
**Post date:** [January 28, 2020, 1:41pm UTC](https://community.eazybi.com/t/common-component-in-eazybi-for-projects/3579/1 "2020-01-28T13:41:05Z")

</div>

Hi Team,

As for now we are fetching issues in CRE & SUP account with components details respectively like if I want issues from cre then i need to select component from that project

Is it possible to have the common component, If I select one component. It should lists me all issues from both CRE & SUP project

---

<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:** [January 28, 2020, 2:50pm UTC](https://community.eazybi.com/t/common-component-in-eazybi-for-projects/3579/2 "2020-01-28T14:50:20Z")

</div>

Hi @Ramesh_Mashetty1,

By default, components are available in **Project** dimension and are grouped by projects. If you use components across multiple projects, you might want to import **Component** filed as a separate dimension using JavaScrip calculated custom field ([JavaScript calculated custom fields](https://docs.eazybi.com/eazybijira/data-import/custom-fields/javascript-calculated-custom-fields)). Then you will be able to filter data only by Component name.

Please see those two community post on a similar use case where is described solution and given JavaScript code to **import Component as a separate dimension** :

> [@Filter components to one project](https://community.eazybi.com/t/filter-components-to-one-project/3268):
>
> Hi All, I’m trying to show tickets created by component for a particular project. To do that I need to drop down to the components hierarchy level in “project” as part of my columns, but then i can’t filter by project. I can’t seem to figure out how to create a formula to limit the report to just one project (we have the same component names in multiple projects - predominantly using JSD). I’d like to do things like issue type by component over time (so we can get a split of incidents, servi…

> [@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):
>
> Good Afternoon, I’m trying to Import Component/s as a Dimension because we need to be able to target Vulnerabilities by asset (Components). But when I add custom JavaScript code in the Additional Options and I test the custom JavaScript code with an issue test and the Information appears. But when I go back to the custom Field tab, i Still cant select it ?? [“MyJira”.customfield\_components] name = “Components” data\_type = “string” dimension = true multiple\_values = true split\_by = “,” …

Best,  
Zane / [support@eazyBI.com](mailto:support@eazyBI.com)

---

<div class="post-metadata">

**Author:** ![Ramesh\_Mashetty1](https://community.eazybi.com/user_avatar/community.eazybi.com/ramesh_mashetty1/32/1323_2.png) [@Ramesh\_Mashetty1](https://community.eazybi.com/u/Ramesh_Mashetty1)\
**Post date:** [January 29, 2020, 5:33am UTC](https://community.eazybi.com/t/common-component-in-eazybi-for-projects/3579/3 "2020-01-29T05:33:52Z")

</div>

Thank you @zane.baranovska
