Hi,
I would like to know how to refer the proforma form fields inside SIL Script or groovy scriptrunner?
Can this field be referred in the post functions or validations offered by plugins like JWT, scriptrunner and sil script?
Thanks,
Krithica
Hey @G Krithica
Thanks for reaching out with this. Atlassian's current API's do not currently expose the values of ProForma fields. For services like JWT and Scriptrunner to be able to reference ProForma fields, they would likely need an API which will expose the fields to them.
We can certainly look into providing our own REST API for accessing ProForma fields which could output the results in JSON and be used in custom scripts and programs.
I have added this as a suggestion on our Roadmap. Thanks again for bringing this to us.
Yes I am facing the same issue/request. I want to be able access the fields on a ProForma form. The closes I get is the following smart value:
{{issue.properties."proforma.forms.i1".questions}}
Which gives me a json format dump of the fields but I cannot select any of the individual fields.
I also tried to use regex to see if I could just get the field value but regex does not seem to be working after questions. I get no results if I use the following smart value
{{issue.properties."proforma.forms.i1".questions.match("Name")}}
Here is the regex that I am using:
(?:First Name, v={}, text=)(.*?)(?:})
First Name is the name of the field that I want the value from. This works on a online regex parser but not in Automation for JIRA, which is the automation add-on I am using.
I am using Automation for JIRA and ProForma.
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.