The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to update Time Tracking when issue is in status with jira.issue.editable = false?

Maroline Johnson
Contributor
October 23, 2023

In our workflow, when an issue reaches the Closed status, the issue is not editable due to the workflow property jira.issue.editable = false.

I was looking at an issue in the Closed status and noticed that the Time Remaining still had 5h in it. I would like to update the time remaining. I understand that fields are not editable when the issue is in this state. 

When I'm navigating through the ticket, *almost* all fields are inaccessible; the exception is the Time Tracking field. I'm able to click on it, the time tracking window opens, and I can edit the fields. However, when I hit Save, Jira shows a pop-up in the bottom left that says "We couldn't save your edit. Check your connection, then give it another try." 

I'm assuming that's because of the editable property I have disabled, but the messaging is a bit misleading. Is this a bug, or should I not be able to edit this field? 

If I can't edit the field, how would you suggest that I make sure Time Remaining is updated to 0 when an issue is closed? 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Trudy P Claspill
Community Champion
October 23, 2023

Hello @Maroline Johnson 

You could use a Post Function in the workflow transition to the "closed" status to set the Remaining Estimate field to 0.

That would handle the change going forward, but would not update the issues that already exist in that status.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events