Ich benötige eine Automation welche beim Fertigstellen eines Tasks einen anderen Task erzeugt und dort die Zeiten des ursprünglichens Tasks UND der SubTasks addiert und einträgt. Für den Task selbst klappt das wunderbar, aber die Summierung der Subtasks bereitet mir Schwierigkeiten.
So sieht die Automation momentan aus. Es fehlen die protokollierten Zeiten der Subtasks.
Und streng genommen müsste auch die Prüfung zu Beginn (timespent >= 40) schon die Stunden der Subtasks mit beinhalten. Ist das überhaupt umsetzbar?
Have you tried using the subtasks smart value to sum the values, such as from {{triggerIssue.subtasks}} to access the time tracking smart values?
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 would use the smart value I noted with the time tracking attributes, and if necessary, use a math expression to sum that with the parent work item's data:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/
What have you tried to use that smart value thus far?
If it is not working as expected, please post images of your updated rule and of the audit log details for context, and explain what is not working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, but i don't unterstand how to use the smart values.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The timeSpent smart value is the "pretty print" text value, such as "3d 2h 1m", and it cannot be summed. Please use the timeSpentSeconds value instead and divide by 60 to log the minutes, and add the units of measure to the end:
{{triggerIssue.subtasks.timeTracking.timeSpentSeconds.sum.divide(60)}}m
And, I recommend pausing to learn the structure of the time tracking smart values, using this how-to article:
https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is, what i am searching for. Thank you very much :)
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.