Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

Jira Automation If Forms answer contains value

Leon Wiezorrek November 19, 2024

Hello,

 

i tryed to find the right solution to my issue in the forum but didn't found something.

I try to check if an anwser of a formular contains a value. This is how i tryed it:

{{if(issue.properties."proforma.forms.i1".state.answers.49.choices ~ 6, "value if true", "value if false")}}

I also tryed to do it with if else condition and writing the value in variables wich worked but reached the 65 Automation Limit this why i just want to include the if statment directly in the description or Comment field.

1 answer

1 accepted

0 votes
Answer accepted
Leon Wiezorrek November 19, 2024

Found a solution

{{#issue.properties."proforma.forms.i1".state.answers.49.choices}}
{{#if(equals("6"),"value if true", "value if false") }}{{.}}{{/}}
{{/}}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events