I crafted a condition to display webPanels
and it looks like so:
{
"condition": "jira_expression",
"params": {
"expression": "issue['addon.unique.key__FieldName'].length > 0"
}
}
which does not work, I tried using /rest/api/2/expression/eval
to evaluate my expression I found out that "issue['addon.unique.key__FieldName']
is null
even though the field accessed as customfield_####
does return a value.
If I send random values instead of 'addon.unique.key__FieldName'
I get a response stating that the value is not valid and a list of valid ones which include 'addon.unique.key__FieldName'
The field is defined like this:
"jiraIssueFields": [
{
"description": {
"value": "Some Value"
},
"type": "string",
"name": {
"value": "Field Name"
},
"key": "FieldName"
}
]
According to available docs this should work and return the same value as customfield_#####
, is this a bug? if so how can I report it?