Forums

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

Having issues setting the originalEstimate field for JIRA tickets in python

Scott Rowlands
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 17, 2025

Hi All,

I am having issues updating the originalEstimate field on a JIRA ticket. 
The response to my updates is always some variation of the following:

response text = {"errorMessages":[],"errors":{"timetracking":"Field 'timetracking' cannot be set. It is not on the appropriate screen, or unknown."}}

 

I have tried various combinations to get this to work (Below are some examples):

to_update[0].update(fields={"timetracking": [{"edit": {"originalEstimate": "5d"}}]})
to_update[0].update(fields={"timetracking":{"originalEstimate":"40h"}})
to_update[0].update(fields={'originalEstimate': "40h"})

Is there a way to make this field editable in Python?

Thanks

1 answer

0 votes
Carlos Garcia Navarro
Community Champion
August 17, 2025

Hi @Scott Rowlands ,

Welcome to the Community! Do you have the 'time tracking' field in the corresponding screen (you can check this under project settings-> Screens)?

Is your script successful at updating other fields?

Scott Rowlands
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 17, 2025

Hi @Carlos Garcia Navarro ,
Yes, I have the 'time tracking' field in the corresponding screen. I'm unsure if the script successfully updates other fields, as this is the first one I have tried, and I don't have any other updates to perform via Python. 

The rest of the script appears to be functioning correctly, as I can connect to JIRA, query, and run JQL to retrieve a subset of JIRA issues for updating.


Thanks.

Suggest an answer

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

Atlassian Community Events