How to export report Tempo with scripted custom field


Is it possible to interact with Tempo and scripted field? For instance, based on chosen time, user on Tempo report, scripted field will calculated the cost dynamically.



1 answer

It is possible to interact with Tempo via a scripted field. Take a look at our documentation on working with Tempo

The currently published guide is written for Tempo 7, but the next release of ScriptRunner should include documentation for working with Tempo 8 on the same page.

It can be difficult to engineer certain things, since Tempo doesn't have a published JavaDoc, and their REST and servlet APIs are somewhat limited. Still, if there's something specific you're interested in doing, look around on Answers and in the aforementioned ScriptRunner documentation, as there may be an example there.

Hi Jonny,

Thank you for your answer. In my case, I want to export tempo report along with cost per worklog id. Currently, I can return the cost but per issue. As you know 1 issue can have more than 1 worklog and more than 1 worklog author.



Resource Cost is customField_11913 below.

image2016-8-3 10:19:41.png

Is it possible to update this custom field based on each worklog id before export to excel ?

If you're using JIRA's export-to-excel feature from an issue filter, no. The value of the field, at that point, is what it is. You could maybe change the output of the field to be a comma-separated list of values, instead of a sum. It sounds like the example script doesn't actually return what you want, and you need to modify it to do so.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,062 views 13 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot