I'm using JIRA's REST API and after checking the whole API (http://docs.atlassian.com/jira/REST/latest/) I didn't see anything that allows you to edit the time spent on an issue. But I believe that it's possible using this API. What did I miss in the API? Can someone tell me if there's a way to edit the time spent on an issue using this API? Thanks!
Community moderators have prevented the ability to post new answers.
Not at this time using REST API. You might want to try SOAP or create a REST plugin of your own!
Yes... you can only do this via SOAP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You'll be able to do this when JIRA 5 lands.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using JIRA 5.0.6 and I am not able to set the time spent for a task. Using cURL:
curl -D- -u user:**** -X PUT --data @test.json -H "Content-Type: application/json" http://nb098:8080/rest/api/latest/issue/TEST-23
and test.json like:
{"fields": {"timetracking": {"timeSpent": "60"} } }
I get an error: {"errorMessages":[],"errors":{"timetracking":"Setting the Time Spent directly is
not supported."}}. The same error occurs when I use "update" and "set" in the json file.
Is this still not supported by JIRA? Is there any way to set this value from outside of JIRA?
Thanks,
Michael
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.