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
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.