Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve All Forms Answers in automation Smaert Values

Nicolas Favrod-Coune
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 19, 2025

Hi everyone,

I'm using "new" Forms on jira service tickets for conditionnal and dynamic fields. 

After form submission, I would like to make an automation making a synthsesis of all answers, in a paragraphe field. but I'm unable to achive it by myself wiht smart values. 

I can effectively retreive and use smart value {{forms.last}} and {{forms.last.___anyformfield.label or key}} by example. I am also able to use API : 

https://api.atlassian.com/jira/forms/cloud/<mycloudid>/issue/<issue.key>/form/<form.id>/format/answers

And the output is perfect : 

 {
        "label": "Title of the field ",
        "fieldKey": "customvalue_selected_on_form",
        "answer": "Title of Answer",
        "choice": "id_of_answer"
    },
    {
        "label": "...",
        "fieldKey": "...",
        "answer": "...",
        "choice": "..."
    },...

My question therefore : 

  • - is there a way to obtain this result in smart value ? I tries many wasy of entrering the smart value {{forms.last}}, by example : {{forms.last.flatten()}} ; {{forms.last.answers}}, etc.
  • - could someone share an automation retriveing in a loop all answers ? 

Thanks a lof

Nicoéas

 

3 answers

1 vote
Aaron Pavez _ServiceRocket_
Community Champion
December 19, 2025

Hi @Nicolas Favrod-Coune 

With {{forms.last.xxx}} you will capture the data while submitting the form.

After submitting and with the form already in a work item, you need to use this to get the form values:

{{issue.forms.<UUID>}}

https://support.atlassian.com/jira-service-management-cloud/docs/access-smart-values-for-forms-and-form-fields/

Regards

Nicolas Favrod-Coune
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 19, 2025

Thanks @Aaron Pavez _ServiceRocket_ !

But how to retrieve all answers in a simple way when the form is submitted ? 

I can "loop" into : {{forms.last}} or {{issue.forms.<UUID>}} .. it seems it's not a Json or a list....

Thanks

 

Aaron Pavez _ServiceRocket_
Community Champion
December 19, 2025

Let's use while submitting the form you capture the values with this smart value:

Each form has a field key. Use that to get each value

Name(field in the form) = FName (field key)

Last Name = FLastName

When submitting the form, you capture each value in the automation with

{{forms.last.FName}} and {{forms.last.FLastName}}

Then, you edit the field and add the smart value to the field.

Now, after submitting, you need an automation to run after moving to a status or editing a field or any other action.

Then you capture each value {{forms.last.UUIDoffieldhere}} in the automation and edit the field as the last action and paste the smart value in the edit field.

AFAIK, you don't need a loop to get the data; the data is retrieved from each field using the forms.UUID once it's on the work item.

Before that, forms.last.xxx.

Regards

0 votes
Olha Yevdokymova_SaaSJet
Atlassian Partner
December 22, 2025

Hi @Nicolas Favrod-Coune 

With Jira Service Management “new Forms”, {{forms.last}} is great for grabbing specific fields, but Atlassian Automation doesn’t make it easy to iterate over every answer and build a clean “Label: Answer” summary in one paragraph. The API output you shared is perfect — it’s the Automation “loop + format” part that’s painful.

If you switch the intake form to Smart Forms for Jira (developed by my team), you can generate your “synthesis paragraph” without scripting, API calls, or loops:

Option A — Auto-build a summary into one Paragraph field 

Smart Forms has Update existing work item fields or Create new work item mapping. The key trick is:

  • Map multiple form elements to the same Jira Paragraph field

  • Smart Forms will write them as lines like:
    Field Label: Field Answer (each on a new paragraph)

This is built-in behavior for Paragraph mappings when you connect multiple form elements to one destination field.

Setup :

Open the Smart Form → Settings

  1. Enable Update existing issue fields or Create new work item to define behaviour after form submission

  2. Pick your Jira Paragraph field (e.g., “Form Summary”)

  3. Add multiple form elements and map them all to that same Paragraph field

  4. On submit → the Jira field gets a ready-to-read summary (no Automation loop needed)

Option B — If they only need reporting (not writing into a Jira field)

Smart Forms also has a Responses tab (centralized reporting + exports), which often replaces the need to copy answers into a Jira field at all. 

If they must stay on native JSM Forms

Then the most realistic path is still what they started: Send web request → parse JSON response and format it. Atlassian has docs on JSON functions, but it’s definitely more “Automation engineering” than configuration.

0 votes
John Funk
Community Champion
December 19, 2025

Hi Nicolas - Welcome to the Atlassian Community!

The type of field will determine what the syntax of the smart value looks like. For instance a dropdown is different text which is different from dates. 

What type of field are you working with? And I assume you have placed a value in the Field key for the field. What is that value? 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events