Custom fields default values

Hi,

I’ve created a custom field with two possible values which could by set
using a drop down. No I want a default value to be set when a ticket is
created by a mail sent in.

I found this: http://requesttracker.wikia.com/wiki/DefaultCustomFieldValue

And tried to put it in a scrip. No I’m unable to find a combination of
conditions to set, so the scrip is triggered when a ticket is created by
an incoming mail.

What do I have to set for:

Condition:
Action:
Template:
Stage:

And where to put the code:

Custom condition:
Custom action preparation code:
Custom action cleanup code:

Any hints?

TIA
MH

MHC SoftWare GmbH
Fichtera 17
96274 Itzgrund/Germany

voice: +49-(0)9533-92006-0
fax: +49-(0)9533-92006-6
e-mail: info@mhcsoftware.de

HR Coburg: B2242
Geschï¿œftsfï¿œhrer: Matthias Henze

Hi,

I’ve created a custom field with two possible values which could by set
using a drop down. No I want a default value to be set when a ticket is
created by a mail sent in.

I found this: http://requesttracker.wikia.com/wiki/DefaultCustomFieldValue

And tried to put it in a scrip. No I’m unable to find a combination of
conditions to set, so the scrip is triggered when a ticket is created by
an incoming mail.

What do I have to set for:

Condition:
Action:
Template:
Stage:

And where to put the code:

Custom condition:
Custom action preparation code:
Custom action cleanup code:

Any hints?

http://requesttracker.wikia.com/wiki/CustomConditionSnippets#On_Create_and_variants

http://requesttracker.wikia.com/wiki/OnWebCorrespond

TIA
MH

MHC SoftWare GmbH
Fichtera 17
96274 Itzgrund/Germany

voice: +49-(0)9533-92006-0
fax: +49-(0)9533-92006-6
e-mail: info@mhcsoftware.de

HR Coburg: B2242
Geschäftsführer: Matthias Henze


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston March 5 & 6, 2012

Best regards, Ruslan.

Thanks, pointed me to the right direction.Am 24.02.2012 13:07, schrieb Ruslan Zakirov:

http://requesttracker.wikia.com/wiki/CustomConditionSnippets#On_Create_and_variants

http://requesttracker.wikia.com/wiki/OnWebCorrespond

TIA
MH

MHC SoftWare GmbH
Fichtera 17
96274 Itzgrund/Germany

voice: +49-(0)9533-92006-0
fax: +49-(0)9533-92006-6
e-mail: info@mhcsoftware.de

HR Coburg: B2242
Geschäftsführer: Matthias Henze


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Boston March 5 & 6, 2012

MHC SoftWare GmbH
Fichtera 17
96274 Itzgrund/Germany

voice: +49-(0)9533-92006-0
fax: +49-(0)9533-92006-6
e-mail: info@mhcsoftware.de

HR Coburg: B2242
Geschäftsführer: Matthias Henze