Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Fill in ProForma forms programatically

Dear community,


I start by giving some context: I would like to create a script that will create jira tickets combined with a form.

Using the Jira API I was able to create a ticket and also I was also to create and attach a ProForma form to the ticket.

Now, I want to fill in programmatically the form fields before submitting the form (which is possible using the Proforma Rest API).

The problem is that I did not found any Rest api to fill in the form programmatically.

I've seen also that the forms are part of the issue properties; for ex /issuse/xxxxx/properties/proforma.forms.i1.

I have tried to get the json representing the form from properties, to modify it by  injecting in the json the fields values for the from and put it back. It does work from the API point of view but when i refresh the ticket in the browser, the form had disappear.

I don't think this is the way to go because i see that the form have also a hash field.


Any idea to fulfill this is more than welcomed.





1 answer

1 accepted

0 votes
Answer accepted

Thx for your answer.

In the ProForma Rest api there is no api entry to fill in a form, just to create a form, get the answers and submit.

it sounds weird but it's true.


According to this ProForma documentation, you can link a question on a form to a custom field in Jira.

Have you tried that method, then use Jira's REST API to update those custom fields for that issue and hence update the corresponding questions in the form for that issue?

Thx for the reply; indeed I have tried this manually and it works.

Most probably can be done also programmatically.

So the solution is to link the form fields to custom fields at design time of the form, then when the jira ticket is created, this custom fields are filled in and when the form is attached to the ticket automatically the form fields are filled in (because are linked to the custom fields).




No problem.

Now that ProForma has been acquired by Atlassian, the REST APIs will probably merge and that 'double handling' of the fields will might be phased out.

Might be :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

806 views 24 28
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