The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Confiforms: velocity multi-select field

Bartosz Drożdżal
Contributor
February 14, 2024

Hi @Alex Medved _ConfiForms_ 

How can i use velocity with multiselect field?

For example i have 4 fields:
1. Checkbox Grup field:
a) ID - 1, Label - Option1
b) ID - 2, Label - Option2
c) ID - 3, Label - Option3
2. Dropdown Field
3. Text Field
4. Text Field 2

I want use if statement:

If i check in checkbox field only option 1 my description in jira be like:
"description" : "[entry.dropdown.label.escapeJSON]"

If i check in checkbox field only option 1 and option 2 my description in jira be like:
"description" : "[entry.dropdown.label.escapeJSON] and [entry.textfield1.label.escapeJSON]"
I have problem to create if statment for this expample.

Could you help?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Alex Medved _ConfiForms_
Community Champion
February 14, 2024
Clint Young
Community Champion
August 6, 2026

This if statement from the wiki was exactly what I was looking for! --- check if field has id (stored in values) #if(${somefield.hasId("some_id")}) #end

TAGS
AUG Leaders

Atlassian Community Events