Forums

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

How to change cascading fields based on the value chosen through Jira Issue Collector?

Bogdan Kozlovskyi
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!
May 31, 2019

We have a JIRA project with submission form that uses cascading select fields. They change based on the option chosen and this is configured with the help of groovy scripts inside JIRA.

Now, when I try to create a Jira issue collector for that project, it allows to add all those custom fields, however completely breaking the logic I configured with groovy. 

How can I use Jira Issue collector and leave the logic of cascading fields unchanged? 

Say I have a field "Will you join the conference?":

 - Yes

 - No

If "No" is selected, then another fields appears: "Please explain the reason".

This logic works greatly if used directly from JIRA. However when used from the issue collector, I only have option to make all the fields available in the form so it looks like below:

---------------------------------

"Will you join the conference?"

 - Yes

- No

Please explain the reason"

---------------------------------

How do I save that "if this than that" logic using the JIRA Issue collector? Thanks!

1 answer

0 votes
Lachlan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 5, 2019

Hi @Bogdan Kozlovskyi 

 

Although not strictly related to Groovy and Jira Issue collector, a (possibly simpler) solution for the problem of changing fields based on the values entered in previous fields can be found in our add-on ProForma. 

There is a Dynamic Fields feature which will dynamically show or hide form sections based on values entered into previous fields.

If you would like to give it a go for free you can evaluate by installing ProForma Lite 

Suggest an answer

Log in or Sign up to answer