Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Proforma form fields can be used in other plugins like JWT, scriptrunner and sil script?

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

2 answers

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

287 views 2 5
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