Forums

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

How to use form checkbox value in automation rule

Kris Dewachter
Community Champion
July 1, 2025

Hi all,

I have the following problem.

I have a JSM form, linked to a request type.

The form contains a "checkbox" field, with 1 option.

Screenshot 2025-07-01 at 15.58.30.png

When the form is submitted, a ticket is created.

I created an automation rule, that creates a new sub-task, and I want to include a special note in the sub-task description, when "Authpoint = Yes"

I can display the value of the checkbox with this smartvalue :

{{issue.forms.e4d301e5-8d86-4b14-8b1a-df2f81b4cfeb.authpoint.label}}

The returned result is [Yes]

Screenshot 2025-07-01 at 16.02.21.png

And now my problem is that I can not get this working in an <if> statement. I tried following:

{{#if(issue.forms.e4d301e5-8d86-4b14-8b1a-df2f81b4cfeb.authpoint.label,"[Yes]")}}

{{#if(issue.forms.e4d301e5-8d86-4b14-8b1a-df2f81b4cfeb.authpoint.label,"Yes")}}

 

Any idea on how to build an <if> statement, based on the value of the checkbox ?

 

Best regards,

Kris

1 answer

0 votes
Marc - Devoteam
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.
July 1, 2025

Hi @Kris Dewachter 

When you make the values visible in the sub-task, by using the smart values, the result visible in the sub-task is now just text.

So you will need to use smart values to find is text values Yes is on the issue.

Or another solution would be to copy the whole from from the parent to the sub-task, then you could use the smart values form options.

Bill Sheboy
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.
July 1, 2025

Hi @Kris Dewachter 

Yes, and...for the suggestions from Marc:

As the value is text, you could use the equals() function inside the conditional expression: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/#equals-string-

And, I have noted in some community posts there can be latency accessing form data with smart values.  If you encounter this, the workaround is to first store that field's value with a Create Variable action, forcing it to fully evaluate / lookup, and the use the variable in the test.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events