Hi
I'm developing a custom macro and struggling with macro parameters more specifically with user pickers
So if I create a macro parameter as
var input = AJS.$("input[type='text']", paramContainer);
input.addClass("autocomplete-user");
input.attr("data-none-message", "Not found");
input.attr("data-show-unlicensed", true);
It does return unlicensed users by appending special get parameter to search api request
But the same for multi user select
var input = AJS.$("input[type='text']", paramContainer);
input.addClass('select2-input autocomplete-multiusergroup');
input.attr("data-none-message", "Not found");
input.attr("data-show-unlicensed", true);
doesn't work, it returns only licensed users and underlying rest api call doesn't contain parameter show-unlicensed
I've tried to check confluence-project\confluence-core\confluence-webapp\src\main\webapp\includes\js\components\binders\autocomplete-user.js file but it seems it doesn't know anything about autocomplete-multiusergroup it knows only about 'user', 'group', 'user-or-group'
so I'm not sure how to make autocomplete-multiusergroup return all users including unlicensed
Can somebody shed some light no this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.