How can I add the Description field to an eazyBI report?
Asked by Ignacio Pulgar:

Since eazyBI doesn't store Description, Comments nor Attachments, how can I add the Description field to an eazyBI report?

There are some examples about how to extract comments with code and JMWE, but I've found no ways to get the Description.

Any ideas?


Answers:
author: Ignacio Pulgar
body: The eazyBI Support Team solved this question (thanks Martins!):

It is possible to import issue Description from JIRA into eazyBI by using JIRA MISC calculated custom fields.

In order to do that, at first, you could create a new JIRA MISC calculated custom field (with text type):

![custom field JIRA.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/1414iD327EE450DFA1110/image-size/large?v=v2&px=999 "custom field JIRA.jpg")

And use this following formula in the field description (you should note the field ID that would be needed in later steps):

![custom field for description.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/1415iA4D92264D0F646FF/image-size/large?v=v2&px=999 "custom field for description.jpg")

```
<!-- @@Formula:
description = issue.getIssueObject().description;
if (description == null) return null;
description; -->
```

![jira issue - custom field.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/1417i32A0D90F0C58D509/image-size/large?v=v2&px=999 "jira issue - custom field.jpg")

Next, you could open your eazyBI advanced settings and add these lines where you place your field ID (the 5digit number from URL of your custom field) instead of NNNNN

```
[jira.customfield_NNNNN]data_type = "text"
```

Then you could open your eazyBI import settings and select this new custom field to import as a property:

![import as property.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/1416i96F98351F197AFB1/image-size/large?v=v2&px=999 "import as property.jpg")

After import, you should be able to find new measure in "Measure" dimension (under calculated members \> Issue properties) that should return issue description when "Issue" dimension and issue level is used in rows:

![final report.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/1418iDEDE6BAE6B7EEA07/image-size/large?v=v2&px=999 "final report.jpg")

comments: author: Aravind Koushik Gobburu
body: Hi [@Ignacio Pulgar](/t5/user/viewprofilepage/user-id/781574) , I followed the method what you said above but couldn't get the result.

![eazybi.png](https://community.atlassian.com/t5/image/serverpage/image-id/208230i4C4454F4353B112F/image-size/large?v=v2&px=999 "eazybi.png")


author: Faaisa Babu Ansar
body: I do not see the calculated text field option in Jira custom fields. Looks like it will need some plugins.

Is there any option to use SIL manager or Automation plugin to create a calculated text field?


author: Amelie Winkler _Appfire_
body: Hi [@Faaisa Babu Ansar](/t5/user/viewprofilepage/user-id/5257306) -- responding to your question about creating a custom calculated field with SIL, [here's a concrete example](https://community.atlassian.com/t5/Jira-questions/Calculated-Field-using-SIL-script-how-to-filter-subtasks/qaq-p/890451) of another community member who created something similar.

And if that doesn't help, feel free to reach out to our super-responsive [support team](https://appfire.atlassian.net/servicedesk), who can always help you solve a custom issue!

Best, Amelie


Tags: addon-com.eazybi.jira.plugins.eazybi-jira

developer

eazybi