You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Dear all,
We have the use case, that we want to copy the logged time from one issue to the corresponding linked issue.
Within the automation I created the variable with "{{issue.timetracking.timespent}}".
My issue: This variable is always getting the whole sum of the time spent, but I just want to copy the time spent while this booking.
e.g. I have booked in 3 steps one hour, two hours, three hours I will not receive 6 hours, instead i will have 10 hours.
Is there the possibility to calculate this:
- current timetracking - lasttimetracking (based on last run)
- just copy the new booking?
Best-,
Nicole
Hi Bill,
Thanks for your advice
This is my current setup. I also tried it with "{{worklog.timeSpent}}" but both are just giving the sum of booked time back.
When responding please try to stay with one thread. That will help others in the future reading this question to know if there are multiple solution approaches. Thanks!
Next, your trigger is for any updates to Work Logged, and so that will not include new entries. Is that what you want? If you want all changes please remove the Updated selection from the trigger.
I am using Jira Cloud, not Server...and that has two sets of smart values:
Please check if those are both available for the Server version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, and an image of the audit log details showing the rule execution. Those will provide context for the community to offer ideas. Thanks!
Until we see those...
Are you using the Work Logged trigger? If so, please use the {{worklog}} smart value, as that is the one the trigger provides for the time which was just logged, and not the totals for the issue: https://confluence.atlassian.com/automation/jira-smart-values-issues-993924860.html#Jirasmartvaluesissues-worklog
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.