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