I'm having trouble creating an automation that uses a radio value to conditionally show or hide certain information.
The data comes from a form that eventually creates a new ticket in another project.
However, I made it simple to demonstrate the problem I'm running into.
It returns:
```
Log action 03/06/2025, 14:17:17
Developer: 1 | |
```
However I'm unable to figure out why `{{issue.forms.1fb00898-1f81-44d0-9617-91eecb5db6b3.last.isDeveloper}} returns the 1 (for Yes) and 2 (for No) but neither the radio lookup table or if equals works...
Can someone tell me what I'm doing wrong?
Kind regards
Thank you for the reply:
Using `.label` got me a little further but the check for equals still doesn't work correctly.
```
Support Desk: {{issue.forms.1fb00898-1f81-44d0-9617-91eecb5db6b3.last.isSupportDesk}} | {{issue.forms.1fb00898-1f81-44d0-9617-91eecb5db6b3.last.isSupportDesk.label}} | {{#if(equals(issue.forms.1fb00898-1f81-44d0-9617-91eecb5db6b3.last.isSupportDesk.label, "Yes"))}}Yes, with support desk access.{{/}} | {{equals(issue.forms.1fb00898-1f81-44d0-9617-91eecb5db6b3.last.isSupportDesk.label, "Yes")}}
```
Perhaps, with this information, the use-case is a bit more clear. It feels like I'm missing something obvious...
Thanks again!
What is your goal with your automation, log the values selected?
The set values can be seen in the form linked to the issue.
As I understand, you want to use information from the form to trigger an automation rule to create an issue in another project.
So this is not when the form is submitted, but at a later moment in time, correct?
If you want to do this, you need to format the form option as follows in a rule, see the part Access smart values without using the Forms submitted trigger" in the article you shared initially
Example:
{{issue.forms.1fb00898-1f81-44d0-9617-91eecb5db6b3.isDeveloper}}
based on the field type used in the form you need to find the ID of the option selected. Use API or the browser developer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Whenever you ask for help with an Automation Rule it will help us to help you if you provide:
1. what type of project is this (e.g., company-managed, team-managed, etc.),
2. images that show your complete rule.
3. images showing the details of any relevant actions/conditions/branches.
4. images showing the Audit Log details for the rule execution.
5. Explain where the issue is.
These questions are not for not willing to help, but to have community members understand on how automation works.
But you don't need a lookup table.
See usage here, access-smart-values-for-forms-and-form-fields
Make sure the Field Key is set
Based on the form submission you can use a smart value condition.
{{issue.forms.1fb00898-1f81-44d0-9617-91eecb5db6b3.last.isDeveloper}} equals 1
Then you can use a action in the automation rule
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, replied in the field. My comment is in the main thread. I tried providing all the relevant information as per your request.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.