I've searched thru the answers here (and via google) but I can't seem to find out if it's possible to set the Original Hours field via a CURL update. I can set fixversion, assignee, etc.
curl -X PUT --data @[json below] [our URL]
I also tried:
curl -X POST --data @[json below] [our URL] (and got HTTP method not allowed for the requested resource)
My json file is one line:
Am I looking in the wrong place?
It mentions that you should also disable the legacy time tracking mode to be able to change other time tracking fields than remaining estimate
I'm using ondemand, so I believe that time tracking mode isn't mine to enable/disable - ergo, it's disabled. The example there is what i used to derive my JSON to begin with - there's just not an example of it being "updatable" - which is different from generating it when the issue is created.
Are you able to modify the original estimate through the main JIRA interface? Check to make sure that you have disabled 'legacy time tracking' in JIRA's admin interface - http://confluence.atlassian.com/display/JIRA/Configuring+Time+Tracking#ConfiguringTimeTracking-configuringtimetracking
Also ensure that the user you are logging in with via curl has permission to modify the time estimates. :-)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG