Jira Project Specific Field - limit to number of values?

Is there a limit to the number of values the Project Specific Field can have before it stops working as a tab on the Project page? I have a field that has more than 900 values for a project and more than 1100 for 2 other projects. Clicking the Project Specific tab on the project page for those projects results in a timeout error.

Jira: 6.2.6
Project Specific Fields plugin: 2.0.4

2 answers

I was not aware, that there a custom fields used with this amount of option values. The tab runs into a timeout error, because for the custom field statistics (bar chart) a count of issues is done for each option value. That means a lot of JQL queries. And also the HTML page itself gets big.

How about restricting this custom field statistics to first 50 option values? Or drop the creation of the count and bar chart for a custom field with more that 50 values?

What would you prefer?


The second option is fine for me - drop the chart if there are more than 50 values.

An additional question - is there a way to force the values in the field to be sorted alphabetically?

You mean not only in the Project Specific tab, but also in issue create and edit?

There should be an option to have them sorted alphabetically that affects all contexts

I am currently preparing a release with dropped statistics for custom fields with above 50 option values to adress the time out issue. (Soryy for waiting for this release, but its vacation time...) Concerning sorting, can we continue discussion at https://bitbucket.org/hski/projectspecificselectfield-public/issue/33/allow-sorting-of-values-on-the-projectas this is a similar feature tequest? Best regards, Holger

When will that release be ready?

I have released a new version 2.0.5 fixing this time out problem. Statistics for the Project Specific tab are created now only for custom fields with less than 50 option values.

Is there a way to change an existing value in a field from within the Jira UI?

This can be done by a JIRA admin via regular custon field configuration, where the JIRA admin can add, delete, edit and sort option values. For giving this capability of editing option values to project admins, please comment and follow this feature request https://bitbucket.org/hski/projectspecificselectfield-public/issue/30/allow-editing-of-values-for-project-admins

So there is no UI-based way to chagne the value of a project-specific field option unless each project has its own configuration scheme? I did not create a field configuration scheme for each project, as I have 85 projects and each needs its own set of values. This is a major oversight.

Sorry, this is a missunderstanding. You don't need a field configuration scheme per project. You just need one custom field context per project. https://confluence.atlassian.com/pages/viewpage.action?pageId=185729468

Ah. I understand now. I have created a context for a field and a project, but do not see the values already created for that field in that project.

Note that the field was created before we upgraded to the latest version of the plugin.

You started with version 1.x? And you are now working with 2.x, right? What type are your custom fields? Project Specific Select Field, Project Specific Multi Select Field or Project Specific Select Field (simple)?

The field predates the 2.x update, so I believe it is Select Field (simple).

Sorry, all what I was saying about changing option values via JIRA admin UI is only valid for Project Specific Select Field and Project Specific Multi Select Field. For Project Specific Select Field (simple) you as a project admin have to create a new option value, change corresponding issues via bulk change to this new value and then disable the old value. There is no direct edit available.

In general Project Specific Select Field and Project Specific Multi Select Field have many advantages (see https://bitbucket.org/hski/projectspecificselectfield-public/wiki/Home with section about Deprecated Custom Field Type). You should think about migration from Project Specific Select Field (simple) to Project Specific Select Field resp. Project Specific Multi Select Fiel. But I must say, that currently there is no real support for this, then just creating a new custom field by hand and then migrate via bulk change. Another customer requested a migration tool or at least some REST API to do this via scripting, but implementation is tricky for this. Please comment and vote there if interesting for you.

Best regards

The current version does not fix this bug. The tab still times out.

May I ask how many Project Specific custom fields you have?

Only a few fields, but in the affected projects, one of the fields has 800-1000 values.

This was the original problem described in this report.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,969 views 19 22
Read article

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