Forums

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

The field 'labels' or 'status' is not supported by the function 'cascadeOption'.

Andrew van der Bilt
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!
August 15, 2019

All custom fields I try to use within advanced search will give above response.

Example JQL Project = O365DO AND issuetype in (Epic, Story) AND labels in cascadeOption("Highlight", none)

 

Does cascadeOption only work with specific fields?

 

1 answer

1 accepted

2 votes
Answer accepted
Krister Broman _Advania_
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.
August 15, 2019

the searchfunction of cascadeOption is only possible for the field type 'Cascading Select' not Labels and not Status. A cascade select will have a tier 1 and a tier 2 value. Tier 2 will have different values based on what value is selected in Tier 1. 

If you need to search for issues that have either "Highlight" or is blank then use a nested search query

project = O365DO AND ( labels in (Highlight, Lowlight, etc) OR labels IS EMPTY)

Look in the guide for more info on the advanced search options: https://confluence.atlassian.com/jiracorecloud/advanced-searching-functions-reference-765593719.html#Advancedsearching-functionsreference-cascadeOptioncascadeOption()

Andrew van der Bilt
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!
August 15, 2019

Thanks for your reply. 

Too bad, because I need to have a results of Epics with a certain label and their child stories. Looks like that is not possible in cloud Jira JQL.

Krister Broman _Advania_
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.
August 15, 2019

Nope you need Scriptrunner to get that working in cloud: http://scriptrunner-docs.connect.adaptavist.com/jiracloud/enhanced-search.html#_epicsof

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events