# Import wiki page link into eazybi

**URL:** <https://community.eazybi.com/t/import-wiki-page-link-into-eazybi/4631>\
**Category:** Questions & Answers\
**Tags:** javascript, remotelink, jira, confluence\
**Created:** [June 10, 2020, 2:51pm UTC](https://community.eazybi.com/t/import-wiki-page-link-into-eazybi/4631 "2020-06-10T14:51:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gerda.grantina](https://community.eazybi.com/user_avatar/community.eazybi.com/gerda.grantina/32/1994_2.png) [@gerda.grantina](https://community.eazybi.com/u/gerda.grantina)\
**Post date:** [June 16, 2020, 9:27am UTC](https://community.eazybi.com/t/import-wiki-page-link-into-eazybi/4631/2 "2020-06-16T09:27:33Z")

</div>

Hi @Rajatgupta,

eazyBI does not have default support for Confluence link import into eazyBI. But you can use **JavaScript calculated customfield** ([JavaScript calculated custom fields](https://docs.eazybi.com/eazybijira/data-import/custom-fields/javascript-calculated-custom-fields)) for this import. The Confluence URL will be imported as a dimension and property.

1.Open eazyBI advanced settings and use the following custom field definition:

```
##Confluence all links
[jira.customfield_remotelink]
data_type = "string"
name = "Wiki page"
dimension = true
multiple_values = true
split_by = ","
javascript_code = '''
var newlist = new Array();
getDocument("issue/"+ issue.key + "/remotelink", {ignoreErrors: [404]}, function(result){
  if (result) {
    for (var i = 0; i < result.length; i++) {
     let relationship = result[i].relationship;
      if(relationship){
        newlist.push(result[i].object.url);
      }
    }; issue.fields.customfield_remotelink = newlist.join(",");
  }
});
'''

```

You can use a bit different name instead of **Wiki page**.

2.Open Jira import options and select custom field **Wiki page** as a dimension or a property - then run data import again.  
3.The report you will be able to create can look like this:

- Using it as dimension:  
 ![Dimension-wiki-page.png](https://community.eazybi.com/uploads/default/original/2X/6/63f7d7ecc8b5387d3d1cfefca3dae628852a90e3.png)
- Using it as property:  
 ![Wiki-properties.png](https://community.eazybi.com/uploads/default/original/2X/a/a9ab92f628fac575f2f5b96bf881408629fc9baf.png)

best,  
Gerda // [support@eazyBI.com](mailto:support@eazyBI.com)

---

_[View the full topic](https://community.eazybi.com/t/import-wiki-page-link-into-eazybi/4631)._
