Hello Team,
I used custom field in the automation
{{issue.fields.customfield_ Product}}
but I got the value as empty
Looking for some inputs!!!
Hello @Santhosh Velmurugan
Welcome to the Atlassian community.
When referencing a custom field in a smart value in Automation you use either the field name (i.e. Product) or the custom field ID which is customfield_ followed by a 5 digit number.
If Product is the name of your field try using {{issue.Product}}
Hi @Santhosh Velmurugan -- Welcome to the Atlassian Community!
Adding to Trudy's suggestion:
Smart values are name, spacing, and case-sensitive. When an incorrect one is used, that returns null. To identify the correct smart value (or 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
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.
Hello @Santhosh Velmurugan
What is the actual name of the field in the UI?
Can you provide a screen image showing the field within an Issue.
Note what @Bill Sheboy said:
Smart values are name, spacing, and case-sensitive. When an incorrect one is used, that returns null.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Trudy Claspill Sure, 4 custom fields Product, Notification Type, Customer Type, Expiration Date/Time. Im trying on Produc
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.
Thanks @Trudy Claspill @Bill Sheboy there is some unknown space in the custom field. that's why it is not working.
Now it is working, Thankyou
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to Atlassian Community
Can you try using {{issue.customfieldnamehere}}
Example:
If your Customfield name is Product
{{issue.product}}
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.
Thankyou @pinky_reddy , there is some unknown space in the custom field. that's why it is not working.
Now it is working, Thankyou
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Finally I'm using {{issue.Product}} it is solved the issue.
FYI.. there is a some unknown space in the custom field. that's why it is not working.
After removing the space in the project setting, now I can able to retrieve the data
Thanks Everyone
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Make sure that the custom field ID you're using is correct. The ID customfield_XXXXX should exactly match the custom field’s ID in your Jira instance.
How to Find the Correct Custom Field ID:
Go to Jira Settings > Issues > Custom Fields.
Locate the custom field you want to use (in your case, “Product”).
Hover over the field name or click to edit it. The URL will contain the custom field ID, like customfield_XXXXX.
Ensure you're using the correct ID in the automation rule.
If it is a cascading field then use. {{issue.customfield_××××.name}}
Else use
{{issue.customfield_××××}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Manoj Gangwar
I tried below commands,
but not working
{{issue.customfield_11147.Product}}
{{issue.customfield_11147.name}}
{{issue.fields.customfield_11147}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.