-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 11.3.5
-
Component/s: Custom Field Indexing, Dashboard & Gadgets
-
None
-
11.03
-
1
-
Severity 3 - Minor
Issue Summary
The Time Since Chart gadget fails to load when configured with any custom Date Picker field on Jira DC 11.3.5. The DateHistogramLuceneAggregator throws IllegalStateException: unexpected docvalues type NONE because the Date Picker custom field indexer is not emitting DocValues required by the aggregation API.
Steps to Reproduce
- On Jira DC 11.3.5, create a custom field of type "Date Picker"
- Create issues with date values in the field
- Run a full re-index
- Create a filter selecting issues with dates in that field
- Add a Time Since Chart gadget to a dashboard configured with: the filter, the custom Date Picker field, Period: Monthly, Days Previous: 365, Cumulative Totals: Yes, Show Unresolved Trend: Never
- Save and load the gadget
- Gadget fails to load ( see the Screenshot attached )
Expected Results
The Time Since Chart gadget renders correctly, displaying a monthly histogram — consistently
Actual Results
Gadget fails to load. Error in atlassian-jira.log:
2026-06-02 10:38:43,113+0000 http-nio-8080-exec-13 url: /jira/rest/gadget/1.0/timeSince/generate; user: admin ERROR admin 638x794x1 1kl6a1k 10.140.13.100,172.50.0.2 /rest/gadget/1.0/timeSince/generate [c.a.p.r.v2.exception.ThrowableExceptionMapper] Uncaught exception 9707dd9d-091d-489d-874b-8618cad21a93 thrown by REST service: unexpected docvalues type NONE for field 'customfield_10300' (expected one of [SORTED_NUMERIC, NUMERIC]). Re-index with correct docvalues type. java.lang.IllegalStateException: unexpected docvalues type NONE for field 'customfield_10300' (expected one of [SORTED_NUMERIC, NUMERIC]). Re-index with correct docvalues type. at org.apache.lucene.index.DocValues.checkField(DocValues.java:340) at org.apache.lucene.index.DocValues.getSortedNumeric(DocValues.java:412) at com.atlassian.jira.search.lucene.aggregation.bucket.datehistogram.DateHistogramLuceneAggregator.loadDocValues(DateHistogramLuceneAggregator.java:45) at com.atlassian.jira.search.lucene.aggregation.bucket.AbstractLuceneBucketAggregator.loadDocValues(AbstractLuceneBucketAggregator.java:46) at com.atlassian.jira.search.lucene.aggregation.MultiAggregator.loadDocValues(MultiAggregator.java:38) at com.atlassian.jira.search.lucene.aggregation.LuceneAggregationCollector.doSetNextReader(LuceneAggregationCollector.java:25) at org.apache.lucene.search.SimpleCollector.getLeafCollector(SimpleCollector.java:33)
Workaround
Currently, there is no known workaround for this behaviour. A workaround will be added here when available.