Custom fields, global empty value

Hi,

Is it possible to set the global (or at least a default) empty value for a new custom field.

This would be really nice because otherwise the 'New Issue' screen has a whole bunch of fields which are 'Undefined' and the only way to work out what they are seems to be to click them.

I know it's possible to set this empty value for a field on a per project basis but I've got a lot of projects (and regularly add more), this adds extra work that I'd rather not have to do.

Thanks,

Seb

10 comments
Comment actions Permalink

Hello, Sebastian!

In YouTrack 2.* it's not possible, but in YouTrack 3.0 it will be. YouTrack 3.0 will be released very-very soon. Now RC is avalable. You can download it from here: http://confluence.jetbrains.net/display/TSYSPUB/YouTrack+EAP+Builds

0
Comment actions Permalink

Hi Anna,

I'm using 3.0 RC, could you tell me how I can do this please?

Many thanks,

Seb

0
Comment actions Permalink

You can set default empty field text when creating or editing "global" custom field. But this will not affect already attached fields. To modify already attached field you should edit field in every project or you can do it using rest api.

0
Comment actions Permalink

I can't see that box.

On this page: http://myyoutrackdomain/customFieldsConfiguration

This is the process I'm going through:

1. click 'Create custom field'

2. Populate 'Field name' with Due by date

3. Set 'Field type' to date

4. Click 'next'

5. Set 'Auto attach' to true

6. Set 'Visible' to true

7. Click 'Create'

There is no default empty value box on any of these screens, am I missing something?

0
Comment actions Permalink

Yes, this functionarity is not supporteed for fields, that do nut have bundles with values (like enums or versions). But the default empty field text will be "No due date", so there will be no problem with "Undefined". And this text can still be modified in project settings.

0
Comment actions Permalink

The default empty text for this is coming through as undefined for me, any ideas why that might be?

0
Comment actions Permalink

You mean that you are attaching your field to project and it's attached with "Undefined" empty field text?

0
Comment actions Permalink

It both undefined in the Project->Custom Field view and when entering bugs.


It is a particular issue when entering bugs because if you are using a number of custom fields you have several boxes that just say undefined. (which isn't very helpful when deciding what you want to set)

0
Comment actions Permalink

In privious versions of youtrack it was "Undefined", as I said you can change it via REST or in n admin UI of project, but if you annach some custom field in 3.0, empty field text must be "No <field_name>".

0
Comment actions Permalink

Cool, I think I've got it now.

Thanks,

Seb

0

Please sign in to leave a comment.