Forums

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

trying to submit a form by api - how to create the payload?

Rich Lemmermann
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!
August 13, 2026

hi everyone -

i'm trying to get a form filled in through the api. A regular issue is "easy" I just fill in the consecutive numbers and put the text in.

I have another form that has conditional logic and [proforma] fields in it. I can't quite figure out how to create the answer payload.

i queried and go the json of the form definition. There's a questions stanza. I put in the numbers from that and it still complains that it is "UNPROCESSABLE_ENTITY"  

Some of the form definitions have JIra fields, so i created a "fields" stanza in the form submission. It still errors

I'm getting both UNPROCESSABLE_ENTITY and invalid form data in my response. 

I have google'd and even tried AI.  I cannot quite get the nail on the head.

Rather than waste too much more time, i'm hoping that someone can steer me in the right direction(s) on how to create the answer payload

many thanks,
Rich

 

 

1 answer

1 vote
Trudy P Claspill
Community Champion
August 13, 2026

Hello @Rich Lemmermann 

Welcome to the Atlassian community.

There is some basic JSON format for Forms information here:

https://support.atlassian.com/jira/kb/set-jsm-forms-cascading-select-field-values-via-api-in-jira-cloud/

There is another example here.

https://support.atlassian.com/jira/kb/how-to-create-a-customer-request-via-api-with-forms-and-assets-object-fields/

To provide more than generic information we would need the details of the form fields you are trying to fill.

The conditional logic doesn't change the format or content. Provide the "answers" for the fields that would be displayed in the UI based on the logic.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events