Time & Cost Tracker for Jira Cloud is a great add-on that can be implemented in your Jira to keep track of the cost of a task using the issue widget.
...
It doesn't matter which app you use for time logging - built-in from Jira, Clockwork, etc. The app even works with Tempo Logs, so integrating Time & Cost Tracker into your Jira is simple and hassle-free (to set up their display in cost reports, use the instructions - Get Tempo Worklogs).
...