None of my if statements appear to be working
Based on a radio group with id 1 = yes, add components
- #if(${entry.tneeded.hadId("1")}){ "component": [{"name":"A"}], #end
- #if(${entry.sneeded.hadId("1")}){ "component": [{"name":"B"}], #end
Based on radio group with id 1 = project A, id 2 = Project B, set the project
- #if(${entry.jiraproject.id == "1"}){ "project":{"key": "PA"}}, #end
- #if(${entry.jiraproject.id == "2"}){ "project":{"key": "PB"}}, #end
Could not prepare JSON: invalid format, not sure what I'm doing wrong.