Forums

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

Filter to find a distinct list of epics in a sprint

Adam LaCoste
Contributor
April 27, 2023

We have recently migrated to the Jira cloud environment and one of our filters is not working as it should as a result.  

issueFunction in linkedIssuesOf("sprint in openSprints(name)", "has epic")

 

 

3 answers

1 accepted

0 votes
Answer accepted
Jack Brickey
Community Champion
April 27, 2023

Hi @Adam LaCoste , I assume that you have Scriptrunner installed on your cloud instance? Assuming so, what results are you seeing from the filter? Is there an error or the list is empty or maybe the list is wrong?

Adam LaCoste
Contributor
April 27, 2023

Hi @Jack Brickey , yes, we do have Scriptrunner installed.  

 

The outcome that we are looking for is:

All epics, that have tasks assigned to team members, within the current sprint.

Adam LaCoste
Contributor
April 28, 2023

@Jack Brickey - Sorry Jack, I missed that last piece with my reply.  The list is coming back empty.

Jack Brickey
Community Champion
April 28, 2023

Have you reviewed the Cloud Scriptrunner docs? You may have to choose a different method. Have you inspected the stories to ensure that the do in fact have an epic link?

Adam LaCoste
Contributor
April 28, 2023

The epic links are there.  Agreed, a different method is most likely needed, any assistance with that would be most appreciated.  Thanks @Jack Brickey 

Jack Brickey
Community Champion
April 28, 2023

@Adam LaCoste , can you try this under the Enhanced search...

issuefunction in epicsOf(sprint in openSprints())

AAAAA.jpg 

Adam LaCoste
Contributor
April 28, 2023

@Jack Brickey - I honestly don't know how I missed that.  Thank you very much.  Very much appreciated.

Like Jack Brickey likes this
0 votes
Kelly Arrey
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.
April 27, 2023

Hi @Adam LaCoste Not everything from ScriptRunner Server ports seamlessly to ScriptRunner Cloud. You may want to have a look at this: https://docs.adaptavist.com/sr4jc/latest/features/scriptrunner-enhanced-search/comparison-with-scriptrunner-for-jira-server

Adam LaCoste
Contributor
April 28, 2023

Thanks @Kelly Arrey this was helpful.

Like Kelly Arrey likes this
0 votes
Ajay _view26_
Community Champion
April 27, 2023

Hi @Adam LaCoste 

The issueFunction  in  the JQL is provided by ScriptRunner and is not  part of Jira's Clouds default functionality. 

Adam LaCoste
Contributor
April 27, 2023

Thanks Ajay.

Suggest an answer

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

Atlassian Community Events