Dear Support,
I tried to read a custom field value on my Jira Service Management Project automation, but it didn't work.
I tried many forms to read. For example:
- I used this smart values formats:
----------> {{issue.[name_of_custom_field]}}
----------> {{issue.customfield_xxxxx}}
----------> {{issue.customfield_xxxxx.value}}
For debug, I created an advanced branching to copy this value to a variable. I called it "debug" and I created a comment inside a test issue. The result is:
Debug is -> the value didn't print in comment.
Please, I need some help here.
Best Regards,
Marcos Lopes
For Cascade Select List field usage, you will need to use the following smart value syntax -
{{issue.<your customfieldname>.value}} - To obtain the parent option value
{{issue.<your customfieldname>.child.value}} - To obtain the child option value
In my example see below -
My custom field is "Country-City"
My automation rule (using log action action for debugging case on reading the field value) -
As you can see if just using {{issue.Country-City}} smart value reference - I can see the return value is -
My Cascade Field values are: {self=https://viasat.atlassian.net/rest/api/2/customFieldOption/10366, value=USA, id=10366, child={self=https://viasat.atlassian.net/rest/api/2/customFieldOption/10368, value=San Diego, id=10368}}
However, if I want to access the actual parent and child option values, then I have to use
{{issue.<your customfieldname>.value}} - To obtain the parent option value
{{issue.<your customfieldname>.child.value}} - To obtain the child option value
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
Hi Marcos,
What type of field is it? And how are you trying to use the field - in a email? In formula? Setting a value?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not trying used it on email. I created a automation to read this value and take a action on it. The type of custom field is Select List (cascading). This custom field concats the first and second choice in a string.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.