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.
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:
"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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like its not possible until Atlassian releases the REST API for forms:
https://jira.atlassian.com/browse/JSDCLOUD-10671
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Jared,
how are you able to find the custom field value? I tried this.
https://<yourinstanceurl>/rest/api/2/issue/<issuekey>?expand=names
While I can find all the custom field smart values of the issue key, not the forms field.
Please let me know. Appreciate your response.
Thanks,
Samiha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.