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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

AUI SELECT 2 multi / populate via code (on premise) Edited

In JIRA 8.13 I'am trying to code an autocompletion filed (multi values) based on the AUI select2 field.

multiple: true,
closeOnSelect: true,
tokenSeparators: [","],
placeholder: PLACEHOLDER,
minimumInputLength: 2,
formatResult: format,
initSelection: function (element, callback) {
callback({id: $(element).val(), text: $(element).val()});
ajax: {
url: <...>,
dataType: 'json',
data: function (term) {
return {term: term,};
results: function (results) {
return results;
quietMillis: 250,
cache: false

But I have also to populate the field programatically, In JIRA 8.2.x I did that by populating the field with a comma separated list of values. And this worked fine so fare. For JIRA 8.13 this did not work anymore. So I am passing the values like this by now:



But this results in a single entry in the input field value "A,B,C" wrapped wrapped with a single gray box instead of dedicated boxes for each passed value.

Any ideas how to solve that issue? I guess it might be related to the initSelection parameter.

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,047 views 8 28
Join discussion

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