Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Pie Chart Gadget Corrupts JQL with "Non-Standard" Custom Field on Production, but Works on Test - Wh

MidnightExe
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2025

Hi Community,

I'm facing a very strange issue with a Pie Chart gadget that behaves differently on our production and test servers, despite what appears to be an identical configuration. I'm hoping someone might have an idea what the hidden difference could be.

-

The Goal: We want to create a Pie Chart based on a saved JQL filter. The chart should be grouped by a specific custom field named 'OE / Division' using the "Statistic Type" setting in the gadget's configuration.

The Problem on our Production Server: The chart shows an extra bar with the name 'Irrelevant'. (screenshot below*) And the bar on testsystem is not showing --> thats  how it's supposed to look.

 

This is the jql query:

project = DEM AND issuetype = Demand AND status in (Backlog, Planning, Analysis, Deployment, "In Definition", Refinement, Conception, Realization) ORDER BY id ASC

After uploading a pie chart and clicking on total issues the query changes automatically to this one and it says: Error in the JQL Query: A field name cannot be empty. (line 1, character 156)

project = DEM AND issuetype = Demand AND status in (Backlog, Planning, Analysis, Deployment, "In Definition", Refinement, Conception, Realization) AND NOT "" is EMPTY ORDER BY id ASC



The custom field shows the following information: “This custom field stores its data in a non-standard way, that's why we can't show accurate data about its values or issues using it.”

(same info text on test and production system)

image.png

this is the Select List (cascading) custom field config with some options:

image.png

The Mystery on our Test Server: Here's the strange part: Our test server is a clone of our production environment. We replicated the exact same setup there:

  1. The custom field 'OE / Division' shows the same "non-standard" warning in the admin backend.

  2. The JQL filter in the gadget's configuration also shows the same syntax error warning.

  3. However, on the test server, the Pie Chart gadget renders correctly and displays the data exactly as we need it! 

 

What We've Checked So Far:

Jira & App Versions and Gadget & Filter Configuration

 

*Screenshots:

It should look like this (this is our testsystem)

testscreen.png

But it looks like this (this is the production system)

image.png

 

Any ideas or suggestions on what to investigate next would be greatly appreciated!

Thank you!

2 answers

0 votes
Zahrah000
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 3, 2025

This looks like one of those cases where the issue isn’t with the gadget config itself but with how production is handling the custom field data. Since the JQL gets rewritten to AND NOT "" is EMPTY, it’s often a sign of either indexing problems or some “orphaned” values in that cascading field.

I’d suggest running a full re-index on production and also checking if the field context/options are 100% identical across prod and test. Sometimes deleted or malformed options linger in production data and show up as “Irrelevant” in gadgets. If the re-index doesn’t clear it, compare logs between environments or test a JQL like "OE / Division" is EMPTY to see how it behaves.

MidnightExe
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2025

Thanks for the info, will try the full re-index option. 

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2025

Hi @MidnightExe 

You mention uploading a Pie Chart, are you using the default ootb Pie Chart gadget or are you using an app?

Can you show the Pie chart configurations?

Have you checked the cascading select field, do they have the same options?

Is the context set for the correct work items and projects, and differences?

MidnightExe
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 3, 2025

Im talking about the standard pie chart by Atlassian. I have checked every single option in the fields option. Everything is set the same. Will try to run a full re-index.

Like Marc - Devoteam likes this
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 4, 2025

Hi @MidnightExe 

Did a full re-index solve the issue?

 

Suggest an answer

Log in or Sign up to answer