Recently my Redmine instance has been updated and uses dynamic edit 0.9.2 .
To close an issue, I've added a simple button which does nothing more then:
function closeTicket() {
var option = 5;
if (optionExists("issue_status_id", 18)) {
option = 18;
}
$("#issue_status_id_dynamic").val(option).trigger("change");
}
The option are those to close the issue.
The trigger starts the post to the server (edit.js), but nothing is changed anymore. If I change the status myself using that dynamic form, the status is changed. I've compared the payload sent to the server and noticed that using my code, the new status_id is missing. Is there another method to achieve this now?
Recently my Redmine instance has been updated and uses dynamic edit 0.9.2 .
To close an issue, I've added a simple button which does nothing more then:
The option are those to close the issue.
The trigger starts the post to the server (edit.js), but nothing is changed anymore. If I change the status myself using that dynamic form, the status is changed. I've compared the payload sent to the server and noticed that using my code, the new status_id is missing. Is there another method to achieve this now?