Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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 Jul 06, 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

Suggest an answer

Log in or Sign up to answer
Site Admin

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you