Multi Level Cascade Select Plugin forgets saved values on Edit screen

We're testing JIRA 4.4.5 with JMLCS 2.5. We've found that if you edit an issue that has a JMLCS field on the Edit screen then only the first level is defaulted to the existing saved value and all other levels forget their saved values.

This means that data can be lost without the user realising when the edited issue is saved.

This doesn't happen if the screen is shown during a transition, only when clicking on the issue Edit link.

Any chance of a fix any time soon?

(It seems a bit weird to raise plugin bugs here but this is where the Plugin Exchange directs you.)

3 answers

This is an issue with jquery execution order. Edit multilevelcascadingUtil.js (in ATLASSIANHOME/includes) and place the code below (based on clickFirstVisible) in place of the call to clickFirstVisible(slaveSelector) in the dynamicMultiLevelSelect function. This makes it execute the jquery calls in the correct order for the plugin to work as expected.

change from:

$(slaveSelector).show();
clickFirstVisible(slaveSelector);

To:

$("option:first", slaveSelector).each(
function() {
$(slaveSelector).attr("selectedIndex", this.index);
$(slaveSelector).trigger("change");
}
);
$(slaveSelector).show();

Plz help me i am also looking for the solution

Does anyone know if this issue was resolved for Jira 5?

Yes, it is resolved

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

852 views 2 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you