Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Smart Values Question : Retrieving field labels from Customer Request type

RP September 20, 2022

Hi folks,

For user intake request forms,

  1. I created multiple customer field
  2. I'm changing the labels of those field to get more control on what exact data I'm expecting from user.
  3. This also allows me to re-purpose those fields cross multiple request form with out creating and managing tons of fields. 

 

Unfortunately this field Labels doesn't stays on the "Jira Service Desk Agent View".  Service Desk agent has to go back to "Customer request view" to understand what was ask

 

So far with help of automation and Jira smart values - issues | Cloud automation Cloud | Atlassian Support , I was able capture the all fields value using JIRA smart values {{issue.fields.customfield_####}} and populate that directly in the description field as you can see in the Screenshot .

 

QUESTION --> what's the JIRA Smart value for retrieving the "label' or "Display name" for those Customer field ?

Ideally I want description to look exactly like "Customer request view" having automation pull custom field labels and it's value next to it. 

 

So Far I have used  all this combination but No Luck 

{{issue.Customer Request Type.customfield_####.name}}
{{issue.Customer Request Type.requestype.customfield_####.name}}
{{issue.Customer Request Type.customfield_####}}
{{issue.Customer Request Type.requestype.customfield_####}}
{{issue.Customer Request Type.customfield_####.label}}
{{issue.Customer Request Type.requestype.customfield_####.label}}
{{issue.fields.customfield_####.label}}
{{issue.fields.customfield_####.display name}}
{{issue.fields.customfield_####.id}}
{{issue.fields.customfield_####.description}}
{{issue.fields.customfield_####.name}}
{{issue.customfield_####.label}}
{{issue.customfield_####.name}}
{{issue.customfield_####.id}}
{{issue.customfield_####.description}}
{{issue.customfield_####.name}}

 

 

 



"Customer request view"

JIRA Customer Request View.jpg

 

Jira Service Desk Agent View

JIRA Service desk Agent View.jpg

 

 

1 answer

1 accepted

0 votes
Answer accepted
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 20, 2022

@RP -

It seems it not possible to obtain the field name via the {{issue.[Custom Field].name}} syntax for your usage on populating the Description field at this time.  You will have to hard code the field name in your automation rule setup.  Getting the field value is not an issue.

{{issue.customfield_xxxx.id}} - it works

{{issue.customfield_xxxx.name}} - it doesn't work  Even thought it is documented in Atlassian's documentation.

I would recommend you to submit a formal ask to Atlassian Support (https://support.atlassian.com) to obtain further assistance.

Please keep us inform of your findings.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

RP September 26, 2022

@Joseph Chung Yin  thanks for the input. That's bummer. For now,  I end up hardcoding it in the automation for now. 

 

Thanks

Rashmin

Jamshid V_ April 18, 2024

Hi  @Joseph Chung Yin  / @RP  Is the Smart Value attainable for  {{issue.[Custom Field].name}}? I've dropdown customfield and would like the values to displayname for the selected option via the automation.


RP May 8, 2024

can you clarify bit? not sure I'm understanding your ask. 

Jamshid V_ May 20, 2024

Sure, the Custom Field is like a dropdown menu, I would like the selected values to display.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events