Hello,
I created a project with 3 custom fields:
I need to be able to create a ticket from an email and extract these 3 custom fields from the email. Using an automation and regular expressions, I managed to fill in the "Immeuble" and "Locataire" fields from the email, as these 2 fields are short text. However, I have a problem with the " Type de demande" field which is a drop-down list:
Could you tell me how to fill in the "Type de demande" field from an e-mail?
Thank you very much.
Hi @Yannick TEMPORAL -- Welcome to the Atlassian Community!
To select the value for the edit, please use advanced edit with JSON for the field: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Single-select-custom-field
For example:
{
"fields" : {
"customfield_12345" : { "value": "smart value expression" }
}
}
To find the custom field id for your field, please use this how-to article:
https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
Kind regards,
Bill
It works: @bill Thank you very much
I just had to create a variable to use in JSON:
{
"fields" : {
"customfield_10036" : { "value": "{{TypeDemande}}" }
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.