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

How do I display the value of a field from an Epic on the children? Edited


We have Scriptrunner. What I want to do is take the value of a scripted field from the epic, and display that value in a different field on all children. The field has to update when the scripted Epic field updates (using a listener?).



We sell hourly professional services budgets.

I have a scripted field on the Epic (which represents one (1) budget) which takes all logged work from all children and subtracts it from the Epics Original Estimate. We use the Original Estimate to enter the amount of hours sold. I have a listener set up to look for work log changes and triggering a re-index. This works perfectly.

Now I want to display this value (how much time is left in the whole budget (Epic)) on each child (as a different field with a different name), so that people don't have to navigate the issue tree to check how much time they can still log until the Epic runs out.


My attempt so far:

I copy pasted different old solutions to similar problems, especially traversing each "Epic-Story Link" relation and storing the found Object to refer to in a linkedIssue variable. Like I did when implementing the first scripted field.

However, this seems to point me at the "Issue" interface, which for some reason cannot access getCustomFieldValue($FOO) method.

Weirdly enough, the other methods work. Like getOriginalEstimate() and stuff. 

I have no working code to show for this.

0 answers

Suggest an answer

Log in or Sign up to answer

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