Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira Automation - I have to update "Time Remaining" to zero when a sub-task is moved to Done Edited

When I move a sub-task to "Done" Status - automation should log the remaining hours time and update the field to zero. Appreciate help and guidance on this. thanks in advance. 

1 answer

1 accepted

0 votes
Answer accepted

Hello @Hari 

Welcome to the community.

Have you reviewed the documentation for the Automation feature?

https://support.atlassian.com/jira-software-cloud/docs/automate-your-jira-cloud-processes-and-workflows/

I was able to create this rule very quickly. It is not complicated.

Screen Shot 2021-02-12 at 4.47.09 PM.png

Hi Trudy, Thank you very much for your help. I tried with this, but the hours are not being logged to the work log. Not sure, if there's any thing I should double check. 

Hello Hari,

Was the Remaining Time set to zero?

Setting Remaining Time and logging hours are two different things. How much time do you want to automatically log?

Like Hari likes this

Thanks Trudy,
The idea is that I need to add/log the hours in "Remaining estimate" to "Time Spent" . then I have to make "Remaining Estimate" to zero as the task is completed. 

In the Automation feature there is an Action for Log Work, but it seems to require an explicit and static amount of time to be logged. 

I have not worked extensively with the Automation feature, but I found this old post on the predecessor product where the participants talked about using the Edit Issue action and JSON to set the remaining time estimate and to log work.

https://community.atlassian.com/t5/Jira-Core-questions/How-to-change-timespent-with-an-automation-rule/qaq-p/401843

I'm not sure if the specific fields are all still supported and referenced as described in that post, but you could experiment with it and see what works.

Like Hari likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Trello

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

75 views 4 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you