Hello there,
I am creating a new rule through Automation for Jira plugging (in Data Center instance) trying to add up the time spent in a task (time that is being registered in this moment) in the epic parent also.
---ATTACHED IMAGE---------------
Example:
Epic Time Spent before the new worklog= 1d
New worklog is logged to one of its tasks = 2d
New Epic Time Spend should be = 3d
------------------
However the following rule add up all accumulated worklog on the task to the epic.
Thank you all in advance,
Best regards
Hi @Jorge
When the trigger is Work Logged for the child issue and you also want to log that same work to the Epic parent, use this smart value and not the issue's worklog with the Log Work action:
{{worklog.timeSpentSeconds}}
Kind regards,
Bill
Thans for your comments, @Bill Sheboy
You are right.
I have used the following smart value with the Log Work action and finally epic logs the correct value (not the accumulated)
{{worklog.timeSpentSeconds}}
Now the point is, how could I change the Actor? Because this is being registered by Jira Administrator user (owner and actor of the rule). I cannot change it to "User who triggered the event".
Remember that it works in Data Center
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do not believe it is possible to log work on behalf of another person, and I recall there are open suggestions to add that feature.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Bill Sheboy,
Imagine a scenario where you want to log time that belongs to other day. According to my rule, it is always being logged at {{now}}.
¿Do you know if it is possible to set the same date that was set in the Story?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To use the same value from the trigger, please enter the value {{worklog.started}} in the Date Started field when you log the work.
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.
Have you considered what if I delete a worklog on a task?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @YY Brother , thanks for you time
If I delete the historical worklog for the task and I load time for the first time I get the expected result.
But for the second register I get the accumulated sum of the task.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.