Issue Statistics Gadget fails with "an option provided by the function cascadeOption for the field xxx does not exist"

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

When using a Cascade field for the "Issue Statistics" gadget, if we click on any of the Cascade fields results at the gadget to open the list of issues, the JQL search fails with the error message "an option provided by the function cascadeOption for the field xxx does not exist" if there is a Configuration Context created without any project selected.

(Auto-migrated image: description temporarily unavailable)
(Auto-migrated image: description temporarily unavailable)

Environment

Jira 8.0.5 and later.

Diagnosis

Access Jira Admin >  Issues > Custom Fields and at the Cascade field, select "Configure".

Check if there is a context configuration defined for this field that is not a Global Configuration and it does not have any project selected. For instance, for the Cascade field "My Cascade", we can see 2 configurations:

  • "Default Configuration Scheme for My Cascade": Global context;

  • "test": The "Applicable context for scheme" defined is not global but there is no project selected. It shows the message "Not configured for any context".

(Auto-migrated image: description temporarily unavailable)

Cause

The project defined earlier for the context configuration of "test" was removed (Jira Admin> Projects - Actions "Delete") but the Context created for this project had remained, causing the function CascadeOption() to fail.

Solution

We are tracking this issue on the following bug:

JRASERVER-71479 - Issue Statistics Gadget fails with "an option provided by the function cascadeOption for the field xxx does not exist"

However, a workaround is possible.

Workaround

  1. Remove the "test" configuration

    or

  2. Select any other Project Area for the Context:

  • Reach the Jira Admin  > Issues > Custom Fields and at the Cascade field, select "Configure";

  • Click at the "Edit Configuration"  and select any other Project area to use the test configuration.

Updated on March 17, 2025

Still need help?

The Atlassian Community is here for you.