Showing all values in SelectList

Hi all,

how can I get all the available values in the SelectList for Components & Labels.

Now only a few values will be displayed. Only when I start the input the system suggests a given value if it is in the list available. For that I have to know which values are available and I do not have the complete list where I can choose a value.

We are using JIRA 6.1.

Thanks for any answer.

Norbert

4 answers

1 accepted

0 vote

Could you explain the problem a bit more? The best answer I can give depends on whether it's a "human wants to see the whole lot" or "I'm coding a plugin/script and need the list" or "I'm doing something in javascript"

Hi,

thanks for the answer.

The problem is, the human wants to see the whole lot in a select list.

Do you have any suggestions how to achieve this.

Thanks for a further answer.

Norbert

Ok, that's nice and clear. The lists are limited simply to avoid cognitive overload, but if your humans need a really long list, you have the option of editing the code that is limiting the list. The data is all there, you should just need to tweak the .vm file that is only showing you the top part of it.

Hi Nic,

thanks for the answer.

But I do not know which .vm-file I have to alter to extend the selected list for

  • components
  • labels

Please let me know the filenames and the action I have to do.

Thanks a lot.

Norbert

In the files

atlassian-jira/includes/jira/field/initComponentPickers.js
atlassian-jira/includes/jira/field/initComponentPickers-min.js

there is an option called "maxInlineResultsDisplayed". To always show the complete list of components you need to delete/comment out this option. Labels should always be shown as a complete list.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

740 views 1 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you