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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Calculate number of child issues per status category for an epic

I have added three numeric custom fields to an epic:

  • Derived: ToDo
  • Derived: In Progress
  • Derived: Done

I would like to create automation rules to calculate the total number of issues for each field based on the status category of the derived/child issues. One trigger would be whenever an issue is added/removed to the epic and the other one, when the status of one of the child issues changes.

I played around a bit, but couldn't get it to work. Any ideas?

1 answer

0 votes
nmenere Atlassian Team Sep 13, 2020


In Jira Cloud we have recently introduced a "Lookup issues" action that allows you to lookup issues via JQL and then reference them later in the rule as a smart-value.

With this you could have a rule:

  • When issue created
  • Branch on Epic
    • Lookup issues where jql: "Epic link" = "{{issue.key}}" and statusCategory = new
    • Edit issue - set "Derived:ToDo" to {{lookupIssues.size}}


Does that work for you?


Nick Menere [Atlassian]

That sounds promising, but we are using Jira Server. Will this be available there too?

nmenere Atlassian Team Sep 20, 2020

Unfortunately this is a Cloud only feature with no plan to migrate to the Server.

😞  Server users = 2nd class customers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Automation

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

965 views 17 24
Read article

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