I would like to create a variable in a Jira Automation where, based on the values of a smart value, the variable value changes. For example:
1. Create a variable called "laptop_model"
2. If "department" field value == "Engineering" set "laptop_model" to "X"
3. Else, set "laptop_model" to "Y"
4. Use the value of "laptop_model" to populate a field in a "Create Issue" step later in the flow
Is this possible to do? The issue I am having is that the only action I can seem to take for a variable is to create one - I can't edit the value to be used further down in the flow, at least not based on what I've seen. Thanks!