Hi, I’m trying to update an addon to make it work with the newer Lucene version (7.3) used in JIRA 8.
This isn’t my addon but another developer, who appears to have disappeared from the project (I’ve even asked Atlassian if they can contact him, but they’ve not been able to either).
Fortunately the source code is on the addon site so I can try and update it, although I’m no Java expert.
So far I’ve got it building and running OK for JIRA 8, but for the particular field I’m looking at I’m getting strange values.
The addon allows you to use normal numerical fields in statistical gadgets like pie charts or 2D tables.
My fields would have integer numbers (i.e. 1, 2, 3 or 4). This would allow me to show the number of issues which have the value 1, 2, 3 or 4 etc.
What happens in JIRA 8 is that the values are no longer shown as 1, 2, 3 or 4 but really large integer numbers, 4,619,567,317,775,286,300 or 4,607,182,418,800,017,400 but the statistical counts look correct still.
So far I’ve tracked the issue down to the code in NumberStatisticMapper in the Object getValueFromLuceneField(String documentValue). The documentValue is very different to what I see on JIRA 7, and is the values I’ve listed above.
However I don’t know how it’s getting this documentValue.
Has anyone had any experience with updating their addon for the Lucene upgrade in JIRA 8 and could help me with this?
I’m planning on sharing my solution with other users of the addon who also want to use it on JIRA 8.