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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,560,349
Community Members
 
Community Events
185
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
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.
Jun 01, 2022

@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

I am able to do this by using the custom field value. 

Offboard -- {{issue.fields.customfield_10070}} {{issue.fields.customfield_10071}}

Where 10070 is First name and 10071 is last name.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events