Forums

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

Adding parents (epics, initiatives) to the results returned from JQL for last closed sprint

Monica Harrell
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!
February 24, 2022

Hi, I am using script runner to pull back issues closed in the last sprint, but I'd also like to see which epic they belong to. I'm pulling the results of this query into Advanced Roadmaps, so I think ultimately what I need is for the epics themselves to return in the search results, and then I will let Advanced Roadmaps use it's own hierarchy capabilities to sort them. 

"issueFunction in previousSprint("plat board") - this is what I'm using to return the issues closed. 

Something like the following is what I'd like to be able to pull, as an accompanying or second query... but this is not valid to search with.

issueFunction in parentsOf("issueFunction in previousSprint("plat board")")

1 answer

0 votes
Crystelle S
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.
March 2, 2022

Last I was told there is a bug in the nested scriptrunner functions when you use them as a board source in Advanced Roadmaps (AR), you may randomly, inexplicably be missing tickets. That being said, I know it sounds crazy but have you tried switching your "" around the second issue function in the () to ''? I can't speak to whether you will have data issues per my first comment but it usually "goes green" in the query module when I mess around with the nesting of "" ''.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events