issuesInEpic() function does not return any results

Susheela.Kushwaha
Contributor
November 20, 2023

Hi,

My organization renamed the Epic issue type to Epic (Feature). Now we are trying to find the list of child issues under all Epic (Feature)s. However, the function does not return any results even if there are matching issues in the project.

Here is the enhanced search query we are running: issueFunction in issuesInEpics("project = epp AND type = 'Epic (Feature)'")

Let me also mention that the JQL does not return any errors but also does not generate any results too. 

2 answers

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 20, 2023

Hello @Susheela.Kushwaha 

Based on the information you provided it appears you are using Adaptavist ScriptRunner for the issuesInEpics JQL function.

It is a known issue in ScriptRunner that if you rename the Epic issue type to something other than simply "Epic" then the issuesInEpics function does not work.

Upvote the issue here:

https://scriptrunner-for-jira-cloud.nolt.io/22

Susheela.Kushwaha
Contributor
November 21, 2023

Thanks @Trudy Claspill ! I upvoted it.

0 votes
Kalyan Sattaluri
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.
November 20, 2023

Just curious, Does your inner query return any results?

project = epp AND type = 'Epic (Feature)'

 

Cause in our org our query would be like below even though we renamed epic to feature..

project = epp and issuetype = Epic

Susheela.Kushwaha
Contributor
November 21, 2023

Hi Bizz,

Yes, the inner query does return the results. We named Epic issue type to Epic(Feature) per SAFe guidelines. So both queries below are basically the same in our case:

project = epp AND type = 'Epic (Feature)'

project = epp and issuetype = Epic

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events