Problem with Custom Fields and enums on projects

Hi,

I have a problem with the custom fields.

I've created an enum called "Milestone enum" and it consists of the following values:

No milestone

Milestone 1

Milestone 2

Then I have a custom field called "Milestone" which is of type enum[1].

When I then attach the custom field to my project I select the custom field "Milestone (enum[1])" and choose the enumeration "Milestone enum".

What is causing me problems is that the empty field text is not mappable to an enum value.

If I enter the text "No milestone" it will not generate a hit by a search on the enum value "No milestone", I must actively select the "No milestone" from the enumlist.

I would like the enum value "No milestone" to be assigned automatically on an issue, is this possible?

kind regards

Mattias

1 comment
Comment actions Permalink

Hello Mattias,

Setting the defaults for the custom field values will be available in the next version. This functionality is already included to the latest EAP build. Please, follow this link for more details: http://blogs.jetbrains.com/youtrack/2010/12/fresh-youtrack-energy-eap-build

You can download EAP build here:http://confluence.jetbrains.net/display/TSYSPUB/YouTrack+EAP+builds to play with the custom field defaults and other new features.

Regards,

YouTrack Team

0

Please sign in to leave a comment.