Forums

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

Script Runner Enhanced search not working properly for next-gen projects: how to get IssuesInEpics?

AVB
May 23, 2023

Hi,

Our hierarchy of project is the following: Initiatives are parent of Epics which are parent of Stories.

My intent is to get all the Stories depending from Epics linked to a specific set of Initiatives.

1) Using advanced filters, I saved a query that allow me to identify the Initiatives I want. I save this filter under "filter initiative".

2) Under Script Runner Enhanced Search, I did the following "issueFunction in linkedIssuesOf("filter = 12852"), 12852 being the ID of "filter initiative". Up to that point, it's working fine.

3) I want to get the Stories now but whatever I tried, it did not work. It seems issuesInEpics and EpicsOf are not working for next-gen projects.

Would you have a clue on how to proceed?

Any idea on how those features will be developed?

2 answers

0 votes
Yogesh Mude
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 Champions.
July 3, 2018

Hi @Ahmed_Bilal

If they are getting the access related errors then please check those users belong to that particular project role or is that you have been selected/sharted dashboard to that project role only.

Ahmed_Bilal
July 3, 2018

@Yogesh Mude Yes, these users belong to that project role, the dashboard shared with.

0 votes
Ollie Guan
Community Champion
July 3, 2018

Hi @Ahmed_Bilal,

Do these users also grant filter permissions to the gadget in the dashboard?

Ahmed_Bilal
July 3, 2018

I can check but if the filters are not shared? would it stop dashboard from accessing as well?

Ahmed_Bilal
July 30, 2018

Hi Ollie,

            Yes Dashboard is shared with project role and user belongs to that project user role.

For testing i have created an EMPTY dashboard still got same error.

It is bit strange as it is working on other instance of JIRA.

Ollie Guan
Community Champion
July 30, 2018

Hi @Ahmed_Bilal,

Re-create a dashboard, reference the new filter, and try to see if these users are accessible

If it still doesn't work, try creating a new group for these users and assign access to this group.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events