title: How can be created a filter in jira that contains the sum of time spent and time budget of the issues of all epics?
body: <p>I´m trying to create a gadget for the Jira Dashboard that´s quite hard to accomplish. </p>
  
  <p><strong>I need to show a list of epics with time budget and the sum of time spent as columns.</strong> </p>
  
  <p>The problem I´m facing is that the time logged is not made in the epics, but in the tasks or issues inside the epic (as I think it should be) and the column on "sum of time spent" is always empty. </p>
  
  <p>This means, as I see it, that I have to be able to sum up the issues inside every epic and somehow show it in the empty column of the epic I need to see. </p>
  
  <p>I created a filter and I´m calling it with the "filter results" jira dashboard gadget. </p>
  
  <p>I tried with the Script Runner plugin and read the API it has, but still no idea how can that be done. </p>
  
  <p>Is there any idea?</p>
  
  <p>Thanks in advance for any advice. </p>