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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,725 views 17 21
Read article

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