The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Show unlicensed users with multiusergroup

Alexander Lukashov
July 22, 2021

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?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Alexander Lukashov
July 27, 2021

so, nobody knows?

TAGS
AUG Leaders

Atlassian Community Events