# Custom field doesn't show for story points completed measure

**URL:** <https://community.eazybi.com/t/custom-field-doesnt-show-for-story-points-completed-measure/17934>\
**Category:** Questions & Answers\
**Tags:** custom-field, jira\
**Created:** [August 19, 2024, 7:43am UTC](https://community.eazybi.com/t/custom-field-doesnt-show-for-story-points-completed-measure/17934 "2024-08-19T07:43:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Marita\_Burgio](https://community.eazybi.com/user_avatar/community.eazybi.com/marita_burgio/32/11216_2.png) [@Marita\_Burgio](https://community.eazybi.com/u/Marita_Burgio)\
**Post date:** [August 22, 2024, 1:34pm UTC](https://community.eazybi.com/t/custom-field-doesnt-show-for-story-points-completed-measure/17934/2 "2024-08-22T13:34:05Z")

</div>

Hi @Arpita_Solanki,

Thanks for posting your question!

I suggest checking this community post addressing a similar question: [Building Issue hierarchy starting from the custom field at the Initiative level - #2 by Elita.Kalane](https://community.eazybi.com/t/building-issue-hierarchy-starting-from-the-custom-field-at-the-initiative-level/14901/2)

You would need to add the following code to your advanced settings, defining the Issue hierarchy levels. In the example below, you need to replace NNNNN by the id of your custom field “Product”.

```auto
[jira.customfield_initprd]
name = "Initative Product"
data_type = "string"
dimension = true
multiple_values = false
update_from_issue_key = "jpoh_parent_3"
javascript_code = '''
  if(issue.fields.customfield_NNNNN) {
    issue.fields.customfield_initprd = issue.fields.customfield_NNNNN;
}
'''

  
  [[jira.issue_hierarchies]]
   name = "Initiative Product"
   all_member_name = "All Issues by Product"
   levels = [
  {name="Initative Product",key_column="customfield_initprd"},
  {name="Initative",key_column="jpoh_parent_3",issue_type="Initiative"},
  {name="Epic",key_column="epic_key"},
  {name="Parent",key_column="epic_parent_key"},
  {name="Sub-task",key_column="subtask_key"}
]

```

Once you have defined these settings, you will need to import both fields “Product” and “Initiative Product” before you can build a report.

Add Issue dimension in Rows & select “All Issues by Product” member under “Initiative Product” hierarchy. By choosing “Story points created” measure, you will see the story points aggregated on Product level.

 ![image.png](https://community.eazybi.com/uploads/default/original/2X/e/e7cf6900a98ef4342f3c8b5c8714c187081754fd.png)

I hope this helps.

Best,  
Marita // [support@eazybi.com](mailto:support@eazybi.com)

---

_[View the full topic](https://community.eazybi.com/t/custom-field-doesnt-show-for-story-points-completed-measure/17934)._
