How to get all the issues attached to the epic using scritrunner in jira cloud

chinmay konkar July 6, 2021

Hello Everyone,

Im using jira cloud and having scritrunner for cloud and I want to fetch all the issues (keys) which are linked to the epic. I tried using inward and outward issuelinks but it is not working for an epic.



Use Case - Basically I want to transition all the stories and tasks to 'Approved' state once its epic gets approved.

 

1 answer

0 votes
Fazila Ashraf
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 6, 2021

Hi @chinmay konkar 

Not using scriptrunner but the built in functions, you can use parentEpic function.

Example : 

  • Find issues and sub-tasks in the epic DEMO-123:
    parentEpic = DEMO 123
  • Find issues and sub-tasks the epic DEMO-1 or SAMPLE-4:
    parentEpic in (DEMO-1, SAMPLE-4)

 

Refer to https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/#Advancedsearchingfunctionsreference-parentepicparentEpic--

Suggest an answer

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

Atlassian Community Events