Skip to content

Status change not working on issue detail #124

Open
@evs-xsarus

Description

@evs-xsarus

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions