Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

ScriptRunner not delivering expected results

I have created a filter that uses the following:

resolution = unresolved AND issueFunction in epicsOf(“Project = ‘PROJECTNAME’”) AND NOT issueFunction in epicsOf(“resolution = unresolved”)

My intent is to create a list of epics that are still open (unresolved) but which have no remaining unresolved children (stories, etc). 

This returns a relatively finite list, which I would expect.  Each of the items returned, indeed, do not have any unresolved children.  It appears to be working….until I find another Epic that ALSO has not unresolved children, is part of the PROJECTNAME project, but DOES NOT appear as a search result in the filter.  

Any ideas why?

2 answers

0 votes
Andrea Pannitti
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.
Sep 27, 2022

Hi @Michael Czyzewski,

and what about a JQL like this:

project = PROJECTNAME AND issuetype = Epic AND resolution = unresolved AND NOT issueFunction in parentsOf("issueFunction in subtasksOf('project = PROJECTNAME AND issuetype = Epic AND issueFunction in hasSubtasks()') AND resolution = unresolved")

?

0 votes
Andrea Pannitti
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.
Sep 23, 2022

Hi @Michael Czyzewski ,

you could try with this JQL:

project = "PROJECTNAME" AND issuetype = Epic AND resolution = unresolved AND NOT IN (issueFunction in portfolioParentsOf("project = 'PROJECTNAME' AND resolution != unresolved"))

AND NOT IN fails.  I believe it is expecting a field (I.e. AND field NOT IN….)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events