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.
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.
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.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot