Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Show unlicensed users with multiusergroup

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

so, nobody knows?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

519 views 18 17
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you