I have a custom field field in Jira that can look like this:
"customfield_10130": [
{
"self": "https://<jira>/jira/rest/api/2/customFieldOption/10251",
"value": "Yes",
"id": "10251"
}
]
When this value is not set, it looks like this:
"customfield_10130": null
I'm trying to compare this custom field when it's null, and cannot ever get any type of information from it. I've used all sorts of smart values - both what I've found in the documentation, and guessed at, they include:
- {{issue.customfield_10130.isEmpty()}}
- {{issue.customfield_10130.length()}}
- {{issue.customfield_10130.size}}
- {{issue.customfield_10130.isNull()}}
- {{issue.customfield_10130 = null}}
None of these provide anything I can use in a comparison. Any ideas how to compare this empty/null custom field?