Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation to fully the time tracking

Lucas Silva Dantas Abrantes November 8, 2022

Hello everyone, i'm with a problem in my jira that when an subtask change the status to the the status done,
the Time tracking
keeps on the 0, but i need the time tracking be filled with the same time that was estimated in this case i estimated 2.

time logged.png
I tried to create a automation to do this but dosent work as in the image bellow

 automation.png
Someone can help me i already spent 1 day on this, without any solution, thank you very much for reading untill here;

1 answer

1 accepted

2 votes
Answer accepted
Mark Segall
Community Champion
November 8, 2022

Hi @Lucas Silva Dantas Abrantes - The first thing I see is that this is triggering From Done instead of To Done.

If this doesn't solve your issue, can you please share a screenshot of the audit log for the rule as this will provide additional information.

Lucas Silva Dantas Abrantes November 8, 2022

hi @Mark Segall , the automation didn't worked and didn't have been executed so it didn't appear in log

Lucas Silva Dantas Abrantes November 8, 2022

rule.png

Mark Segall
Community Champion
November 8, 2022

Did you change the Trigger as mentioned in my last comment?  

Lucas Silva Dantas Abrantes November 8, 2022

@Mark Segall 
sorry i changed it now
rule2.png

Mark Segall
Community Champion
November 8, 2022

Are the sub-tasks getting transitioned to Done through automation by chance?  If so, you'll need to ensure this is checked under Rule Details:

Allow rule trigger

Check to allow other rule actions to trigger this rule. Only enable this if you need this rule to execute in response to another rule.
Lucas Silva Dantas Abrantes November 8, 2022

@Mark Segall no the sub-tasks are getting transitioned to Done manually by the users

Mark Segall
Community Champion
November 8, 2022

Sorry, I didn't see the screenshot with the error before my last response.  It's not liking the calculation you're using:

{{#=}}{{issue.original estimate}} / 3600{{/}}

What happens if you simply use this?

{{issue.original estimate}}
Lucas Silva Dantas Abrantes November 8, 2022

@Mark Segall worked when i disabled all the other rules, thank you very much i will investigate why this is happening

Lucas Silva Dantas Abrantes November 8, 2022

@Mark Segall Thankyou very much i changed to 

{{issue.original estimate}}

And then it worked perfectly with all the other automations thank very much i appreciate your support

Like Mark Segall likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events