Hi!,
We're running tests on a Jira instance to see how Jira works with version 9.1.0, and we found an issue with the Announcement Banner that not showing up in Jira version 8.22.2.
In the Announcement Banner we have a script to enable Autocomplete Renderer for Multi-Select Custom Field, the problem in version 9.1.0 is that if the edit/creation screen appears through a Pop Up, the Announcement Banner configuration for the field does not work , but if we open the edit/create screen in a new tab the configuration works correctly.
This is the script that we have in the Announcement Banner:
<script type="text/javascript">
//MARKETS
(function(cf_12615) {
function convertMulti(id){
if (AJS.$('#'+id+"-textarea").length == 0){
new AJS.MultiSelect({
element: AJS.$("#"+id),
itemAttrDisplayed: "label",
errorMessage: AJS.params.multiselectComponentsError
});
}
}
AJS.toInit(function(){
convertMulti("customfield_12615");
})
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e, context) {
convertMulti("customfield_12615");
});
})(AJS.cf_12615);
</script>
As I indicated this incident does not happen in the version of Jira 8.22.2
Does anyone know why this script works on Jira 8.22.2 but not on 9.1.0?
Regards,
Gustavo Monsalve