Get "Choice" Value from Form using Automation

Aaron Raikes June 17, 2022

Hi Community,

 

I have a form and I know that the form question is 3;

{{issue.properties."proforma.forms.i1".state.answers.3.choices.get(0)}}

The result of this is 1-50

1 = Google

2 = Microsoft

etc.

 

How do I show the text value instead of the ID of the value so that if I use the value and the value is 2 it would show Microsoft not 2.

 

I have seen a question which says; 

issue.properties."proforma.forms.i1".questions.choices

I am not sure how where to add the number 3 for the question number though to make it work, I have tried multiple iterations.

2 answers

0 votes
Andrew K_ September 13, 2022

For radio buttons I was able to figure out the syntax you want to use is: {{issue.properties."proforma.forms.i1".design.questions.3.choices.get(0).label}}

 

I am struggling with determining what the right syntax is for multiple choice checkboxes.

0 votes
Andrew K_ August 27, 2022

Did you ever figure this out? I am searching for the same answer. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events