eazyBI - Import linked issues

I tried to set up the configuration below to import linked issues to eazyBI:   https://docs.eazybi.com/display/EAZYBIJIRA/Import+issue+links

However after I added the "measure=true" parameter, eazyBI stopped working with the error message: SQLServerException: Comumn "customfield_issuelink" in table "dwh_2.jira_issues" is of a type that is invalid for use as a key column in an index.

I removed this piece of code, but I'm still not able to create or run any reports after this...Any help would be much appreciated, thanks.

2 answers

1 accepted

Accepted Answer
1 vote

We do not recommend to import issue links as a measure. The error was caused because issue link is a string and can not be used as a measure.

In situations like this, you should go to import options and deselect "Import as measure" for the link. Then run data import. In the result, incorrect data would be deleted.
In advanced settings, remove the line "measure = true" as well to protect other users from selecting an invalid measure for data import.

However, you may import issue links as dimension and as property. If you would like to get a count of links for each issue in a report, you may define a new calculated measure

Your formula may look like this:

Nonzero(Count(
  [Issue].[Issue].getMembersByKeys(
    [Issue].CurrentMember.get('Linked issues'))
))

, where instead of 'Linked issues' you should use your linked issue custom field name.

 

Regards,

Zane / support@eazybi.com

I created a new account to have eazyBI up and running, it was a mistake trying to import it as measures.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Marketplace Apps

You + one app + a desert island...

Hi all! My name is Miles and I work on the Marketplace team. We’re looking for better ways to recommend and suggest apps that are truly crowd favorites, so of course we wanted to poll the Community. ...

2,462 views 5 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you