Hello everybody. I need to set some data and time in field duedate via REST API and can't set time. Always time sets 0:00. But I can change time manually. Here is my request
curl -i -u "test:test" -H "Content-type: application/json" -H "Accept: application/json" -d"{\"fields\":{\"duedate\":\"2020-12-01 05-00\"}}" -X PUT https://jira/rest/api/2/issue/${issueKey}
And if it not possible can I write my own REST Endpoint which will add not only date but time too into dudate field?
Unless you have a custom field called 'Due Date', the built-in Due Date field only accepts a date, not a time as well.
Try just {duedate : "2020-12-01"}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.