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.
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).
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...
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