Forums

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

Find all the initiatives covered in a sprint

Catriona Barker
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!
January 4, 2024

I am trying to get a list of all the initiatives covered in a sprint.
I had this working before Christmas but the filters are no longer working.

Previous filters - using scriptrunner & Jira Cloud

Epics in the sprint - filter 1 -  issueFunction in epicsOf("sprint = XX") - this filter is still working

Initiatives which cover these epics - issueFunction in parentsOf("filter=1")  - this was working but now just gives 'NO RESULTS FOUND'

 

Does anyone know what has changed in the last few weeks or have ideas for a different approach?

1 answer

0 votes
Trudy Claspill
Community Champion
January 4, 2024

Hello @Catriona Barker 

Welcome to the Atlassian community.

Are you executing the first filter for the same Sprint as when you executed the filter before the end of the year?

How are you indicating that an Initiative "covers" an Epic? Are you using Advanced Roadmaps Plans to make the Epics children of Initiatives?

I don't have a Premium Jira environment with Scriptrunner (at the moment) to do my own testing.

However I note from the Scriptrunner documentation that the parentsOf function is about finding parent issues for subtasks.

https://docs.adaptavist.com/sr4jc/latest/features/scriptrunner-enhanced-search/jql-functions#subtask-functions

If it was giving you results unrelated to subtasks previously, that may have been unintentional.

This may also have something to do with the roll out of the Parent field replacing Parent Link and Epic Link. Refer to

https://support.atlassian.com/jira-software-cloud/docs/upcoming-changes-epic-link-replaced-with-parent/

You may want to contact the ScriptRunner support team to find out if they have updated their app to accommodate the changes Atlassian has rolled out.

Catriona Barker
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!
January 5, 2024

Thanks. I'll try contacting ScriptRunner but the filters were working after the field/link update.

Yes - the filters are all saved and looking at closed sprints, so content should not have changed at all over the holiday.

Trudy Claspill
Community Champion
January 9, 2024

Hello @Catriona Barker 

Have you gotten any insights yet from the app vendor?

Suggest an answer

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

Atlassian Community Events