Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,978
Community Members
 
Community Events
165
Community Groups

How to add form field value to a request type field using smart values

Hi Everyone,
I have a request type that uses the "Summary" field.  Attached to this request type is a form.  Within this form is a field called "Name of new employee".  The "Summary" field on the request type is set hidden and I have added default text to it of: "New Employee Request".

What I want to be able to do is add the value of the "Name of new employee" form field to the "Summary" request type field so that it defaults its value to:

"New Employee Request - {{ name of new employee }}"

For example:
"New Employee Request - Joe Bloggs"

Where "Joe Bloggs" is the value contained within the "Name of new employee" form field on issue submission.

I'm hoping there is a way to do this using smart values or field ID?

Is there any advice anyone could provide on if the above is achievable between request type and the new Forms feature and if so how?

Thanks in advance. 

1 answer

0 votes

@Leigh Elliott -

Welcome to the community.  Try to use the following syntax to see if it resolves your problem.

"New Employee Request - {{ issue.Name of new employee }}"

Here are a few additional links for your references -

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Hi Joseph, thank you for your reply.  Unfortunately this did not work, see results below:

Screenshot 2022-06-03 151757.png

"Full Name of New Employee" is the label of the text Form field.  

I don't think this will work because the "Full Name of New Employee" is not an issue field, it is a form field.

I've noticed that Form fields have a "Field key" at the bottom of their field settings panel, I wonder if this can be set and used to reference the form field?

Looks like its not possible until Atlassian releases the REST API for forms:
https://jira.atlassian.com/browse/JSDCLOUD-10671

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

466 views 3 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you