hello, i am blocked here. i don’t know what to do to get this issue done ! any help pls ?
this is my code :
AP.request({
url: '/rest/api/3/issue/' + key + '/worklog',
type: 'POST',
data: {
"comment": {
"content": [
{
"content": [
{
"text": worklog_text,
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
},
"started": Datestarted + "T" + Timetarted + ":00.000+0000",
"timeSpentSeconds": converter(timeSpent)
},
success: function (responseText) {
alert(responseText);
},
error: function (xhr, statusText, errorThrown) {
document.getElementById('responseText').innerHTML = (arguments[0].responseText);
}
});