Issue Details (XML | Word | Printable)

Key: JRA-7320
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Anders Wallgren
Votes: 12
Watchers: 9
Operations

If you were logged in you would be able to see more operations.
JIRA

Allow me to change the "None" in custom fields

Created: 13/Jul/05 11:50 PM   Updated: 19/Jun/08 03:58 PM
Component/s: Custom Fields
Affects Version/s: 3.2.2
Fix Version/s: None

Time Tracking:
Not Specified

Participants: =Neal Applebaum, Aaron Zeckoski, Anders Wallgren, Anton Mazkovoi [Atlassian], John M. Black and Nick Menere [Atlassian]
Since last comment: 16 weeks, 4 days ago
Support reference count: 7
Labels:


 Description  « Hide
I have a custom field, called "Doc Impact" with two values: "Yes" and "No"

Before a user has chosen one of the two values, it display "None" as the value. This is misleading users, since they see "Doc Impact: None".

I would like to be able to change the "no value selected" for custom fields.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Anton Mazkovoi [Atlassian] added a comment - 14/Jul/05 04:09 AM
Hi Anders,

You can actually pick a defult value for a custom field such that 'yes' or 'no' is selected by default. This way, unless the user specifically chosses 'none' the field will have a value.

Thank you for the suggestion.

Anton


Anders Wallgren added a comment - 14/Jul/05 12:37 PM
I understand that I can select a default value, but I explicitly don't want
to do that. I want the developer to fill that value in.

_____

From: Anton Mazkovoi (JIRA) jira@atlassian.com
Sent: Thursday, July 14, 2005 2:09 AM
To: anders@electric-cloud.com
Subject: [JIRA] Commented: (JRA-7320) Allow me to change the "None" in
custom fields

Issue (View <http://jira.atlassian.com/browse/JRA-7320> Online)

<http://jira.atlassian.com/images/bluepixel.gif>

Key:

JRA-7320 <http://jira.atlassian.com/browse/JRA-7320>

Type:

<http://jira.atlassian.com/browse/JRA-7320> ImprovementImprovement

Status:

Open <http://jira.atlassian.com/images/icons/status_open.gif> Open

Priority:

Major <http://jira.atlassian.com/images/icons/priority_major.gif> Major

Assignee:

Unassigned

Reporter:

Anders
<http://jira.atlassian.com/secure/ViewProfile.jspa?name=anders_wallgren>
Wallgren

Operations

<http://jira.atlassian.com/images/bluepixel.gif>

<http://jira.atlassian.com/images/icons/bullet_creme.gif> View all
<http://jira.atlassian.com/browse/JRA-7320?page=all>

<http://jira.atlassian.com/images/icons/bullet_creme.gif> View comments
<http://jira.atlassian.com/browse/JRA-7320?page=comments>

<http://jira.atlassian.com/images/icons/bullet_creme.gif> View change
<http://jira.atlassian.com/browse/JRA-7320?page=history> history

Allow me to <http://jira.atlassian.com/browse/JRA-7320> change the "None"
in custom fields
Updated: 14/Jul/05 04:09 AM Created: 13/Jul/05 11:50 PM

The following comment has been added to this issue:

[ Permlink
<http://jira.atlassian.com/browse/JRA-7320?page=comments#action_38778> ]

Author: Anton
<http://jira.atlassian.com/secure/ViewProfile.jspa?name=anton%40atlassian.co
m> Mazkovoi
Date: 14/Jul/05 04:09 AM
Comment:
Hi Anders,

You can actually pick a defult value for a custom field such that 'yes' or
'no' is selected by default. This way, unless the user specifically chosses
'none' the field will have a value.

Thank you for the suggestion.

Anton

Project:

JIRA <http://jira.atlassian.com/browse/JRA>

Components:

Custom Fields

Affects Versions:

3.2.2 Enterprise

Description

I have a custom field, called "Doc Impact" with two values: "Yes" and "No"

Before a user has chosen one of the two values, it display "None" as the
value. This is misleading users, since they see "Doc Impact: None".

I would like to be able to change the "no value selected" for custom fields.

<http://jira.atlassian.com/images/border/spacer.gif>

This message was automatically generated by Atlassian JIRA
<http://www.atlassian.com/c/JIRA/10140> Enterprise Edition, Version:
3.2.2-#90 - Bug/feature
<http://jira.atlassian.com/default.jsp?clicked=footer> request
If you think it was sent incorrectly contact one of this server's
administrators <http://jira.atlassian.com/secure/Administrators.jspa> .


Nick Menere [Atlassian] added a comment - 15/Jul/05 01:05 AM
Anders,

This can't be done in JIRA itself. Though, you can edit the language file:
JiraWebActionSupport.properties and replace the line:
common.words.none = None

with

common.words.none =

Though this will have the effect of having a blank everywhere "None" usually appeared.

Another opttion is to edit the file:
edit-select.vm and replace the lines:

<option value="-1">$i18n.getText("common.words.none")</option>
#else
<option value="">$i18n.getText("common.words.none")</option>

with

<option value="-1"></option>
#else
<option value=""></option>

Though this will cause all select lists to have a blank instead of the word "None".

The only solution that will not effect other things is to create your own Custom Field Type that is a complete duplicate of the Select Custom Field except it uses another view template with the changes I mentioned above.
Details on Custom Field Types can be found at:
http://confluence.atlassian.com/display/JIRA/How+to+create+a+new+Custom+Field+Type

Hope this helps.

Cheers,
Nick


Aaron Zeckoski added a comment - 04/Nov/05 07:56 AM
This work around is terrible. We should have the option for custom fields to not have the "none" put into the list by default. Please fix this as soon as possible.

Nick Menere [Atlassian] added a comment - 06/Nov/05 06:50 PM
Aaron,
With limited resources we must select which features/improvements and bugs we are going to implement.

As this improvement does not have many votes and does have a workaround (albeit an ugly one) this did not go into 3.4.

Cheers,
Nick


John M. Black added a comment - 19/Jun/08 02:45 PM
Hi Nick,

We need a custom field called "Impact on User Experience". We want the values to be:

  • No visible change
  • Change to existing feature
  • New feature

And we need this to be a required field. But when we did this, we got the following listbox:

Impact on User Experience:
- None
- No visible change
- Change to existing feature
- New feature

Everyone was confused by the "None" option, because within the context of the words of the prompt, the word "None" had an implied meaning that we don't intend.

How do you suggest we work around this?


=Neal Applebaum added a comment - 19/Jun/08 03:26 PM
I think the workaround is given above, to edit the file edit-select.vm

John M. Black added a comment - 19/Jun/08 03:35 PM
But doesn't that mean we have to re-make that change every time we apply a patch? Is there a way to keep some of the config file customizations permanent?

=Neal Applebaum added a comment - 19/Jun/08 03:58 PM
Yes - any customizations you make would have to be re-done every time you upgrade. That's why this is still an open issue.