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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,443
Community Members
 
Community Events
184
Community Groups

Jira automation- set time remaining to 0 when closing a subtask

Edited

Hey, 


there is some way to set up a rule in the Jira automation that will change the time remaining to 0 when closing a subtask? 


I tried a rule like: 


When: issue transition to 'closed' then edit issue fields Original Estimate/Remaining Estimate to 0

 

and advanced setting like - 

{
"fields": {
"timetracking": {
"originalEstimate": "10m"
}
}
}

 

But it didn't work and got this error

EDIT ISSUE
Unknown fields set during edit, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -
Time tracking (timetracking)
No fields or field values to edit for issues (could be due to some field values not existing in a given project):
AT-9999

Thanks in advance

1 answer

0 votes
Florian PEREZ
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 07, 2022

Hello, 

Is there a specific reason you want to use automation instead of a postfunction?

I think you should consider looking into adding a postfunction in the closing transition that set the field value to want you want!  

 

Give it a try a give us some news!  

Hey 

Thank you for your answer, I wasn't familiar with post-function in the workflows, but I did give it a try and it worked so thanks for that. 

 

Correct me if I'm wrong' but adding a post-function to the workflow will affect every project that uses this workflow no?

I don't want to affect other projects and it would be nice to know how to do it in the automation rules anyway.

 

Thanks again 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events